Skip to main content

Python wrapper for SIXTE

Project description

sixty

A simple python wrapper for SIXTE, a software package for X-ray telescope observation simulations.

This module assumes that a working installation of SIXTE and SIMPUT is available in your system. See the installation instructions in the SIXTE website. I have only trested this on linux, I don't know if it would work on macOS.

Example

import sixty

sixty.run("sixteversion")

Any command available for SIXTE/SIMPUT can be called by the run method. For example, to run the first example presented in the SIXTE website, you can do (assuming you already have the required files):

sixty.run(
  "simputfile",
  RA=40.2,
  Dec=12.8,
  XSPECFile="example_spectrum.xcm",
  LCFile=example_lightcurve.dat,
  MJDREF=50800.0,
  Emin=0.5,
  Emax=10.0,
  srcFlux=2.3e-12,
  Simput="example_source.simput",
)

Project details


Release history Release notifications | RSS feed

This version

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sixty-0.1.tar.gz (3.4 kB view hashes)

Uploaded Source

Built Distribution

sixty-0.1-py3-none-any.whl (3.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page