NIRCam WFSS Backgrounds

Estimated backgrounds are available for JWST NIRCam wide field slitless spectroscopy (WFSS) observations with each filter, grism, and module. Additionally, master sky images have been measured using flight data to improve background subtraction in the pipeline for the most common wide-band filters for each module and grism.

On this page

The effective field of view in the NIRCam wide field slitless spectroscopy (WFSS) observing mode varies with the cross filter used in combination with each grism. The shape and background, which is dominated by the zodiacal light component), levels are different for different pairings of the NIRCam grisms and cross filter.  Additionally, the background is expected to vary as a function of time and position, but the plots and tables below present nominal values for the background from the JWST ETC for (RA, Dec) = (00:00:00, 00:00:00) and day 180.  An increase in the zodiacal background level of a factor of up to 2 can be expected, as discussed in JWST Background Variability. Note that in some cases, with very blue or very red filters, there are areas in the detector that receive no light, and hence the background drops smoothly to zero. Additionally, master sky images for the most common wideband filters (F277W, F322W2, F356W, and F444W) have now been measured using flight data to provide the community with improved background subtraction in the pipeline.



Estimated maximum dispersed background levels

Table 1 lists the expected background levels (based on current Exposure Time Calculator background spectra and pre-launch grism dispersion relations) for all of the possible combinations of filters and grisms in each module. This is also plotted in the following figures. Module B numbers are expected to be ~20% lower than module A due to the lower throughput of the module B grisms. The background is expected to be slighly higher for some filter choices with Grism C as some extra background light makes it past the coronagraph that is located above the detectors in both modules.


Table 1. Estimated maximum dispersed background level in each filter, grism, and module combination

FilterModule A
GRISM R
(e/s) 
Module A
GRISM C
(e/s)
Module B
GRISM R
(e/s)
Module B
GRISM C
(e/s)
F250M0.070.130.050.10
F277W0.300.370.220.27
F300M0.140.140.100.10
F322W20.730.810.540.60
F335M0.160.160.120.12
F356W0.410.410.310.31
F360M0.190.190.140.14
F410M0.250.250.190.19
F430M0.140.140.110.11
F444W0.780.780.580.58
F460M0.160.160.120.12
F480M0.230.230.170.17



Estimated background along the dispersion axis

Figure 1. Estimated NIRCam WFSS background levels versus position along dispersion axis

Click on the figure for a larger view.

Estimated background levels (e/s) in WFSS observations for each available filter along the dispersion direction for Grism R (left) and Grism C (right).


Simulated background in each filter

The table below shows simulated WFSS background levels (e/s) as a function of position within each long wavelength detector when using the specified filter with each module and grism as labeled.

Table 2. Simulated background levels for each filter

FilterSimulated background levels (e-/s)

F250W

F277W

F300M

F322W2

F335M

 

F356W

 

F360M

 

F410M

F430M

F444W

F460M

F480M



Measured background in the most common wideband filters

Using all public observations taken with either grism (GRISMR or GRISMC), new global-sky images for wide field slitless spectroscopy data from both long-channel modules (A and B) and both grisms (GRISMR and GRISMC) are available for the four most common wideband filters: F277W, F322W2, F356W, and F444W. Additional filters will be considered in the future. T

he method to generate the global-sky images is described in Russell et al. 2025 (in review). Figures 2 and 3 below show the smoothed background images and the root-mean-square (RMS) through the collection of images for the four bandpasses (F277W, F322W2, F356W, and F444W) for both modules and both grisms. It is worth noting that the F277W+GRISMR combination has a considerable corruption from unmasked spectral traces, which is largely a direct consequence of the number of independent exposures used for the analysis and short exposure times.

Additionally, GRISMC shows some considerable structure, particularly for the F277W, F322W2, and F356W, most of which comes from the coronograph masks, which have very low throughput just off the V3-axis of the two modules. Therefore, the silhouette of these masks show as dark bands (hence the vertical stripes). Regions of particularly high flux, especially for F277W and F322W2, are regions where a source can produce a full first-order spectral trace and the additional orders can also appear. Lastly, many of the images show regions of very low flux (dark purple) due to the finite size of the pick-off-mirror.

As a final note: the simulated and measured background images have adopted different normalization conditions. The simulated background images were constructed by passing the background spectrum through the optics of the instrument and scaled by the sensitivity curve using Mirage. Therefore, these images are reported in detector units (in this case e/s) to facilitate direct comparisons with Pandeia.

On the other hand, the measured background images are derived from stacking many observed images, which were individually normalized, resulting in dimensionaless images. Importantly, the background-subtraction step in the calibration pipeline can support both normalization choices, however the derived scaling coefficient will have different units or values to account for the detector gain value in the former case. For example, the scaling coefficient for the simulated background images will have units DN/e, while in the measured images this will be DN/s.


Figure 2. Measured background images for F277W, F322W2, F356W, and F444W for both modules and grisms

Click on the figure for a larger view.

The final background images for F277W, F322W2, F356W, and F444W for both modules and grisms. As described above, the GRISMC background image shows considerably more structure that arises from the coronograph that is just off the +V3 axis (i.e., just above the edge of the light sensitive area). The images all have a logarithmic stretch around unity and the red rectangles indicate the normalizing regions used to compute the 3σ-clipped median of the valid pixels for each WFSS image to minimize the influence of the background structure.


Figure 3. The RMS for the final measured background images

Click on the figure for a larger view.

The RMS for the final background images. The symbols have the same meaning as in Figure 2 above, but using a different logarithmic stretch for each image to highlight the spatial structure.

Comparison to simulated background

Figure 4 shows the reduced-χ2 from using the simulated backgrounds (blue) and the measured backgrounds (orange) for each grism/filter combination to subtract the background from WFSS images. The distributions from the simulated/measured results are effectively indistinguishable for GRISMR, but this is not surprising given that the derived two-dimensional backgrounds are very similar. However, the GRISMC results show marked improvement. This is equivalent to the GRISMR result, but in reverse, where GRISMC images differ noticeably from the simulated backgrounds (this is not unexpected, as the GRISMC disperses along the axis related to the coronagraphs, which significantly complicates the modeling for simulated backgrounds). 


Figure 4. Reduced-χ2 for each grism/filter combination

Click on the figure for a larger view.

Reduced-χ2 after background subtraction for each grism/filter combination using simulated (blue) or measured (orange) backgrounds. The GRISMR distributions are nearly indistinguishable, implying there is little difference between the two derived products. However, the GRISMC distributions show considerable improvement from updated products. The vertical dashed line indicates the nominal value of χ2/ν=1, which is taken as a statistically sound good fit.

The overall accuracy of the background subtraction was validated by considering the 3σ-clipped median and standard deviation of the pixels without any sources or data-quality flags in the background images. In Figure 5, each filter is shown as a different colored symbol (as indicated in the legend), with panels displaying the flux values from the images that include the background (upper panel) and the background-subtracted results (lower panel). The goal of the background subtraction is designed to bring the overall background flux level closer to zero (dashed line), and so the broad agreement is expected; However, the F322W2 data show considerable deviation from zero, at around ~0.1−0.2 DN/s; see the inset in lower panel of Figure 5. This does not seem to be related to the grism and the presence of the coronagraph silhouettes and is being investigated.


Figure 5. Aggregate statistics for images that include the background and sky-subtracted results 

Click on the figure for a larger view.

Aggregate statistics for the images that include the background (top panel) and sky-subtracted results (bottom panel). The plot shows the average and standard deviations of the background-subtracted images for the four filters (as indicated in the legend) for both modules and grisms (GRISMC: circle and GRISMR: square). The vertical dashed line indicates the expected background level of zero. By design, the measured products more closely match the observations by reducing the averages both closer to zero and reducing the overall scatter.


References

Ryan, R., Pirzkal, N., Hilbert, B., 2025, (in review)
The Creation of NIRCam Grism Global-Sky Images


Notable updates
  •  
    Updated page to include information about new WFSS backgrounds

  •  
    Figure captions revised to clarify that these are simulated backgrounds meant to show the grism/filter/module dependent variation in the shape of the background in WFSS observations as well as the imprint caused by the coronagraph when using Grism C


  • Updated estimates of backgrounds to include effect of the pick-off mirror (POM) and coronagraph assembly. 
Originally published