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.
Release files for pyird 1.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pyird-1.2.0.tar.gz | 40.6 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pyird-1.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 42.4 MB
Release files / pyird-1.2.0.tar.gz
| Download URL | pyird-1.2.0.tar.gz |
|---|---|
| Size | 40.6 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9dffb3f7916bbe4151bf3b79dd1817a357bcb90352cd17d2366d4c6bc4a6d889
|
|
BLAKE2b-256 checksum How to use checksums |
c958433cd46450b8e11c8cee2ef5723612f797ae4a9acd54d8eee73b1a2e9ba9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.0
|
Release files / pyird-1.2.0-py3-none-any.whl
| Download URL | pyird-1.2.0-py3-none-any.whl |
|---|---|
| Size | 1.9 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9108e92bad8c413f7d5901bfc76ccdf42c46581c9f5faa17cc81cc109594105d
|
|
BLAKE2b-256 checksum How to use checksums |
8ed2d439f43339a487c4ff8a37c9820c11543cef4f109e56e815fb8821021887
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.0
|