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.
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)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pykosmos-0.3.8.1.tar.gz | 32.2 MB | Without provenance | Details for pykosmos-0.3.8.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pykosmos-0.3.8.1-py3-none-any.whl | Python 3 | none | any | Details for pykosmos-0.3.8.1-py3-none-any.whl |
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
|
Security for pykosmos 0.3.8.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.