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

Uploaded Source

Built Distribution

stingray-2.1-py3-none-any.whl (55.3 MB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for stingray-2.1.tar.gz
Algorithm Hash digest
SHA256 04e432d5299aad27bb13d93f1f0c5ff29ffec422b49677643c9065b58cfbe8ee
MD5 98fb8e03d24d1c97d75b46eccd008362
BLAKE2b-256 1c4dffb7ed91df9c6c83b02941cb71eb8b37c557eb6c2b258228a0849bebd97b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: stingray-2.1-py3-none-any.whl
  • Upload date:
  • Size: 55.3 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 129b22e6fbd7a3ac23cae9310d3a4167b8363e9b4602812d8082e49cc86fe733
MD5 c153efeab8a6730f37724e1c3b87c0c7
BLAKE2b-256 ad371e81d1308a0cddf1b72372e5e8efc1ad29ba91086275954fa15438a7dbd8

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