Pyspeckit: A Spectroscopic Analysis and Plotting Package
Abstract
pyspeckit is a toolkit and library for spectroscopic analysis in Python. We describe the pyspeckit package and highlight some of its capabilities, such as interactively fitting a model to data, akin to the historically widely-used splot function in IRAF. pyspeckit employs the Levenberg-Marquardt optimization method via the mpfit and lmfit implementations, and important assumptions regarding error estimation are described here. Wrappers to use pymc and emcee as optimizers are provided. A parallelized wrapper to fit lines in spectral cubes is included. As part of the astropy affiliated package ecosystem, pyspeckit is open source and open development, and welcomes input and collaboration from the community.
- Publication:
-
The Astronomical Journal
- Pub Date:
- June 2022
- DOI:
- 10.3847/1538-3881/ac695a
- arXiv:
- arXiv:2205.04987
- Bibcode:
- 2022AJ....163..291G
- Keywords:
-
- Astronomy software;
- Spectroscopy;
- 1855;
- 1558;
- Astrophysics - Instrumentation and Methods for Astrophysics;
- Astrophysics - Astrophysics of Galaxies
- E-Print:
- Version 1.0 of pyspeckit is released alongside this paper