NIRCam Detector Readout Patterns

JWST NIRCam integrations are defined as groups of detector readouts, some of which are averaged and others skipped, according to MULTIACCUM patterns.

On this page

As charge accumulates during a NIRCam integration, the detectors are read out multiple times, non-destructively, sampling the data while conserving the charge in each pixel. This MULTIACCUM technique enables “up-the-ramp” fitting to determine the count rate from multiple data samples obtained over time. Up-the-ramp fitting facilitates cosmic ray rejection, reduces the effective readout noise (approximately by the square root of the number of samples), and increases the dynamic range of the final image (sampling bright sources before they saturate).

The voltage of each pixel is sampled and converted to a 16-bit (2 Bytes) integer in 10 µs. This data rate could originate 540 GB/day (accounting for overheads) when using all 10 detectors with four simultaneous outputs each. Such a data volume would overfill the onboard solid state recorder, which can store about 57 GB of data for science, downloaded twice daily.

To reduce the data rate and enable longer exposures, integrations must adopt predetermined readout patterns (see Figure 1). Each readout pattern produces a ramp containing up to 20 data points for up-the-ramp fitting. A data point is obtained by averaging as many as eight individual samples, or frames (Nframes), followed by other samples that are discarded (Nskip). The combination of averaged and skipped samples,  Nsamples=Nframes+Nskip, is a group. A readout pattern is thus made by up to 20 groups, or Ngroup=20.

Groups containing a larger number of averaged frames yield lower readout noise but also allow more time for a potential cosmic ray impact, in which case the entire group, and possibly all those who follow, must be discarded. Choosing the best readout pattern thus involves a tradeoff. Initial estimates suggest that averaging more frames generally yields slightly higher signal to noise, for a given group size and Nsamples (Robberto 2009, 2010).

Integrations are terminated by a reset, which clears accumulated charge from the pixels. Multiple integrations can be sequentially executed without interruption to produce an exposure. The exposure time can therefore be regarded as the photon collection duration at each dither position.

Figure 1. Charge accumulation within a pixel in a NIRCam exposure

Charge accumulation within a pixel in a NIRCam exposure

This example shows an exposure consisting of two integration ramps, each with three groups using the SHALLOW4 1 readout pattern. Each groups contains five samples, with four frames averaged and one skipped frame. All group averages are saved along with the first frame of each integration. Note that skipped reads are not executed in the final group of each integration.
1Bold 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.



Available readout patterns

NIRCam has nine readout patterns (see Table 1 and Figure 2). Their names encode their group size (Nsamples) followed by the number of averaged samples (Nframes). There are five available group sizes (Nsamples = 1, 2, 5, 10, and 20) named according to their potential applications (RAPID, BRIGHT, SHALLOW, MEDIUM,and DEEP, respectively). So for example, a RAPID group consists of a single sample whereas a DEEP8 group contains 20 samples (Nsamples = 20), eight of which are averaged (Nframes = 8) and 12 of which are skipped (Nskip = 12). With the exception of RAPID, the name of the readout patterns end with a number signifying Nframes, the number of averaged frames in each group. SHALLOW2 and SHALLOW4 both have groups of 5 samples, but Nframes=2 and Nframes=4 in the two cases.

Each readout pattern may contain up to 10 groups (Ngroups = 10) or up to Ngroups = 20 for the DEEP2 and DEEP8 patterns, in most observing modes. Also, in most cases up to 10 integrations are allowed per exposure, as long as the total exposure time remains within allowed limits. Tighter restrictions are placed on the faster RAPID pattern, which is designed to save all frames: when all 10 full detectors are being read, exposures are limited to Ngroups = 1 or 2.

Each detector readout takes 10.737 s for the full frame (2048 × 2048 pixels using four outputs) or as little as 49.4 ms for the smallest supported science subarray (64 × 64 pixels). Since pixels are read out sequentially, the integration start and end time varies slightly from one pixel to the next. The total integration time, however, is identical for all pixels.

The tables and diagrams below illustrate the nine readout patterns available for NIRCam observations. Tables 2 and 3 give total integration times achievable with multiple groups.


Table 1. Available NIRCam MULTIACCUM readout patterns

Readout patternSamples per group
(Nsamples =
Nframes + Nskip
Frames averaged
in each group
(Nframes)
RAPID11
BRIGHT121
BRIGHT222
SHALLOW252
SHALLOW454
MEDIUM2102
MEDIUM8108
DEEP2202
DEEP8208



Figure 2. Charge accumulation schematic diagrams for all available NIRCam readout patterns

Readout of both NIRCam long wavelength detectors

Diagrams of all readout patterns described in Table 1. Blue frames are co-added and saved as groups; red frames are skipped. Axes are signal vs. time as in Figure 1.


Frame 0

For all readout patterns that involve averaging frames into groups (i.e., all patterns except RAPID or BRIGHT1), the initial frame will always be saved and is termed “frame 0”. It is saved as a separate extension in the data file, and its purpose is to increase the dynamic range of the data. If the first averaged group of an integration is saturated, then the photon count rate cannot be determined; however, frame 0 may not have reached full well and could therefore be used to estimate the count rate (see Figure 3). Similarly, if an integration has been contaminated by a cosmic ray that hits within the first group (and after the first frame), frame 0 may still be trusted even though the group has to be discarded. 

Because the count rate in such cases would be determined by calculating the slope using frame 0 only, it is important that the bias of the detectors is very well characterized. Any uncertainty on the signal level at the very beginning of an integration (the “reset” or “bias” level) due to, for example, global electronic offsets or pixel-dependent kTC (thermal) noise, would have a significant effect on slopes determined using only frame 0 (Rest 2018). If the count rate measured in frame 0 is very high, the associated Poisson noise can dominate the uncertainty of the reset level, making the use of the single frame 0 data point entirely appropriate.

Figure 3. An example SHALLOW4 ramp that saturates in the first averaged group

In this example of a SHALLOW4 integration ramp, the first averaged group is "soft" saturated—the non-linearity in the ramp becomes significant enough that it cannot be reliably corrected. The signal level in subsequent groups reaches full well depth, or "hard" saturation. Saturated groups must be discarded and cannot be used to determine the count rate. Frame 0, saved separately, is not saturated and can be used to determine the count rate. The reset point is offset slightly from a signal level of 0 to indicate the uncertainty on the bias level.


Integration times

Tables 2 and 3 give integration times for groups of reads of the full frame detector (2048 × 2048 pixels) using four outputs.

Integration time = Tframe × [(Nframes + Nskip) × (Ngroups -1) + Nframes] = Tframe × (Ngroups × Nsamples – Nskip)

having defined Nsamples = Nframes + Nskip .

Tframe = 10.73677 s for the full detector that's read out through four outputs. Note that skipped reads at the end of an integration are not executed.

For example, three groups of SHALLOW4 consist of two groups of five reads plus a final group of four reads. The 14 total reads of the full detector take 150.3 s. Each pixel collects photons for this amount of time.


Table 2. Pixel integration times (s) for groups of short readout patterns for the full detector

GROUP PATTERN
RAPIDBRIGHT1BRIGHT2SHALLOW2SHALLOW4
GROUP
PARAMETERS 

Nsamples

12255
Nframes  1 1 2 2 4
Nskip  0 1 0 3 1
Ngroups110.710.721.521.542.9
221.532.242.975.296.6
332.253.764.4128.8150.3
442.975.285.9182.5204.0
553.796.6107.4236.2257.7
664.4118.1128.8289.9311.4
775.2139.6150.3343.6365.0
885.9161.1171.8397.3418.7
996.6182.5193.3450.9472.4
10107.4204.0214.7504.6526.1

 
The RAPID pattern is limited to 2 groups per integration when reading out the full detectors in both modules. This limit increases to 10 groups (shown in gray) when using a single module (both full detectors or subarrays). The limit is always 10 groups for BRIGHT1, SHALLOW2, SHALLOW4, MEDIUM2 and MEDIUM8 patterns listed in Table 3.  The RAPID pattern requires a minimum of 2 groups when reading out the full detectors in both modules. (See allowed NIRCam Imaging Template Parameters.) Numbers of saved and skipped frames (Nframes and Nskip) are shown in blue and red, respectively, as in Figure 1.


Table 3. Pixel integration times (s) for groups of long readout patterns for the full detector

GROUP PATTERN
MEDIUM2MEDIUM8DEEP2DEEP8
GROUP
PARAMETERS 

Nsamples

10102020

Nframes

2 8 2 8
Nskip 8 2 18 12
Ngroups121.585.921.585.9
2128.8193.3236.2300.6
3236.2300.6450.9515.4
4343.6408.0665.7730.1
5450.9515.4880.4944.8
6558.3622.71095.11159.6
7665.7730.11309.91374.3
8773.0837.51524.61589.0
9880.4944.81739.41803.8
10987.81052.21954.12018.5
11

2168.82233.2
12

2383.62448.0
13

2598.32662.7
14

2813.02877.5
15

3027.83092.2
16

3242.53306.9
17

3457.23521.7
18

3672.03736.4
19

3886.73951.1
20

4101.44165.9


"MEDIUM" and "DEEP" patterns are limited to 10 and 20 groups per integration, respectively, in imaging and time-series imaging modes. In other modes, the maximum Ngroups varies for "DEEP" patterns.



References

Rest, A., 2018, JWST-STScI-006203
Frame 0 Analysis for NIRCam Integrations

Robberto, M., 2009, JWST-STScI-001721
NIRCAM Optimal Readout Modes

Robberto, M., 2010, JWST-STScI-002100
NIRCAM Optimal Readout II: General Case (Including Photon Noise)




Published

 

Latest updates
  •  Corrected first equation in Integration times section.
    Nsamples changed to Nframes:
    (Nframes + Nskip) × (Ngroups -1) + Nframes
  •  Added Frame0 reference
  •  
    TFRAME updated from 10.73676 to 10.73677 s;
    Noted APT "Science Time"
  •  
    Updated explanation of exposure times