All Projects → StingraySoftware → Stingray

StingraySoftware / Stingray

Licence: mit
Anything can happen in the next half hour (including spectral timing made easy)!

Projects that are alternatives of or similar to Stingray

Simplestockanalysispython
Stock Analysis Tutorial in Python
Stars: ✭ 126 (+34.04%)
Mutual labels:  jupyter-notebook, time-series, timeseries, time-series-analysis
Tsai
Time series Timeseries Deep Learning Pytorch fastai - State-of-the-art Deep Learning with Time Series and Sequences in Pytorch / fastai
Stars: ✭ 407 (+332.98%)
Mutual labels:  jupyter-notebook, time-series, timeseries, time-series-analysis
Deeptime
Deep learning meets molecular dynamics.
Stars: ✭ 123 (+30.85%)
Mutual labels:  jupyter-notebook, data-analysis, time-series
Kaggle Web Traffic
1st place solution
Stars: ✭ 1,641 (+1645.74%)
Mutual labels:  jupyter-notebook, time-series, timeseries
Tsrepr
TSrepr: R package for time series representations
Stars: ✭ 75 (-20.21%)
Mutual labels:  data-analysis, time-series, time-series-analysis
Lightkurve
A friendly package for Kepler & TESS time series analysis in Python.
Stars: ✭ 232 (+146.81%)
Mutual labels:  time-series, timeseries, astronomy
Time Series Forecasting With Python
A use-case focused tutorial for time series forecasting with python
Stars: ✭ 105 (+11.7%)
Mutual labels:  jupyter-notebook, time-series, time-series-analysis
Timesynth
A Multipurpose Library for Synthetic Time Series Generation in Python
Stars: ✭ 170 (+80.85%)
Mutual labels:  jupyter-notebook, time-series, timeseries
timemachines
Predict time-series with one line of code.
Stars: ✭ 342 (+263.83%)
Mutual labels:  timeseries, time-series, time-series-analysis
Deep XF
Package towards building Explainable Forecasting and Nowcasting Models with State-of-the-art Deep Neural Networks and Dynamic Factor Model on Time Series data sets with single line of code. Also, provides utilify facility for time-series signal similarities matching, and removing noise from timeseries signals.
Stars: ✭ 83 (-11.7%)
Mutual labels:  timeseries, time-series, time-series-analysis
tempo
API for manipulating time series on top of Apache Spark: lagged time values, rolling statistics (mean, avg, sum, count, etc), AS OF joins, downsampling, and interpolation
Stars: ✭ 212 (+125.53%)
Mutual labels:  timeseries, time-series, data-analysis
Exoplanet
Fast & scalable MCMC for all your exoplanet needs!
Stars: ✭ 122 (+29.79%)
Mutual labels:  time-series, time-series-analysis, astronomy
Tslearn
A machine learning toolkit dedicated to time-series data
Stars: ✭ 1,910 (+1931.91%)
Mutual labels:  time-series, timeseries, time-series-analysis
Tsmoothie
A python library for time-series smoothing and outlier detection in a vectorized way.
Stars: ✭ 109 (+15.96%)
Mutual labels:  jupyter-notebook, time-series, timeseries
Auto ts
Automatically build ARIMA, SARIMAX, VAR, FB Prophet and XGBoost Models on Time Series data sets with a Single Line of Code. Now updated with Dask to handle millions of rows.
Stars: ✭ 195 (+107.45%)
Mutual labels:  jupyter-notebook, time-series, time-series-analysis
Data Science
Collection of useful data science topics along with code and articles
Stars: ✭ 315 (+235.11%)
Mutual labels:  jupyter-notebook, data-analysis, time-series
Kaggle Web Traffic Time Series Forecasting
Solution to Kaggle - Web Traffic Time Series Forecasting
Stars: ✭ 29 (-69.15%)
Mutual labels:  jupyter-notebook, time-series, timeseries
Neural prophet
NeuralProphet - A simple forecasting model based on Neural Networks in PyTorch
Stars: ✭ 1,125 (+1096.81%)
Mutual labels:  time-series, timeseries
Pycon Ua 2018
Talk at PyCon UA 2018 (Kharkov, Ukraine)
Stars: ✭ 60 (-36.17%)
Mutual labels:  jupyter-notebook, time-series
Pydata Pandas Workshop
Material for my PyData Jupyter & Pandas Workshops, I'm also available for personal in-house trainings on request
Stars: ✭ 65 (-30.85%)
Mutual labels:  jupyter-notebook, data-analysis

======== Stingray

|Build Status Master| |Readthedocs| |Slack| |joss| |Coverage Status Master| |GitHub release|

X-Ray Spectral Timing Made Easy

Stingray is an in-development spectral-timing software package for astrophysical X-ray (and more) 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 is composed of:

  1. a library of time series methods, including power spectra, cross spectra, covariance spectra, lags, and so on;
  2. a set of scripts to load FITS data files from different missions;
  3. a simulator of light curves and event lists, that includes different kinds of variability and more complicated phenomena based on the impulse response of given physical events (e.g. reverberation);
  4. finally, an in-development GUI to ease the learning curve for new users.

There are a number of official software packages for X-ray spectral fitting (Xspec, ISIS, Sherpa, ...). Such a widely used and standard software package does not exist for X-ray timing, that remains for now mostly done with custom software. Stingray aims not only at becoming a standard timing package, but at extending the implementation to 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.

Note to Users

We welcome contributions and we need your help! If you have your own code duplicating any part of the methods implemented in Stingray, please try out Stingray and compare to your own results.

We do welcome any sort of feedback: if something breaks, please report it via the issues_ page. Similarly, please open an issue if any functionality is missing, the API is not intuitive or if you have suggestions for additional functionality that would be useful to have.

If you have code you might want to contribute, we'd love to hear from you, either via a pull request_ or via an issue_.

Citing Stingray

Please cite Huppenkothen et al. (2019) <https://arxiv.org/abs/1901.07681>_ if you find this package useful in your research.

The BibTeX entry for the paper is::

@ARTICLE{2019arXiv190107681H,
       author = {{Huppenkothen}, D. and {Bachetti}, M. and {Stevens}, A.~L. and
         {Migliari}, S. and {Balm}, P. and {Hammad}, O. and {Khan}, U.~M. and
         {Mishra}, H. and {Rashid}, H. and {Sharma}, S.},
        title = "{Stingray: A Modern Python Library For Spectral Timing}",
      journal = {arXiv e-prints},
     keywords = {Astrophysics - Instrumentation and Methods for Astrophysics, Astrophysics - High Energy Astrophysical Phenomena},
         year = "2019",
        month = "Jan",
          eid = {arXiv:1901.07681},
        pages = {arXiv:1901.07681},
archivePrefix = {arXiv},
       eprint = {1901.07681},
 primaryClass = {astro-ph.IM},
       adsurl = {https://ui.adsabs.harvard.edu/abs/2019arXiv190107681H},
      adsnote = {Provided by the SAO/NASA Astrophysics Data System}
}

Contents

  • make a light curve from event data
  • make periodograms in Leahy and r.m.s. normalization
  • average periodograms
  • maximum likelihood fitting of periodograms/parametric models
  • coherence
  • cross spectra, r.m.s. spectra and lags (time vs energy, time vs frequency)
  • covariance spectra
  • bispectra
  • Bayesian quasi-periodic oscillation searches
  • simulate a light curve with a given power spectrum
  • simulate a light curve from another light curve and a 1-d (time) or 2-d (time-energy) impulse response
  • simulate an event list from a given light curve and with a given energy spectrum
  • load event lists from fits files of a few missions (RXTE/PCA, NuSTAR/FPM, XMM-Newton/EPIC)
  • cross correlation functions
  • pulsar searches with Epoch Folding, $Z^2_n$ test

Future Additions

  • bicoherence
  • phase-resolved spectroscopy of quasi-periodic oscillations
  • Fourier-frequency-resolved spectroscopy
  • power colours
  • full HEASARC-compatible mission support
  • binary pulsar searches
  • (...) Feel free to propose! Use the Issues_ page!

Installation

You can find install Stingray via conda, pip or from the source repository itself. More details on how to install Stingray can be found on the Installations page <https://stingray.readthedocs.io/en/latest/stingray/docs/install.html>_.

Documentation

Is hosted at https://stingray.readthedocs.io/

And is generated using Sphinx_. Try::

$ sphinx-build docs docs/_build

Then open ./docs/_build/index.html in the browser of your choice.

.. _Sphinx: http://sphinx-doc.org

Test suite

Stingray uses py.test <https://pytest.org>_ and tox <https://tox.readthedocs.io>_ for testing. To run the tests, try::

$ tox -e test

You may need to install tox first::

$ pip install tox

If you have installed Stingray via pip or conda, the source directory might not be easily accessible. Once installed, you can also run the tests using::

$ python -c 'import stingray; stingray.test()'

or from within a python interpreter::

import stingray stingray.test()

Copyright

All content © 2019 the authors. The code is distributed under the MIT license.

Pull requests are welcome! If you are interested in the further development of this project, please get in touch via the issues <https://github.com/dhuppenkothen/stingray/issues>_!

.. |Build Status Master| image:: https://github.com/StingraySoftware/stingray/workflows/CI%20Tests/badge.svg :target: https://github.com/StingraySoftware/stingray/actions/ .. |Readthedocs| image:: https://img.shields.io/badge/docs-latest-brightgreen.svg?style=flat :target: https://stingray.readthedocs.io/ .. |Slack| image:: http://slack-invite.timelabtechnologies.com/badge.svg :target: http://slack-invite.timelabtechnologies.com .. |Coverage Status Master| image:: https://codecov.io/gh/StingraySoftware/stingray/branch/master/graph/badge.svg?token=FjWeFfhU9F :target: https://codecov.io/gh/StingraySoftware/stingray .. |GitHub release| image:: https://img.shields.io/github/release/StingraySoftware/stingray.svg :target: https://coveralls.io/github/StingraySoftware/stingray?branch=master .. |joss| image:: http://joss.theoj.org/papers/10.21105/joss.01393/status.svg :target: https://doi.org/10.21105/joss.01393 .. _Astropy: https://www.github.com/astropy/astropy .. _Issues: https://www.github.com/stingraysoftware/stingray/issues .. _Issue: https://www.github.com/stingraysoftware/stingray/issues .. _pull request: https://github.com/StingraySoftware/stingray/pulls

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].