Recognition: unknown
pyTANSPEC v1.0 and HxRGproc: Updated packages to Clean and Reduce TANSPEC data
Pith reviewed 2026-05-07 17:35 UTC · model grok-4.3
The pith
Upgraded pyTANSPEC pipeline now supports data reduction from all TANSPEC slits in both low-resolution and cross-dispersed modes.
A machine-rendered reading of the paper's core claim, the machinery that carries it, and where it could break.
Core claim
The upgraded pyTANSPEC v1.0 enables the reduction of spectra from all available slits for both LR and XD modes, implements a template-matching method for more precise wavelength calibration, and includes a flux calibration step. HxRGproc is updated to work for the H2RG detector of TANSPEC and is set up on the TANSPEC server, ensuring users receive data that are pre-cleaned and non-linearity corrected.
What carries the argument
The pyTANSPEC pipeline, which performs data extraction, template-matching wavelength calibration, and flux calibration across all slits and modes.
If this is right
- Observers can now reduce low-resolution mode spectra and data taken with any of the six slit widths.
- Wavelength solutions gain precision from template matching instead of earlier methods.
- Flux calibration becomes a standard step in the reduction sequence.
- Users obtain pre-cleaned slope images with non-linearity correction directly from the instrument server.
- The full 0.55-2.5 micrometer range is accessible in both resolution modes without prior slit restrictions.
Where Pith is reading between the lines
- Wider slit and mode support could increase the fraction of TANSPEC observations that reach publication.
- Server-side pre-processing may shorten the time from observation to science-ready products.
- Template-based calibration might reduce systematic differences between data sets taken under varying conditions.
Load-bearing premise
The template-matching wavelength calibration and new extraction algorithm deliver better results than the previous version across all slits and modes.
What would settle it
A side-by-side comparison on identical raw frames showing no reduction in wavelength residuals or no improvement in spectral feature recovery when using the new pipeline versus the old one.
read the original abstract
TIFR-ARIES Near-Infrared Spectrometer (TANSPEC) is a spectrograph-cum-imager operating over the wavelength range $0.55 - 2.5~\mu$m. The instrument is mounted on the 3.6-m Devasthal Optical Telescope (3.6-m DOT). It offers two resolution modes: Low Resolution (LR) with $R\sim100-350$ and Cross-Dispersed (XD) via various slits of different widths (0.5", 0.75", 1.0", 1.5", 2.0" and 4.0"). The LR mode provides a resolving power ($R$) of $\sim 100-350$, while the XD mode achieves $R\sim2500$ using the 0.5" slit. The previous version of the data reduction pipeline supported only wavelength-calibrated XD mode spectra and was limited to two slits (S-0.5 and S-1.0). In this work, we present an upgraded version of pyTANSPEC. The upgraded pipeline not only improves the data extraction algorithm but also introduces several new features for users. It now enables the reduction of spectra from all available slits for both LR and XD modes. The upgraded version also implements a template-matching method for more precise wavelength calibration. Additionally, a step for flux calibration is also included. Alongside pyTANSPEC, we upgraded HxRGproc, a Python package for cleaning and generating slope images from Non-Destructive Readout (NDR) frames taken with H1RG and H2RG detectors. The package performs non-linearity correction, flags saturated pixels, removes pink noise, and eliminates cosmic ray events. HxRGproc is updated to work for the H2RG detector of TANSPEC and is set up on the TANSPEC server, ensuring users receive data that are pre-cleaned and non-linearity corrected.
Editorial analysis
A structured set of objections, weighed in public.
Referee Report
Summary. The paper announces the release of pyTANSPEC v1.0, an upgraded Python pipeline for reducing TANSPEC spectrograph data from the 3.6-m DOT, together with updates to the HxRGproc package for cleaning H2RG detector frames. It claims that the new version extends support to all available slits in both low-resolution (LR) and cross-dispersed (XD) modes, implements a template-matching approach for wavelength calibration, adds a flux-calibration step, improves the extraction algorithm, and provides server-side pre-cleaned, non-linearity-corrected data products.
Significance. If the described features operate as stated, the updated packages would constitute a practical advance for TANSPEC users by enabling reduction of the full range of slit configurations and modes and by incorporating flux calibration, thereby increasing the usability of data from the 3.6-m DOT. The server integration for pre-processed frames is a clear operational benefit.
major comments (2)
- [Abstract] Abstract: the claim that the template-matching method delivers 'more precise' wavelength calibration is not accompanied by any quantitative validation (e.g., RMS residuals, line-position accuracy tables, or direct comparison with the prior pipeline).
- [Abstract] Abstract: the statement that the data extraction algorithm has been improved and now supports all slits in LR and XD modes lacks before/after performance metrics, error budgets, or example reduced spectra that would demonstrate the claimed gains.
Simulated Author's Rebuttal
We thank the referee for their constructive comments, which help clarify how to better present the capabilities of the updated pyTANSPEC and HxRGproc packages. We address each major comment below and will revise the manuscript to incorporate the requested quantitative support.
read point-by-point responses
-
Referee: [Abstract] Abstract: the claim that the template-matching method delivers 'more precise' wavelength calibration is not accompanied by any quantitative validation (e.g., RMS residuals, line-position accuracy tables, or direct comparison with the prior pipeline).
Authors: We agree that the abstract's phrasing requires supporting metrics to substantiate the improvement. The current manuscript describes the template-matching approach but does not include explicit RMS residuals or direct comparisons in the abstract. In the revised version we will add a concise quantitative statement to the abstract (e.g., typical RMS improvement) and reference a new or expanded table/figure in the main text that shows line-position accuracy and residuals for the new versus previous pipeline across representative slits and modes. revision: yes
-
Referee: [Abstract] Abstract: the statement that the data extraction algorithm has been improved and now supports all slits in LR and XD modes lacks before/after performance metrics, error budgets, or example reduced spectra that would demonstrate the claimed gains.
Authors: We acknowledge that the abstract would be strengthened by explicit performance indicators. The manuscript text notes the expanded slit support and algorithmic updates, yet the abstract itself provides no metrics or examples. We will revise the abstract to include brief references to before/after extraction metrics, error budgets, and example spectra (with figure numbers) that are either already present or will be added to the main body during revision. revision: yes
Circularity Check
No circularity in software update announcement
full rationale
The paper is a descriptive announcement of upgrades to the pyTANSPEC and HxRGproc packages. It details new capabilities such as support for all slits in LR and XD modes, a template-matching wavelength calibration step, and flux calibration, along with updates to HxRGproc for non-linearity correction and cosmic ray removal. No mathematical derivations, equations, fitted parameters, predictions, or uniqueness theorems are present. There are no self-citations invoked as load-bearing premises, no ansatzes smuggled in, and no renaming of known results. The content is self-contained as a practical software release note with no internal reduction of claims to inputs by construction.
Axiom & Free-Parameter Ledger
Reference graph
Works this paper leans on
-
[1]
W., et al
Blank, R., Anglin, S., Beletic, J. W., et al. 2011, in As- tronomical Society of the Pacific Conference Series, V ol. 437, Solar Polarization 6, 383
2011
-
[2]
C., Gordon, K
Bohlin, R. C., Gordon, K. D., & Tremblay, P. E. 2014, Publications of the Astronomical Society of the Pa- cific, 126, 711
2014
-
[3]
1993, Curve and Surface Fitting with Splines (Oxford University Press)
Dierckx, P. 1993, Curve and Surface Fitting with Splines (Oxford University Press)
1993
-
[4]
Finger, G., Garnett, J., Bezawada, N., et al. 2006, Nu- clear Instruments and Methods in Physics Research Section A: Accelerators, Spectrometers, Detectors and Associated Equipment, 565, 241, proceedings of the International Workshop on Semiconductor Pixel Detectors for Particles and Imaging
2006
-
[5]
P., Ojha, D
Ghosh, S., Ninan, J. P., Ojha, D. K., & Sharma, S. 2022, pyTANSPEC: Python tool for extracting 1D TANSPEC spectra from 2D images, Astrophysics Source Code Library, record ascl:2212.014
2022
-
[6]
2012, in SPIE Proceedings (SPIE)
Mahadevan, S., Ramsey, L., Bender, C., et al. 2012, in SPIE Proceedings (SPIE)
2012
-
[7]
W., Terrien, R., et al
Mahadevan, S., Ramsey, L. W., Terrien, R., et al. 2014, in Ground-based and Airborne Instrumentation for Astronomy V , ed. S. K. Ramsay, I. S. McLean, & H. Takami (SPIE) J. Astrophys. Astr .(0000)000: #### Page 15 of ####
2014
-
[8]
Ninan, J. P. 2021, indiajoe/HxRGproc, original-date: 2017-02-25T00:19:53Z
2021
-
[9]
P., Bender, C
Ninan, J. P., Bender, C. F., Mahadevan, S., et al. 2018, in Society of Photo-Optical Instrumentation Engi- neers (SPIE) Conference Series, V ol. 10709, High
2018
-
[10]
P., Ojha, D
Ninan, J. P., Ojha, D. K., Ghosh, S. K., et al. 2014, TIR- SPEC : TIFR Near Infrared Spectrometer and Imager
2014
-
[11]
Rauscher, B. J. 2015, Publications of the Astronomical Society of the Pacific, 127, 1144
2015
-
[12]
J., Arendt, R
Rauscher, B. J., Arendt, R. G., Fixsen, D. J., et al. 2017, Publications of the Astronomical Society of the Pa- cific, 129, 105003
2017
-
[13]
& Golay, M
Savitzky, A. & Golay, M. J. E. 1964, Analytical Chem- istry, 36, 1627
1964
-
[14]
K., Ghosh, A., et al
Sharma, S., Ojha, D. K., Ghosh, A., et al. 2022, Pub- lications of the Astronomical Society of the Pacific, 134, 085002
2022
-
[15]
2009, Nuclear In- struments and Methods in Physics Research Section A: Accelerators, Spectrometers, Detectors and Asso- ciated Equipment, 610, 615
Smadja, G., Cerna, C., & Ealet, A. 2009, Nuclear In- struments and Methods in Physics Research Section A: Accelerators, Spectrometers, Detectors and Asso- ciated Equipment, 610, 615
2009
discussion (0)
Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.