A Caltech Library Service

SpecPro: An Interactive IDL Program for Viewing and Analyzing Astronomical Spectra

Masters, D. and Capak, P. (2011) SpecPro: An Interactive IDL Program for Viewing and Analyzing Astronomical Spectra. Publications of the Astronomical Society of the Pacific, 123 (903). pp. 638-644. ISSN 0004-6280. doi:10.1086/660023.

[img] PDF - Published Version
See Usage Policy.


Use this Persistent URL to link to this item:


We present an interactive IDL program for viewing and analyzing astronomical spectra in the context of modern imaging surveys. SpecPro’s interactive design lets the user simultaneously view spectroscopic, photometric, and imaging data, allowing for rapid object classification and redshift determination. The spectroscopic redshift can be determined with automated cross-correlation against a variety of spectral templates or by manually overlaying common emission and absorption features on the 1-D and 2-D spectra. Stamp images and the spectral energy distribution (SED) of a source can be displayed with the interface, with the positions of prominent photometric features indicated on the SED plot. Results can easily be saved to file from within the interface. In this article we briefly discuss key interface features and provide an overview of the data formats required by the program.

Item Type:Article
Related URLs:
URLURL TypeDescription
Masters, D.0000-0001-5382-6138
Capak, P.0000-0003-3578-6843
Additional Information:© 2011 The Astronomical Society of the Pacific. Received 2011 February 8; accepted 2011 March 7; published 2011 April 13. The authors would like to thank Yuko Kakazu, Hai Fu, Lin Yan, and Nick Scoville from the California Institute of Astronomy for their helpful comments and suggestions during the development of the software. In addition, we would like to acknowledge and thank Mara Salvato of the Max Planck Institute for Plasma Physics and Francesca Civano of the Harvard-Smithsonian Center for Astronomy for providing useful feedback on early versions of the code. We also thank Bahram Mobasher of the University of California, Riverside, for carefully reading a draft of this article and making suggestions that significantly improved its content. SpecPro makes use of IDL code written and maintained by others. We thank Wayne Landsman at NASA Goddard Space Flight Center for his work maintaining the IDL Astronomy User’s Library. We also thank the authors of code we have used for our implementation of automated cross-correlation, including David Schlegel, Doug Finkbeiner, Michael Cooper, and John Johnson. We thank Craig Markwardt, whose MPFIT least-squares fitting package is integral to the cross-correlation functionality. Finally, we thank an anonymous referee for carefully reading this article and providing very constructive feedback, both in terms of content and with regard to the online distribution of the software. This work was supported in part by a visiting Graduate Student Fellowship at the Caltech Infrared Processing and Analysis Center (IPAC).
Group:COSMOS, Infrared Processing and Analysis Center (IPAC)
Funding AgencyGrant Number
Infrared Processing and Analysis Center (IPAC)UNSPECIFIED
Issue or Number:903
Record Number:CaltechAUTHORS:20150714-113743924
Persistent URL:
Official Citation:SpecPro: An Interactive IDL Program for Viewing and Analyzing Astronomical Spectra D. Masters and P. Capak Publications of the Astronomical Society of the Pacific, Vol. 123, No. 903 (May 2011), pp. 638-644 Published by: The University of Chicago Press on behalf of the Astronomical Society of the Pacific Article DOI: 10.1086/660023 Article Stable URL:
Usage Policy:No commercial reproduction, distribution, display or performance rights in this work are provided.
ID Code:58881
Deposited By: Tony Diaz
Deposited On:15 Jul 2015 00:16
Last Modified:10 Nov 2021 22:11

Repository Staff Only: item control page