Python pipeline for infrared detectors, and/or IRD/REACH
Project description
PyIRD
PyIRD is a Python-based pipeline for reducing spectroscopic data obtained with IRD and REACH on the Subaru Telescope.
It is designed to process raw images into one-dimensional spectra in a semi-automatic manner.
Unlike traditional methods, it does not rely on IRAF (Tody et al. 1986, 1993), a software traditionally used for astronomical data reduction. This approach simplifies the workflow while maintaining efficiency and accuracy.
Additionally, the pipeline includes an updated method for removing readout noise patterns from raw images, enabling efficient extraction of spectra even for faint targets such as brown dwarfs.
Read the docs or deepwiki for PyIRD.
Install
pip install pyird
or
git clone https://github.com/prvjapan/pyird.git
cd pyird
pip install .
Examples
PyIRD is designed to perform data reduction semi-automatically by following a general workflow for high-dispersion spectroscopic data reduction (e.g., readout noise subtraction, flat fielding, aperture extraction, wavelength calibration, and normalization).
See the following examples how to create 1D spectra from raw data.
- pyird/examples/python/IRD_stream.py -- for IRD data; read the docs for the detailed explanation.
- pyird/examples/python/REACH_stream.py -- for REACH data; basically the same as
IRD_stream.py, but with the variableinstset toREACHinstead.
The raw data for IRD_stream.py can be downloaded from the Zenodo repository.
License
PyIRD is publicly available under the MIT license. For developers, please read CONTRIBUTING.md.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pyird-1.2.0.tar.gz.
File metadata
- Download URL: pyird-1.2.0.tar.gz
- Upload date:
- Size: 40.6 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9dffb3f7916bbe4151bf3b79dd1817a357bcb90352cd17d2366d4c6bc4a6d889
|
|
| MD5 |
d9dcfb241d87bfd6d050119e61bb4f25
|
|
| BLAKE2b-256 |
c958433cd46450b8e11c8cee2ef5723612f797ae4a9acd54d8eee73b1a2e9ba9
|
File details
Details for the file pyird-1.2.0-py3-none-any.whl.
File metadata
- Download URL: pyird-1.2.0-py3-none-any.whl
- Upload date:
- Size: 1.9 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9108e92bad8c413f7d5901bfc76ccdf42c46581c9f5faa17cc81cc109594105d
|
|
| MD5 |
28eb480b44bf6df8f6c386ba028e13ed
|
|
| BLAKE2b-256 |
8ed2d439f43339a487c4ff8a37c9820c11543cef4f109e56e815fb8821021887
|