Skip to main content

A spectral data reduction pipeline

Project description

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

Related Links

  • 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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pykosmos-0.3.8.tar.gz (32.2 MB view details)

Uploaded Source

Built Distribution

pykosmos-0.3.8-py3-none-any.whl (1.3 MB view details)

Uploaded Python 3

File details

Details for the file pykosmos-0.3.8.tar.gz.

File metadata

  • Download URL: pykosmos-0.3.8.tar.gz
  • Upload date:
  • Size: 32.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.5

File hashes

Hashes for pykosmos-0.3.8.tar.gz
Algorithm Hash digest
SHA256 47dc86837304c4f8b3173e882b641ce6d54eacb415c480e7adc0d6b21b9b7f0a
MD5 8cc0d11e55e4ccb8b3d53398513e5623
BLAKE2b-256 2ff27ee5e9876a2e37f24771e725ba318b4e8ab778137ec1c934659a162e5a8d

See more details on using hashes here.

File details

Details for the file pykosmos-0.3.8-py3-none-any.whl.

File metadata

  • Download URL: pykosmos-0.3.8-py3-none-any.whl
  • Upload date:
  • Size: 1.3 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.5

File hashes

Hashes for pykosmos-0.3.8-py3-none-any.whl
Algorithm Hash digest
SHA256 b6c98a4ceb7359b53818c775c2fa61b53781bc56350798d7bc9917c88a70898f
MD5 3d450db10de242fb7e7a09d07af719dd
BLAKE2b-256 961253211da02dad7f70edb505c097d7166e380146f66aac76d7f177a9976cb6

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page