An easy to use reduction package for one-dimensional longslit spectroscopy.
The easiest way to install is via pip:
pip install pykosmos
This tool should be able to handle 90% of basic reduction needs from a longslit-style spectrograph.... there are many other smaller or more subtle goals for this project that will be outlined here.
There needs to be many worked examples available.
We need simple to use, standalone reduction tools that can handle most tasks automatically.
The predecessor was PyDIS, a semi-complete standalone reduction suite in Python that has been used for many instruments and publications so far! Since then, many astropy components have advanced to better handle the tasks PyDIS attempted, including specreduce that has inherited methods and workflow structure from PyDIS and PyKOSMOS.
My original blog post on the topic from 2015 still largely stands.
- PyKOSMOS on GitHub
- dtw_identify, automatic wavelength calibration using Dynamic Time Warping, developed in PyKOSMOS
- kosmos-arc, a library of calibrated arc lamp templates for KOSMOS at APO
- KOSMOS instrument page at APO
- PyDIS, the predecessor.