Metadata-Version: 2.3
Name: pykosmos
Version: 0.3.7.5
Summary: A spectral data reduction pipeline
Project-URL: Homepage, https://github.com/jradavenport/pykosmos
Project-URL: Issues, https://github.com/jradavenport/pykosmos/issues
Author-email: James Davenport <jrad@uw.edu>
License-File: LICENSE
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Requires-Python: >=3.8
Requires-Dist: astropy>=5.3
Requires-Dist: ccdproc>=2.4.1
Requires-Dist: dtw-python>=1.3
Requires-Dist: george>0.4
Requires-Dist: ipympl
Requires-Dist: ipywidgets
Requires-Dist: matplotlib>=3.5
Requires-Dist: numpy>=1.21
Requires-Dist: pandas
Requires-Dist: scipy
Requires-Dist: specreduce>=1.4.0
Requires-Dist: specutils>=1.12.0
Description-Content-Type: text/markdown

[![DOI](https://zenodo.org/badge/199771667.svg)](https://zenodo.org/doi/10.5281/zenodo.10152905)

![PyKOSMOS logo](pykosmos.png)

An easy to use reduction package for one-dimensional longslit spectroscopy. 

## Installation
The easiest way to install is via [pip](https://pypi.org/project/pykosmos/):
````
pip install pykosmos
````


## Goals
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.


## Motivation
We need simple to use, standalone reduction tools that can handle most tasks automatically.

The predecessor was [PyDIS](https://github.com/StellarCartography/pydis), a semi-complete standalone reduction suite in Python that has been used for many instruments and [publications](https://ui.adsabs.harvard.edu/abs/2016zndo.....58753D/abstract) so far! Since then, many [astropy](https://www.astropy.org) components have advanced to better handle many of the tasks PyDIS attempted, but [specreduce](https://github.com/astropy/specreduce) is not complete yet (I share in this blame).

My [original blog post](https://jradavenport.github.io/2015/04/01/spectra.html) on the topic from 2015 still largely stands...

## Links
* [PyKOSMOS](https://github.com/jradavenport/pykosmos/) on GitHub
* [KOSMOS](https://www.apo.nmsu.edu/arc35m/Instruments/KOSMOS/) instrument page at APO
* [PyDIS](https://github.com/StellarCartography/pydis), the predecessor.
* [dtw_identify](https://github.com/jradavenport/dtw_identify/), automatic wavelength calibration using Dynamic Time Warping, developed in PyKOSMOS
* [kosmos-arc](https://github.com/jradavenport/kosmos-arc), a library of calibrated arc lamp templates for KOSMOS at APO
