Skip to main content

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.

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

Metadata

Release files for pykosmos 0.3.8.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pykosmos 0.3.8.1
File Size Uploaded
pykosmos-0.3.8.1.tar.gz 32.2 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for pykosmos 0.3.8.1
File Interpreter ABI Platform
pykosmos-0.3.8.1-py3-none-any.whl Python 3 none any Details

Total release size: 33.5 MB

Release files / pykosmos-0.3.8.1.tar.gz

Download URL pykosmos-0.3.8.1.tar.gz
Size 32.2 MB
Tags Source
SHA-256 checksum
How to use checksums
4d5875ee5b35a159338b9e747b8a4924105fc3f3b7dce2349525c7b602d17fd3
BLAKE2b-256 checksum
How to use checksums
5b3716c18bcd3a73c0561148bc780768fe0d44edd875b93383d57a8149983c31
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.11.5

Release files / pykosmos-0.3.8.1-py3-none-any.whl

Download URL pykosmos-0.3.8.1-py3-none-any.whl
Size 1.3 MB
Tags Python 3
SHA-256 checksum
How to use checksums
542106573efd8b49d94260ee1486a58564b47359988c23b1c40a378354e9fcdf
BLAKE2b-256 checksum
How to use checksums
912ed04f6ee8fcf44c3792a633b6972b8236f60c33b27cec876084ca56bbc620
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.11.5

Release history Release notifications | RSS feed

This release

0.3.8.1 This release

2 release files

0.3.8

2 release files

0.3.7

2 release files

0.3.6

2 release files

0.3.4

2 release files

0.3.2

2 release files

0.3.1

2 release files

0.3

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page