Skip to main content

Time Series Methods For Astronomical X-ray Data

Project description

Build Status Master Docs Slack joss doi Coverage Status Master GitHub release

X-Ray Spectral Timing Made Easy

Stingray is a spectral-timing software package for astrophysical X-ray (and other) data. Stingray merges existing efforts for a (spectral-)timing package in Python, and is structured with the best guidelines for modern open-source programming, following the example of Astropy.

It provides:

  • a library of time series methods, including power spectra, cross spectra, covariance spectra, lags, and so on;

  • a set of scripts to load FITS data files from different missions;

  • a light curve and event list simulator, with the ability to simulate different kinds of variability and more complicated phenomena based on the impulse response of given physical events (e.g. reverberation).

There are a number of official software packages for X-ray spectral fitting (Xspec, ISIS, Sherpa, …). However, an equivalent widely-used package does not exist for X-ray timing: to date, that has generally been done with custom software. Stingray aims not only to fill that gap, but also to provide implementations of the most advanced spectral timing techniques available in the literature. The ultimate goal of this project is to provide the community with a package that eases the learning curve for the advanced spectral timing techniques with a correct statistical framework.

More details of current and planned capabilities are available in the Stingray documentation.

Installation and Testing

Stingray can be installed via conda, pip, or directly from the source repository itself. Our documentation provides comprehensive installation instructions.

After installation, it’s a good idea to run the test suite. We use py.test and tox for testing, and, again, our documentation provides step-by-step instructions.

Documentation

Stingray’s documentation can be found at https://docs.stingray.science/.

Getting In Touch, and Getting Involved

We welcome contributions and feedback, and we need your help! The best way to get in touch is via the issues_ page. We’re especially interested in hearing from you:

  • If something breaks;

  • If you spot missing functionality, find the API unintuitive, or have suggestions for future development;

  • If you have your own code implementing any of the methods provided Stingray and it produces different answers.

Even better: if you have code you’d be willing to contribute, please send a pull request or open an issue.

Citing Stingray

If you find this package useful in your research, please provide appropriate acknowledgement and citation. Our documentation gives further guidance, including links to appropriate papers and convenient BibTeX entries.

Project details


Download files

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

Source Distribution

stingray-1.1.2.tar.gz (41.1 MB view details)

Uploaded Source

Built Distribution

stingray-1.1.2-py3-none-any.whl (29.6 MB view details)

Uploaded Python 3

File details

Details for the file stingray-1.1.2.tar.gz.

File metadata

  • Download URL: stingray-1.1.2.tar.gz
  • Upload date:
  • Size: 41.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.8

File hashes

Hashes for stingray-1.1.2.tar.gz
Algorithm Hash digest
SHA256 d8cfefa51f0cb27cf002a94930c1bdf38b27091aca382029a07867ef3ffaeb52
MD5 d2d1110fe6c181f541ccd6d6af887f39
BLAKE2b-256 8dd7283f3f9bb1fbe8c07e593b87cbfb06ae6cd97abc4cc7440612da3b392a35

See more details on using hashes here.

File details

Details for the file stingray-1.1.2-py3-none-any.whl.

File metadata

  • Download URL: stingray-1.1.2-py3-none-any.whl
  • Upload date:
  • Size: 29.6 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.8

File hashes

Hashes for stingray-1.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 9a9efab55881a332a98786a0d2ce26a06a2f5f9292e0cdc5d305727ebf627495
MD5 62e1f275381ff1035126146ba91c0d8d
BLAKE2b-256 199b1ce29e051afea0822953f21570b755f3519cd50671a713e9696df4c5a5c8

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