Pyird

Latest version: v1.1.0

Safety actively analyzes 723200 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

1.1.0

**Full Changelog**: https://github.com/prvjapan/pyird/compare/v1.0.0...v1.1.0

1.0.0

- Readout noise model reviewed.
- The spectrum extraction steps were reviewed. eg.) the function apext_flatfield is implemented. Now that we implemented all the same reduction steps as the process with IRAF.
- Minor adjustments for the continuum fitting, and the Y/J band reduction.
- Add new class Stream1D for further reduction of 1D spectra (e.g., remove fringe, sky emission mask, etc...), while the functions are still under development.

Status of the pipeline: Results from our evaluations
(These results will be shown in my PhD thesis and Y. Kasagi et al. in prep.)

- The spectral variability between multiple frames of the same object and observed on the same night was examined. I found that they behave more stably with PyIRD than with the conventional pipeline (with IRAF), mainly due to the improvement of the readout noise reduction.
- Notably, readout noise removal for REACH data works better with PyIRD.

0.3.0

This version implements all the functions necessary for spectral extraction of IRD/REACH data.

New features
- Interactive figures for 1D spectrum and 2D detector image (see `examples/python/check_1Dto2D.py` for how to use)
- Add options for the hotpixel mask to be used:
1. Hotpix mask created from DARK frame(s) by sigma clipping (`pyird.image.hotpix.identify_hotpix_sigclip`),
2. Read a prepared mask by using `pyird.io.read_hotpix`.

Minor changes
- Fixed bugs for making order combined spectrum
- Fixed bugs of `clean pattern` -> slightly improves the accuracy of clean pattern

gallery
Example image you can get by running `examples/python/check_1Dto2D.py`.
On a window like in the following figure, you can zoom up on the image and check the location on the detector by pressing any key on the spectrum shown at the top.

![](https://user-images.githubusercontent.com/66584422/202365602-a7934b26-79a5-4c48-8d11-ba7723fd8ace.png)

0.2

0.1.0

Main features
- (Semi-)automatic data reduction without using IRAF, optimized for H band data taken by IRD (and REACH)
- Wavelength calibration by using Thorium-Argon lines
- Extract 1D spectrum, normalize spectrum, and combine orders

0.0.1

version before moving prvjapan

Links

Releases

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.