Stingray: A Modern Python Library For Spectral Timing

D. Huppenkothen, M. Bachetti, A. L. Stevens, S. Migliari, P. Balm, O. Hammad, U. M. Khan, H. Mishra, H. Rashid, S. Sharma, R. V. Blanco, E. M. Ribeiro

Research output: Contribution to journalArticleAcademicpeer-review

22 Citations (Scopus)
230 Downloads (Pure)

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. Here, 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 API documentation and a set of step-by-step tutorials.
Original languageEnglish
Article number39
Number of pages14
JournalAstrophysical Journal
Volume881
Issue number1
DOIs
Publication statusPublished - 10-Aug-2019

Keywords

  • Python
  • neutron stars
  • time series
  • Jupyter Notebook
  • astronomy
  • black holes
  • X-RAY OSCILLATIONS
  • BLACK-HOLE
  • PULSED EMISSION
  • VARIABILITY PROPERTIES
  • RESOLVED SPECTROSCOPY
  • LIGHT-CURVE
  • GX 339-4
  • REVERBERATION
  • ACCRETION
  • HERCULES

Cite this