A Classic Nonlinearity Correction Algorithm for Detectors Read Out Up-the-ramp
- 1 December 2025
- journal article
- Published by IOP Publishing in Publications of the Astronomical Society of the Pacific
- Vol. 137 (12) , 125005
Abstract
We derive an algorithm for computing a classic nonlinearity correction—applicable to constant and uniform illumination—in the presence of read noise and photon noise. The algorithm operates simultaneously on many nondestructive ramps at a range of count rates and directly computes the function transforming measured counts into linearized counts. We also compute χ 2 for the corrected ramps, enabling the user to identify the polynomial degree beyond which χ 2 ceases to improve significantly. The computational cost of our algorithm is linear in the number of reads and ramps, reaching ∼100 hr to derive a correction for all 4096 × 4096 pixels of a Hawaii-4 RG detector from 186 illuminated 55-read ramps on a 2023 Macbook Pro laptop (≈10,000 reads per pixel). We identify a potential source of bias in the nonlinearity correction when combining ramps of very different illuminations, together with effective mitigations. We apply our algorithm to a random set of pixels from the Roman Space Telescope’s Wide Field Instrument. We find that a ≥9th order nonlinearity correction is needed, at which point χ 2 is close to its theoretically expected value and beyond which χ 2 improves little with increasing polynomial order. Python software implementing our algorithm is available at https://github.com/RomanSpaceTelescope/SOCReferenceFileCode .Keywords
All Related Versions
Funding Information
- Goddard Space Flight Center (80GSFC19C0054)
This publication has 15 references indexed in Scilit:
- Optimal Fitting and Debiasing for Detectors Read Out Up-the-RampPublications of the Astronomical Society of the Pacific, 2024
- Likelihood-based Jump Detection and Cosmic Ray Rejection for Detectors Read Out Up-the-rampPublications of the Astronomical Society of the Pacific, 2024
- Properties and characteristics of the Nancy Grace Roman Space Telescope H4RG-10 detectorsJournal of Astronomical Telescopes, Instruments, and Systems, 2020
- SciPy 1.0: fundamental algorithms for scientific computing in PythonNature Methods, 2020
- Nonlinearity and pixel shifting effects in HXRG infrared detectorsJournal of Instrumentation, 2017
- Evidence for self-interaction of charge distribution in charge-coupled devicesAstronomy & Astrophysics, 2015
- The NumPy Array: A Structure for Efficient Numerical ComputationComputing in Science & Engineering, 2011
- Matplotlib: A 2D Graphics EnvironmentComputing in Science & Engineering, 2007
- Nonlinearity Corrections and Statistical Uncertainties Associated with Near‐Infrared ArraysPublications of the Astronomical Society of the Pacific, 2004
- A search for solar-like oscillations in the stars of M67 with CCD ensemble photometry on a network of 4 M telescopesThe Astronomical Journal, 1993