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.1.tar.gz (32.2 MB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: pykosmos-0.3.8.1.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.1.tar.gz
Algorithm Hash digest
SHA256 4d5875ee5b35a159338b9e747b8a4924105fc3f3b7dce2349525c7b602d17fd3
MD5 34ac37e2fab0f3ea22079ba95f738a90
BLAKE2b-256 5b3716c18bcd3a73c0561148bc780768fe0d44edd875b93383d57a8149983c31

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pykosmos-0.3.8.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 542106573efd8b49d94260ee1486a58564b47359988c23b1c40a378354e9fcdf
MD5 e8f751df3e8147484fc9e53520d4ab17
BLAKE2b-256 912ed04f6ee8fcf44c3792a633b6972b8236f60c33b27cec876084ca56bbc620

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