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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file sixty-0.1.tar.gz.

File metadata

  • Download URL: sixty-0.1.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.25.1 requests-toolbelt/0.9.1 urllib3/1.26.2 tqdm/4.56.0 importlib-metadata/4.11.3 keyring/21.8.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.2

File hashes

Hashes for sixty-0.1.tar.gz
Algorithm Hash digest
SHA256 5a3714147614803a51c6005ed0bc9c14151bcf1361de2b56c05b87364f7aef65
MD5 d270c8509302baddef9c7b2978a88084
BLAKE2b-256 ed2343821ba42ac7958b6f23e5b06205306ca8c8db2e17ad3b1679b5ddf1fe64

See more details on using hashes here.

File details

Details for the file sixty-0.1-py3-none-any.whl.

File metadata

  • Download URL: sixty-0.1-py3-none-any.whl
  • Upload date:
  • Size: 3.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.25.1 requests-toolbelt/0.9.1 urllib3/1.26.2 tqdm/4.56.0 importlib-metadata/4.11.3 keyring/21.8.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.2

File hashes

Hashes for sixty-0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8b7a1a2cb96dfcf657eb49caddb4f71d31a9b8745c60a5f4ebeea8d8e71e1705
MD5 f3f00e4fa5c947c5d3625a53968a2b22
BLAKE2b-256 f681bbca7fd85906bcd5b24589b5f45edb5eb63f4bd2147ed5c73caf29d7f2c6

See more details on using hashes here.

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