Skip to content

jradavenport/pykosmos

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

70 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DOI

PyKOSMOS logo

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

Installation

The easiest way to install is via pip:

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, 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 many of the tasks PyDIS attempted, but specreduce is not complete yet (I share in this blame).

My original blog post on the topic from 2015 still largely stands...

Links

  • PyKOSMOS on GitHub
  • KOSMOS instrument page at APO
  • PyDIS, the predecessor.
  • 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