Stingray: A Modern Python Library for Spectral Timing
Abstract
This paper describes the design and implementation of stingray, a library in Python built to perform time series analysis and related tasks on astronomical light curves. Its core functionality comprises a range of Fourier analysis techniques commonly used in spectral-timing analysis, as well as extensions for analyzing pulsar data, simulating data sets, and statistical modeling. Its modular build allows for easy extensions and incorporation of its methods into data analysis workflows and pipelines. We aim for the library to be a platform for the implementation of future spectral-timing techniques. We describe the overall vision and framework, core functionality, extensions, and connections to high-level command-line and graphical interfaces. The code is well tested, with a test coverage of currently 95%, and is accompanied by extensive Application Program Interface (API) documentation and a set of step-by-step tutorials.
- Publication:
-
The Astrophysical Journal
- Pub Date:
- August 2019
- DOI:
- 10.3847/1538-4357/ab258d
- arXiv:
- arXiv:1901.07681
- Bibcode:
- 2019ApJ...881...39H
- Keywords:
-
- methods: data analysis;
- methods: statistical;
- X-rays: binaries;
- X-rays: general;
- Astrophysics - Instrumentation and Methods for Astrophysics;
- Astrophysics - High Energy Astrophysical Phenomena
- E-Print:
- 16 pages, 6 figures