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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: stingray-1.0b0.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/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2

File hashes

Hashes for stingray-1.0b0.tar.gz
Algorithm Hash digest
SHA256 6851c7fd687feb1b5bad25d6183e659f186d317f8910cdd92eda823e6464fd82
MD5 89abcaaa55bd47bc1f324919bb897d6a
BLAKE2b-256 c37a8bd54ca85f9db478ee2c5c4d85e6802f4aa945a9a1de37f8fd6771f646d5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: stingray-1.0b0-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/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2

File hashes

Hashes for stingray-1.0b0-py3-none-any.whl
Algorithm Hash digest
SHA256 f0ba704c3a10f77d59d4d7f86d18e644b923b0c86ecd9b8c038f3bf435cda01c
MD5 77612717a7cd6ebe21dca5a7a160e89f
BLAKE2b-256 932ef5c270bb14a9cd9525833f624cf60e3a266ac508a4a0cc576c3eccc3ccda

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