Published June 2022 | Version Accepted Version + Published
Journal Article Open

Pyspeckit: A Spectroscopic Analysis and Plotting Package

  • 1. ROR icon University of Florida
  • 2. ROR icon Max Planck Institute for Extraterrestrial Physics
  • 3. ROR icon Planetary Science Institute
  • 4. ROR icon University of Alberta
  • 5. ROR icon Max Planck Institute for Astronomy

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.

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.

Attached Files

Published - Ginsburg_2022_AJ_163_291.pdf

Accepted Version - 2205.04987.pdf

Files

2205.04987.pdf

Files (1.5 MB)

Name Size Download all
md5:de8009d191e145fad76b9b0bb23f64f7
702.8 kB Preview Download
md5:c71a7f5ac73aabd9916ddb131bf50f2e
841.8 kB Preview Download

Additional details

Identifiers

Eprint ID
115278
Resolver ID
CaltechAUTHORS:20220628-397746300

Related works

Funding

Max Planck Society
NSF
AST-2008101

Dates

Created
2022-06-28
Created from EPrint's datestamp field
Updated
2022-06-28
Created from EPrint's last_modified field

Caltech Custom Metadata

Caltech groups
Infrared Processing and Analysis Center (IPAC)