A Caltech Library Service

Pyspeckit: A Spectroscopic Analysis and Plotting Package

Ginsburg, Adam and Sokolov, Vlas and de Val-Borro, Miguel and Rosolowsky, Erik and Pineda, Jaime E. and Sipőcz, Brigitta M. and Henshaw, Jonathan D. (2022) Pyspeckit: A Spectroscopic Analysis and Plotting Package. Astronomical Journal, 163 (6). Art. No. 291. ISSN 0004-6256. doi:10.3847/1538-3881/ac695a.

[img] PDF - Published Version
Creative Commons Attribution.

[img] PDF - Accepted Version
Creative Commons Attribution.


Use this Persistent URL to link to this item:


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.

Item Type:Article
Related URLs:
URLURL TypeDescription Paper
Ginsburg, Adam0000-0001-6431-9633
Sokolov, Vlas0000-0002-5327-4289
de Val-Borro, Miguel0000-0002-0455-9384
Rosolowsky, Erik0000-0002-5204-2259
Pineda, Jaime E.0000-0002-3972-1978
Sipőcz, Brigitta M.0000-0002-3713-6337
Henshaw, Jonathan D.0000-0001-9656-7682
Additional Information:© 2022. The American Astronomical Society. Original content from this work may be used under the terms of the Creative Commons Attribution 4.0 licence. Any further distribution of this work must maintain attribution to the author(s) and the title of the work, journal citation and DOI. Received 2022 January 20; accepted 2022 February 22; published 2022 May 25. J.E.P. acknowledges the support by the Max Planck Society. A.G. acknowledges support from the NSF under grant AST 2008101.
Group:Infrared Processing and Analysis Center (IPAC)
Funding AgencyGrant Number
Max Planck SocietyUNSPECIFIED
Subject Keywords:Astronomy software; Spectroscopy
Issue or Number:6
Classification Code:Unified Astronomy Thesaurus concepts: Astronomy software (1855); Spectroscopy (1558)
Record Number:CaltechAUTHORS:20220628-397746300
Persistent URL:
Official Citation:Adam Ginsburg et al 2022 AJ 163 291
Usage Policy:No commercial reproduction, distribution, display or performance rights in this work are provided.
ID Code:115278
Deposited By: Tony Diaz
Deposited On:28 Jun 2022 19:17
Last Modified:28 Jun 2022 19:17

Repository Staff Only: item control page