NIRSpec IRS2 Detector Readout Mode
The JWST NIRSpec IRS2 readout mode improves NIRSpec detector noise performance by interspersing reference pixel reads with science pixels. Two readout patterns are available for the NIRSpec IRS2 readout mode.
A special NIRSpec detector readout option called improved reference sampling and subtraction (IRS2) was devised by the team at the Detector Characterization Lab at NASA Goddard Space Flight Center (Rauscher et al. 2012) in order for NIRSpec to meet its 6 e¯ read noise requirement. This IRS2 readout mode reduces the 1/f correlated noise of all observations acquired in NIRSpec full frame readout mode (no subarrays), and is particularly powerful for long observations of faint targets. The IRS2 readout patterns are called NRSIRS2RAPID* and NRSIRS2, and they are available in the MOS, IFU, and FS observing modes of NIRSpec.
As of October 2018, target acquisition with NIRSpec cannot be done with IRS2 readout patterns because of increased complexity in onboard processing for the IRS2 readout mode. Switching from one of the traditional readout patterns to an IRS2 readout pattern leads to thermal transients in the detector stability. If the switch is made from one of the traditional patterns for target acquisition, to an IRS2 pattern for science, it can affect noise performance in (at most) the first 20 minutes of science in a visit.
* Bold italics style indicates words that are also parameters or buttons in software tools (like the APT and ETC). Similarly, a bold style represents menu items and panels.
What is IRS2?
Moseley et al. (2010) have characterized the noise properties of the NIRSpec detector system and determined that the noise is dominated by 1/frequency ("1/f") components that are highly correlated in time (across outputs and reference pixels) as shown in Figure 1.
In order to significantly reduce the correlation and achieve lower total noise Moseley et al. (2010) have devised a modification of the traditional readout mode that (1) reads more reference pixels more frequently and (2) digitizes the value of the reference output and sends it to the ground for post-processing and optimal subtraction.
Contrary to traditional readouts, where the reference pixels are sampled in only a few rows and columns around the outside edges of the detector array, the IRS2 readout pattern regularly interleaves sampling of reference pixels with the sampling of normal pixels. The detector electronics samples 2 reference pixels twice in-between 8 normal pixels that are read (e.g., [8 normal, 2 × 2 reference, 8 normal], [8n, 2 × 2 ref, 8n] ... repeat.). Figure 2 shows an expanded example graphic of the key steps in the IRS2 readout process.
Because of the benefits of decreased correlated detector noise, use of the NIRSpec IRS2 readout mode for science observations is recommended in most cases. By suppressing 1/f noise, the IRS2 readout scheme leads to a more uniform background over the detector. Changing from a traditional mode like NRS to NRSIRS2 adds some overhead time and can lead to some thermal transients. Nonetheless, switching between these modes from target acquisition to science observations in a Visit is recommended for most programs that would benefit from reduced 1/f noise. During the time it takes to reconfigure the MSA and setup the exposures at the start of science observations, the thermal transients will have settled. However, it is not recommended to switch between the IRS2 readout modes and traditional patterns (or vice versa) within a science observation block. Users should follow the guidelines in the NIRSpec Detector Recommended Strategies to figure out which readout mode is best for their target.
In addition to the increased reference pixel sampling, the IRS2 readout mode also saves in a fifth detector output the value of the reference output which is sampled simultaneously to the clocking of any pixel in the array. In the "traditional" detector readout, the signal in the reference output is subtracted analogically from the signal of each pixel readout simultaneously. This happens before the analog signal is digitized by the SIDECAR ASIC and sent to the solid state recorder (SSR). In IRS2 readout, this fifth channel is saved along with the science data and increased reference pixel reads. Because this fifth channel is saved, the NIRSpec IRS2 readout patterns result in ~20% higher data volume than the traditional readout patterns.
Figure 3 presents the data structure of frames acquired in IRS2 readout mode, showing the science pixels, reference pixels, and reference output data. Due to the additional four reads every 16 regular pixels, in IRS2 mode each detector output is mapped into a 640x × 2048 array instead of the 512 × 2048 array of the traditional mode. Individual frames of IRS2 data are therefore 3200 pixels in x, and 2048 pixels in y, and so, the size of the up-the-ramp MULTIACCUM data acquired in IRS2 readout mode is 3200 pixels × 2048 pixels × Ngroups. The enhanced noise correction provided by the IRS2 readout mode is carried out in the instrument calibration pipeline processing step for reference pixel subtraction.
The IRS2 readout patterns NRSIRS2RAPID and NRSIRS2
Table 1 and Figure 4 show the two readout patterns available in IRS2 readout mode. These patterns are NRSIRS2RAPID and NRSIRS2. NRSIRS2RAPID saves every frame that is read, so Nframes = 1 per group and the group time is 14.58 s. This time is longer than a single group time in the traditional readout pattern NRSRAPID, because of the increased time needed to intersperse the reference pixel reads. To preserve data recording volume, the NRSIRS2 pattern uses five frames per group compared to the four frames per group in the traditional readout pattern NRS. So, Nframes = 5 and the the group time is 72.944 s in NRSIRS2. In practice, using the NRSIRS2RAPID readout pattern with frequent recording of data groups is preferable and encouraged for all science use cases with no data volume limitations (the JWST Astronomer's Proposal Tool (APT) will warn users if data volume is an issue for an observing program).
Table 1. NIRSpec IRS2 readout patterns
|Detector readout type||NIRSpec readout pattern name||Nframes per group||Group time (s)||Measured noise in 1,000 s, including electronics (e–)|
|Detector NRS1||Detector NRS2|
|5.17 †||6.60 †|
† Detector noise was measured during ground tests by investigating ~930s (65 group) NRSIRS2RAPID dark exposures.
Data processing for IRS2 readouts to decrease noise
The IRS2 readout can improve 1/f correlated detector noise performance compared to the traditional readout by allowing more accurate pipeline subtraction of the electronic drifts measured by the increased sampling of reference pixels (see Figure 4). The adopted methodology for processing IRS2 data is described in detail in Rauscher et al. (2012). The primary difference in processing comes in the reference pixel subtraction step of the pipeline data reduction. All reference pixel analysis and subtraction for IRS2 readout is done in Fourier space. The pixels are arranged in a time series, one series for each of the five data outputs. The reference output and reference pixels that track the detector electronic characteristics are filtered in the frequency domain before being subtracted from each of the regular pixels.
Analysis shows that the noise is stationary, and components are independent in the Fourier domain. As a result, a set of dark exposures is used to derive the reference information characteristic to each of the outputs on each detector. This results in a set of IRS2 reference files in Fourier space that are used to anchor the measured reference pixels and output to correct the science data. The IRS2 reference pixel subtraction method reduces the 3200 × 2048 raw data into the 2048 × 2048 processed frames. All subsequent data pipeline steps process the IRS2 and traditional readout data in the same manner.
More information on the IRS2 reference pixel processing can be found in Rauscher et al. (2012).
Rausher, B. J., et al. 2012 SPIE 8543
Reducing the read noise of HAWAII-2RG detector systems with improved reference sampling and subtraction (IRS2)
Rauscher, B. J. et al. 2017, PASP, 129, 105003
Improved Reference Sampling and Subtraction: A Technique for Reducing the Read Noise of Near-infrared Detector Systems”,
Moseley, S. H., et al. 2010 SPIE 7742
Reducing the read noise of H2RG detector arrays: eliminating correlated noise with efficient use of reference signals