English

pyspeckit: A spectroscopic analysis and plotting package

Instrumentation and Methods for Astrophysics 2022-06-01 v1 Astrophysics of Galaxies

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.

Keywords

Cite

@article{arxiv.2205.04987,
  title  = {pyspeckit: A spectroscopic analysis and plotting package},
  author = {Adam Ginsburg and Vlas Sokolov and Miguel de Val-Borro and Erik Rosolowsky and Jaime E. Pineda and Brigitta M. Sipőcz and Jonathan D. Henshaw},
  journal= {arXiv preprint arXiv:2205.04987},
  year   = {2022}
}

Comments

Version 1.0 of pyspeckit is released alongside this paper; https://pyspeckit.readthedocs.io/en/latest/

R2 v1 2026-06-24T11:13:19.569Z