Skip to main content

PyIRD

License: MIT Version PyPI Version Run pytest DeepWiki status

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.

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)

Source distribution for pyird 1.2.0
File Size Uploaded
pyird-1.2.0.tar.gz 40.6 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for pyird 1.2.0
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

1.2.0 This release

2 release files

1.1.0

2 release files

1.0.0

1 release file

0.3.0

1 release file

0.2.2

2 release files

0.2.1

2 release files

0.2.0

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