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-2.0.0.tar.gz (44.9 MB view details)

Uploaded Source

Built Distribution

stingray-2.0.0-py3-none-any.whl (30.6 MB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for stingray-2.0.0.tar.gz
Algorithm Hash digest
SHA256 5fb8cb04335a521d8fae1af46aebab427411b1bcfd635e8efbeb836284d9b156
MD5 b19b1899134e6d7b8bc48fb05191d655
BLAKE2b-256 bbb95deee1e66c5b79aca94f96224cab4b1ffcc31daa0f7f1cabe7117a872199

See more details on using hashes here.

File details

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

File metadata

  • Download URL: stingray-2.0.0-py3-none-any.whl
  • Upload date:
  • Size: 30.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-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3756f7a2a9b757c3a5c33e42078eb95da0f15f5f3825fd453745d56183f0ba5c
MD5 bcd32857bfcc7bb242c3a6155ec4fce7
BLAKE2b-256 dfc3be2887105a03bc8b854706b1b920f6a479990494c1749f0253155b255970

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