Instrument Science Report STIS 2025-04

Uncertainties in Low-Count STIS Spectra · 2026

Read Instrument Science Report STIS 2025-04 by Uncertainties in Low-Count STIS Spectra (2026) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2601-18910.txt.

Introduction

A lab report checks how well the count of doubt in a space scope's shots holds up when the shots are near dark. The scope is a tool on a famed space eye that reads light past the hue our eyes can see. Some of its marks are so faint that a shot may hold just none or one count of light in each dot. At that floor, the plain maths of doubt can go wrong.

The report tests the scope's own count path on such near-dark shots. It asks if the doubt the path states is the doubt the shots truly hold. A wrong doubt count can bend all claims made from faint shots. The check serves all who use the scope to read the most faint stars and clouds. It is part of the care that keeps space data sound.

Catalog record

CREATORUncertainties in Low-Count STIS Spectra
YEAR2026
COLLECTIONPAPERS
FORMATTXT
FILE SIZE24 KB
VERSION1.0
LICENSEhttp://creativecommons.org/licenses/by/4.0/
RIGHTSCC BY
SOURCEarXiv

Source: https://arxiv.org/abs/2601-18910

Browse the full library · About the Tower of Babel

Full text

The opening of the work, from the library's hosted text:

Instrument Science Report STIS 2025-04 Uncertainties in Low-Count STIS Spectra Abstract A BSTRACT We evaluate uncertainty calculations in the calstis pipeline for data in the low count regime. Due to the low dark rate and read-noise free nature of MAMA detectors, observations of UV-dim sources can result in exposures with 0 or 1 counts in some pixels. In this regime, the “root-N” approximation widely used to calculate uncertainties breaks down, and one must compute Poisson confidence intervals for more accurate uncertainty calculations. The CalCOS pipeline was updated in 2020 to account for these low-count uncertainties. Here, we assess how STIS observations are currently affected by this phenomenon, describe a new Jupyter notebook exploring the issue, and introduce a new utility, stistools.poisson_err , to manually calculate Poisson confidence intervals for 1D STIS spectra. Additionally, we describe a related software bug in the stistools.inttag utility, which splits TIME-TAG data into sub-exposures. This newly fixed bug serves as a useful case-study for the proper use of Poisson confidence intervals. Contents 1. Introduction For most astronomical measurements, observers use a “root-N” Poisson approximation to calculate the errors or uncertainties in their data. In this approximation, the signal-to-noise is given as the square-root of the total number of events counted by the detector. However, this approximation is only valid in the high-count regime (i.e., N\gg 10 counts). Most astronomical observations using optical and IR detectors like charged-coupled devices (CCDs) have high enough read noise and dark current that even short exposures and exposures of dim targets result in high enough counts that the root-N approximation is appropriate. The Space Telescope Imaging Spectrograph (STIS) instrument uses two Multi-Anode Microchannel (MAMA) detectors to observe FUV and NUV wavelengths. MAMA detectors are event-counting devices that can record individual photons at very high time-resolution (125 \mu s) in TIME-TAG mode. Two of the MAMA detectors’ great advantages are very low dark current and negligible read noise. The dark rate for the STIS NUV-MAMA is around 0.001 count/sec/pix, while the dark rate for the FUV-MAMA is even lower at 0.0002 count/sec/pix. With essentially zero read noise, this means that observations of UV-dim objects (e.g., M-dwarf UV continua) can approach zero counts, even for orbit-long exposures. The COS instrument also uses an NUV-MAMA detector identical to STIS, as well as a windowless cross delay line (XDL) in the FUV with similar noise properties. The COS team implemented a more accurate uncertainty calculation with CalCOS version 3.3.10, accounting for the breakdown of the root-N approximation by using a numerical approximation to Poisson confidence intervals (COS ISR 2021-03). Here, we explore the same problem as it applies to STIS data, as well as our recommended solution to observers using data in this low-count regime. 2. Confidence Intervals Here, we are concerned with calculating our uncertainty on \lambda , the true number of counts, given some measurement of counts N , in the presence of random statistical noise that follows some probability distribution. We can define a confidence interval at a certain confidence level, CL , to quantify our uncertainty in our inference of the population mean \lambda . For example, a 68% confidence level interval would correspond to the range of \lambda , usually a defined by an upper- and lower-limit, \lambda_{u} and \lambda_{l} , respectively, around the measured value of N such that the cumulative probability distribution equals CL . This would mean that if we repeated the measurement many times, 100*CL % of the confidence intervals we constructed would contain the true value of \lambda . This is what we mean by the uncertainty on a measured value in a frequentist statistical interpretation. For a Gaussian distribution, we usually quote a two-sided CL interval, due in part to the distribution’s symmetry about the mean. For example, a two-sided 68% confidence interval corresponds to a \pm 1\sigma range above and below the inferred population value. Often times, a “1- \sigma confidence interval” is used to mean a two-sided 68% confidence interval. One can also quote 2- \sigma confidence level at approximately 95%, 3- \sigma intervals at approximately 99.5%, etc. One can also quote a one-sided confidence interval, providing an upper or lower limit to our estimate of \lambda . This can be useful in the case of asymmetric probability distributions, where the upper and lower limits on \lambda may have different functional forms or approximations, as will be the case for the Poisson distribution. In this case, a CL of 0.8413 would correspond to an upper-limit on \lambda such that the cumulative probability distribution equals 0.8413. This is equivalent to a two-sided “1- \sigma confidence interval” because if we subtract off the lower end’s tail ( 1-CL=0.1587 ), we get 0.6827, the same as the 1- \sigma two-sided confidence interval. The lower limit on \lambda would then correspond to this lower end tail, where the cumulative probability distribution equals 1-CL for a given N . 2.1 Poisson Confidence Intervals The Poisson probability distribution describes the probability distribution of observed counts, N , of some event with an underlying ‘true’ value \lambda . Formally, the Poisson distribution is described as: f(N;\lambda)=\frac{\lambda^{N}e^{-\lambda}}{N!}, (1) which gives the probability of measuring N counts given an expected value of \lambda . The variance of this distribution is \lambda . Some of the important properties of the Poisson distribution are: 1. As N\rightarrow\infty , the Poisson distribution will approach the Gaussian distribution with a mean and variance of N . 2. The Poisson distribution is discrete, as one can only measure integer counts. 3. The Poisson distribution is never negative, i.e., one can never measure a negative number of counts. 4. Because of Points 2-3, the Poisson distribution becomes highly asymmetric at low counts because the “left” side of the distribution cannot be negative and “piles up” near zero. 5. Because of Point 4, the Poisson distribution is not well-approximated by the Gaussian distribution as N\rightarrow 0 . Figure 1 shows how the Poisson and Gaussian distributions vary at \lambda=1 and \lambda=15 . At \lambda=1 , the difference is largest, where the Gaussian distribution allows for negative counts. Figure 1: Poisson versus Gaussian Distribution for \lambda=\mu=1 and 15. The Gaussian distributions are given \sigma consistent with the root-N approximation of the Poisson distribution. As with the Gaussian distribution, we can define confidence intervals for the Poisson distribution given some level of confidence. Unlike the Gaussian distribution though, there is no direct correspondence to the variance, nor a closed formed equation to solve for these confidence levels exactly. Additionally, the asymmetry of the Poisson distribution requires separate definitions for the upper- and lower-limits, \lambda_{u} and \lambda_{l} , respectively, as mentioned in Section 2. Confidence Intervals . Using the cumulative probability distributions, \sum_{x=0}^{N-1}\frac{\lambda_{l}^{x}e^{-\lambda_{l}}}{x!}=CL\hskip 25.0pt(N\neq 0) (2) and \sum_{x=0}^{N}\frac{\lambda_{u}^{x}e^{-\lambda_{u}}}{x!}=1-CL. (3) Because of the nature of Equations 2 and 3 , one cannot simply solve for \lambda_{u} or \lambda_{l} at some given CL , which is one reason why the root-N approximation is so often relied upon. For more robust uncertainties, various numerical approximations have been developed to provide Poisson confidence intervals based on Equations 2 and 3 . Within astronomy, Gehrels 1986 provides a frequentist interpretation of the Poisson confidence intervals, providing several approximations for small numbers of events/counts. One such

Read the complete text