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

Uploaded Source

Built Distribution

stingray-1.0-py3-none-any.whl (29.5 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: stingray-1.0.tar.gz
  • Upload date:
  • Size: 28.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.8.2 keyring/23.4.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.7

File hashes

Hashes for stingray-1.0.tar.gz
Algorithm Hash digest
SHA256 3cba76b63498e7bf75291f6ef03cb356ef34b5035c4b25c6c47a61f0a45aee6b
MD5 cd585f4994f92c80c7d966ba33729718
BLAKE2b-256 07cd7deabcf734d0119594fd99b5b0a741b99eac35882177d71a23cf22d60ff7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: stingray-1.0-py3-none-any.whl
  • Upload date:
  • Size: 29.5 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.8.2 keyring/23.4.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.7

File hashes

Hashes for stingray-1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9d274be0fd6e856bae38f2cf18073c9bb9f92978072baf1877668084dd0e9fe3
MD5 4b74af8d5a03c47e138f1819db8dd5ec
BLAKE2b-256 64aaa8dfc2e0e5513f7118634a93bcd98bb7a2f7f3c1c8de76052bc2165e4caa

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