---
title: "How Webb separates a faint spectrum from infrared background"
description: "A cold mirror lowers infrared background. Mirror alignment, slit losses and detector calibration shape the faint spectrum Webb can extract."
canonical_url: "https://sandboxphysics.com/stories/instruments/jwst-infrared-spectroscopy/"
language: "en"
page_type: "story"
alternate_languages:
  zh-CN: "https://sandboxphysics.com/zh/stories/instruments/jwst-infrared-spectroscopy/"
last_modified: "2026-11-23"
---

[How physics instruments measure](https://sandboxphysics.com/stories/instruments/)

# How Webb separates a faint spectrum from infrared background

Webb reduces its own infrared glow by cooling the telescope, then uses detector calibration and background observations to separate the remaining signals. The brightness of a spectral feature depends on more than the target: light entering the slit, pixel response and the background estimate all affect the measurement.

Sandbox Physics · 2026-11-23

## The telescope emits infrared light too

Warm mirrors and instruments radiate in the infrared. Their emission can compete with a faint target. Webb’s sunshield blocks heat from the directions of the Sun, Earth and Moon, and its cold side radiates heat into space. MIRI, which observes longer infrared wavelengths, also needs a dedicated cryocooler.

Cooling reduces part of the background at its source. Infrared emission from the sky, detector dark signals and read noise still contribute. They require different reference measurements.

Sources: [1] [7] [9]

## Making the mirror segments work together

Webb’s primary mirror has eighteen segments. Their positions and shapes must be adjusted so light from the same star forms a sharp image. A wavefront joins points at the same stage of an oscillation; segment misalignment disrupts that shared surface. Stellar images reveal errors that guide mirror adjustments.

Even an aligned telescope spreads a point source into a finite pattern, called the point-spread function. Its shape depends on wavelength, aperture and wavefront. A spectrograph’s slit admits only part of that light.

Sources: [2] [8]

## Selecting and dispersing light with NIRSpec

A fixed slit admits light from a single star into NIRSpec. A grating disperses that light across the detector, leaving wavelength information along one axis and the slit direction along the other. In a separate multi-object mode, thousands of small windows called microshutters let observers select multiple directions in the same exposure.

Aperture edges remove light. An off-centre source changes both transmission and the wavelength assignment. Fixed-slit, multi-object and integral-field observations need their own calibration. NIRCam mainly takes near-infrared images and also helps measure the wavefront on stars. MIRI looks at longer infrared wavelengths with a different detector and calibration.

Sources: [3] [4] [5] [8]

## An exposure contains a sequence of reads

Infrared detector pixels accumulate charge and are read repeatedly during an integration. The rise of the signal with time estimates a count rate. Processing has to handle read noise, dark signal and jumps such as cosmic-ray hits. Reads of the same accumulating charge are related measurements.

Dark exposures measure signal without target illumination. Flats calibrate response across pixels and wavelengths. Spectral references and an instrument model map detector coordinates to wavelength. These references and quality flags help distinguish instrumental structure from a spectral feature.

Sources: [6] [7] [8]

## Background subtraction leaves uncertainty

A blank region or separate exposure supplies a background estimate. After scaling for exposure, area and response, it can be subtracted from the target region. The estimate has uncertainty, and background photon fluctuations in the target exposure remain. A finite measurement can therefore give a negative net signal.

Extraction combines the spatial samples in each wavelength interval. Flux standards and aperture corrections then relate the result to the target spectrum. The light distribution, source centring and reference errors affect that result, so uncertainties and rejected wavelength intervals belong beside the curve.

$$
D_{\rm net}=D_{\rm on}-aD_{\rm off}
$$

$D_{\rm on}$ is the calibrated signal in a target region for one wavelength interval; $D_{\rm off}$ is the background observation. The factor $a$ matches exposure, area and response. Both measurements contribute uncertainty to the difference.

Sources: [9] [8]

## [Extract a spectrum through a fixed slit](https://sandboxphysics.com/labs/jwst-nirspec-fixed-slit/)

Move the star across the slit and compare warm and cold target frames, blank frames and extracted spectra.

This exercise records synthetic detector reads in a narrow spectral cutout. The receiver and instrument response use teaching parameters.

## Sources and further reading

1. [NASA — How Does Webb Stay Cold?](https://science.nasa.gov/mission/webb/science-overview/science-explainers/how-does-webb-stay-cold/)

   Read on 14 November 2026: Sunshield, Open Design and Hot and Cold Sides. Used for shielding, radiative cooling and MIRI cryocooling, not prelaunch status language, simplified L2 orbit statements or temperature records.

2. [NASA — Webb’s Mirrors](https://science.nasa.gov/mission/webb/webbs-mirrors/)

   Read on 14 November 2026: Four Mirrors, actuators and Aligning the Mirrors passages. Used for segmented focusing, stellar-image wavefront sensing and adjustment; no current wavefront precision is quoted.

3. [NASA — Webb’s Scientific Instruments](https://science.nasa.gov/mission/webb/science-overview/science-explainers/webbs-scientific-instruments/)

   Read on 14 November 2026: spectroscopy modes, instrument-dependent wavelength/resolution and NIRSpec descriptions. Used for instrument roles, not an interchangeable NIRCam/NIRSpec/MIRI specification.

4. [STScI — NIRSpec Fixed Slits Spectroscopy](https://jwst-docs.stsci.edu/jwst-near-infrared-spectrograph/nirspec-observing-modes/nirspec-fixed-slits-spectroscopy)

   Read on 23 November 2026: Tables 1 and 2 for the S200A1 slit and G395M/F290LP spectral context. The exercise supplies its own receiver layout, response and readout parameters.

5. [STScI — NIRSpec Micro-Shutter Assembly](https://jwst-docs.stsci.edu/jwst-near-infrared-spectrograph/nirspec-instrumentation/nirspec-micro-shutter-assembly)

   Read on 14 November 2026: microshutters/slitlets, failed-open/closed shutters and leakage. Current failure counts are not used.

6. [STScI — NIRSpec Detector Readout](https://jwst-docs.stsci.edu/jwst-near-infrared-spectrograph/nirspec-instrumentation/nirspec-detectors/nirspec-detector-readout)

   Read on 14 November 2026: detector-readout definitions for nondestructive reads, frames/groups, ramps and reset. Numeric timing specifications are not adopted.

7. [STScI — NIRSpec Detector Performance](https://jwst-docs.stsci.edu/jwst-near-infrared-spectrograph/nirspec-instrumentation/nirspec-detectors/nirspec-detector-performance)

   Read on 14 November 2026: Dark current and Detector read noise passages on noise sources and ramp fitting. No current dark-file values or detector-performance figures are quoted.

8. [STScI — NIRSpec Calibration Concept](https://jwst-docs.stsci.edu/jwst-calibration-status/nirspec-calibration-status/nirspec-calibration-concept)

   Read on 14 November 2026: wavelength calibration, off-centre correction, flats and path loss, including point-source flux versus extended-source brightness. No CRDS-version reproduction is claimed.

9. [STScI — NIRSpec Background Recommended Strategies](https://jwst-docs.stsci.edu/jwst-near-infrared-spectrograph/nirspec-observing-strategies/nirspec-background-recommended-strategies)

   Read on 14 November 2026: Background removal strategies on blank shutters, nods, background spectra and added noise. ETC scaling tables and current pipeline feature claims are not adopted.

[How a vernier reads between millimetres](https://sandboxphysics.com/stories/instruments/length-metrology/) [Air helps hold up the object on a balance](https://sandboxphysics.com/stories/instruments/precision-balance/) [How Cavendish Measured the Attraction Between Spheres](https://sandboxphysics.com/stories/instruments/cavendish-balance/) [Which pressure does a liquid column measure?](https://sandboxphysics.com/stories/instruments/manometer/) [The cup absorbs heat too](https://sandboxphysics.com/stories/instruments/calorimeter/) [Rotational rheometers need both torque and speed](https://sandboxphysics.com/stories/instruments/rotational-rheometer/) [Why the air beyond a pipe changes its resonance](https://sandboxphysics.com/stories/instruments/resonance-tube/) [How a seismometer reads the ground through motion inside its case](https://sandboxphysics.com/stories/instruments/seismometer/) [Why does a meter change the circuit?](https://sandboxphysics.com/stories/instruments/electrical-meters/) [How a null detector reveals a resistance](https://sandboxphysics.com/stories/instruments/resistance-bridges/) [Why a capacitor can behave like an inductor](https://sandboxphysics.com/stories/instruments/lcr-impedance/) [Where does the slow wave on an oscilloscope come from?](https://sandboxphysics.com/stories/instruments/digital-oscilloscope/) [How a lock-in amplifier finds a signal buried in noise](https://sandboxphysics.com/stories/instruments/lock-in-amplifier/) [Where a small peak in a spectrum can come from](https://sandboxphysics.com/stories/instruments/spectrum-analyzer/) [How a network analyzer separates the cable from the device](https://sandboxphysics.com/stories/instruments/vector-network-analyzer/) [When a slower quartz crystal can measure added mass](https://sandboxphysics.com/stories/instruments/quartz-microbalance/) [How an echelle spectrograph gives overlapping colors a second direction](https://sandboxphysics.com/stories/instruments/echelle-spectrograph/) [How total brightness reveals many infrared colors](https://sandboxphysics.com/stories/instruments/ftir-spectrometer/) [Measuring a Solution’s Concentration with Light](https://sandboxphysics.com/stories/instruments/uv-vis-spectrophotometer/) [How an ellipsometer reads thin-film thickness from reflected light](https://sandboxphysics.com/stories/instruments/spectroscopic-ellipsometer/) [How a polarimeter reveals mixed polarization](https://sandboxphysics.com/stories/instruments/mueller-polarimeter/) [How individual photons reveal a fluorescence lifetime](https://sandboxphysics.com/stories/instruments/tcspc-fluorescence-lifetime/) [Brillouin Microscopy Listens to Sound with Light](https://sandboxphysics.com/stories/instruments/brillouin-microscope/) [How a white sphere compares a lamp’s total output](https://sandboxphysics.com/stories/instruments/integrating-sphere-radiometer/) [How powder rings reveal atomic spacing](https://sandboxphysics.com/stories/instruments/powder-xray-diffractometer/) [How Small-Angle X-ray Scattering Reads a Particle Halo](https://sandboxphysics.com/stories/instruments/small-angle-xray-scattering/) [Why X-ray fluorescence depends on sample thickness](https://sandboxphysics.com/stories/instruments/xray-fluorescence-spectrometer/) [Why an AFM makes a bump look wider](https://sandboxphysics.com/stories/instruments/atomic-force-microscope/) [How a small indentation separates hardness from elasticity](https://sandboxphysics.com/stories/instruments/nanoindenter/) [How Differential Scanning Calorimetry Reads a Melting Peak](https://sandboxphysics.com/stories/instruments/differential-scanning-calorimeter/) [How thermogravimetry separates mass loss from the gas around it](https://sandboxphysics.com/stories/instruments/thermogravimetric-analyzer/) [How a diamond anvil cell reads pressure in ruby light](https://sandboxphysics.com/stories/instruments/diamond-anvil-cell/) [How diamond fluorescence reveals a magnetic-field direction](https://sandboxphysics.com/stories/instruments/nv-center-magnetometer/) [Reading a magnetic field in the rhythm of atoms](https://sandboxphysics.com/stories/instruments/optically-pumped-magnetometer/) [Keeping a laser in time with atoms](https://sandboxphysics.com/stories/instruments/optical-lattice-clock/) [Why a Kibble balance needs two experiments](https://sandboxphysics.com/stories/instruments/kibble-balance/) [How a dilution refrigerator keeps carrying heat away](https://sandboxphysics.com/stories/instruments/dilution-refrigerator/) [Why a bigger vacuum pump may barely help the sample](https://sandboxphysics.com/stories/instruments/ultra-high-vacuum-system/) [How microwaves read a superconducting qubit](https://sandboxphysics.com/stories/instruments/superconducting-qubit-readout/) [How current leaves a voltage across a thin sheet](https://sandboxphysics.com/stories/instruments/four-probe-hall/) [How an ion flight becomes a mass spectrum](https://sandboxphysics.com/stories/instruments/time-of-flight-mass-spectrometer/) [How four straight rods select ion mass](https://sandboxphysics.com/stories/instruments/quadrupole-mass-filter/) [How a rapidly reversing field can hold ions](https://sandboxphysics.com/stories/instruments/paul-ion-trap-mass-spectrometer/) [How a cyclotron keeps a proton on the accelerating beat](https://sandboxphysics.com/stories/instruments/cyclotron-synchrocyclotron/) [Why the drift tubes in an RF linac get longer](https://sandboxphysics.com/stories/instruments/radio-frequency-linac/) [The directions hidden inside a small beam spot](https://sandboxphysics.com/stories/instruments/beam-diagnostics/) [How defocusing magnets help a beam stay in a ring](https://sandboxphysics.com/stories/instruments/synchrotron-storage-ring/) [Why a collider cannot keep every collision](https://sandboxphysics.com/stories/instruments/collider-trigger-daq/) [Getting synchrotron light onto a sample](https://sandboxphysics.com/stories/instruments/synchrotron-beamline/) [How a free-electron laser gathers electrons into a brighter beam](https://sandboxphysics.com/stories/instruments/xray-free-electron-laser/) [Following energy exchange with neutron flight times](https://sandboxphysics.com/stories/instruments/pulsed-neutron-time-of-flight/) [How a tokamak holds heat and measures where it goes](https://sandboxphysics.com/stories/instruments/tokamak-iter/) [Why stellarator coils bend in three dimensions](https://sandboxphysics.com/stories/instruments/w7x-stellarator/) [How NIF turns a laser pulse into an implosion](https://sandboxphysics.com/stories/instruments/nif-inertial-fusion/) [How ELI brings an intense pulse to a target](https://sandboxphysics.com/stories/instruments/eli-ultra-intense-laser/) [Why a xenon detector needs liquid and gas](https://sandboxphysics.com/stories/instruments/xenonnt-dual-phase-tpc/) [How LIGO measures a gravitational wave with mirrors that move](https://sandboxphysics.com/stories/instruments/ligo-feedback-calibration/) [How delayed laser records let LISA measure gravitational waves](https://sandboxphysics.com/stories/instruments/lisa-delayed-links/) [How FAST brings faint radio signals into focus](https://sandboxphysics.com/stories/instruments/fast-radio-telescope/) [How ALMA keeps separated antennas in step](https://sandboxphysics.com/stories/instruments/alma-interferometer/) [How SKA-Low steers a beam without moving its antennas](https://sandboxphysics.com/stories/instruments/ska-beamforming/) [How EHT connects telescopes with clocks and hard drives](https://sandboxphysics.com/stories/instruments/eht-vlbi/) [How LHAASO finds an incoming direction from ground particles](https://sandboxphysics.com/stories/instruments/lhaaso-air-showers/)

## Keep reading

How physics instruments measure · Reading path

### How physics instruments measure

1. [Article **How a vernier reads between millimetres**](https://sandboxphysics.com/stories/instruments/length-metrology/)
2. [Article **Air helps hold up the object on a balance**](https://sandboxphysics.com/stories/instruments/precision-balance/)
3. [Article **How Cavendish Measured the Attraction Between Spheres**](https://sandboxphysics.com/stories/instruments/cavendish-balance/)
4. [Article **Which pressure does a liquid column measure?**](https://sandboxphysics.com/stories/instruments/manometer/)
5. [Article **The cup absorbs heat too**](https://sandboxphysics.com/stories/instruments/calorimeter/)
6. [Article **Rotational rheometers need both torque and speed**](https://sandboxphysics.com/stories/instruments/rotational-rheometer/)
7. [Article **Why the air beyond a pipe changes its resonance**](https://sandboxphysics.com/stories/instruments/resonance-tube/)
8. [Article **How a seismometer reads the ground through motion inside its case**](https://sandboxphysics.com/stories/instruments/seismometer/)
9. [Article **Why does a meter change the circuit?**](https://sandboxphysics.com/stories/instruments/electrical-meters/)
10. [Article **How a null detector reveals a resistance**](https://sandboxphysics.com/stories/instruments/resistance-bridges/)
11. [Article **Why a capacitor can behave like an inductor**](https://sandboxphysics.com/stories/instruments/lcr-impedance/)
12. [Article **Where does the slow wave on an oscilloscope come from?**](https://sandboxphysics.com/stories/instruments/digital-oscilloscope/)
13. [Article **How a lock-in amplifier finds a signal buried in noise**](https://sandboxphysics.com/stories/instruments/lock-in-amplifier/)
14. [Article **Where a small peak in a spectrum can come from**](https://sandboxphysics.com/stories/instruments/spectrum-analyzer/)
15. [Article **How a network analyzer separates the cable from the device**](https://sandboxphysics.com/stories/instruments/vector-network-analyzer/)
16. [Article **When a slower quartz crystal can measure added mass**](https://sandboxphysics.com/stories/instruments/quartz-microbalance/)
17. [Article **How an echelle spectrograph gives overlapping colors a second direction**](https://sandboxphysics.com/stories/instruments/echelle-spectrograph/)
18. [Article **How total brightness reveals many infrared colors**](https://sandboxphysics.com/stories/instruments/ftir-spectrometer/)
19. [Article **Measuring a Solution’s Concentration with Light**](https://sandboxphysics.com/stories/instruments/uv-vis-spectrophotometer/)
20. [Article **How an ellipsometer reads thin-film thickness from reflected light**](https://sandboxphysics.com/stories/instruments/spectroscopic-ellipsometer/)
21. [Article **How a polarimeter reveals mixed polarization**](https://sandboxphysics.com/stories/instruments/mueller-polarimeter/)
22. [Article **How individual photons reveal a fluorescence lifetime**](https://sandboxphysics.com/stories/instruments/tcspc-fluorescence-lifetime/)
23. [Article **Brillouin Microscopy Listens to Sound with Light**](https://sandboxphysics.com/stories/instruments/brillouin-microscope/)
24. [Article **How a white sphere compares a lamp’s total output**](https://sandboxphysics.com/stories/instruments/integrating-sphere-radiometer/)
25. [Article **How powder rings reveal atomic spacing**](https://sandboxphysics.com/stories/instruments/powder-xray-diffractometer/)
26. [Article **How Small-Angle X-ray Scattering Reads a Particle Halo**](https://sandboxphysics.com/stories/instruments/small-angle-xray-scattering/)
27. [Article **Why X-ray fluorescence depends on sample thickness**](https://sandboxphysics.com/stories/instruments/xray-fluorescence-spectrometer/)
28. [Article **Why an AFM makes a bump look wider**](https://sandboxphysics.com/stories/instruments/atomic-force-microscope/)
29. [Article **How a small indentation separates hardness from elasticity**](https://sandboxphysics.com/stories/instruments/nanoindenter/)
30. [Article **How Differential Scanning Calorimetry Reads a Melting Peak**](https://sandboxphysics.com/stories/instruments/differential-scanning-calorimeter/)
31. [Article **How thermogravimetry separates mass loss from the gas around it**](https://sandboxphysics.com/stories/instruments/thermogravimetric-analyzer/)
32. [Article **How a diamond anvil cell reads pressure in ruby light**](https://sandboxphysics.com/stories/instruments/diamond-anvil-cell/)
33. [Article **How diamond fluorescence reveals a magnetic-field direction**](https://sandboxphysics.com/stories/instruments/nv-center-magnetometer/)
34. [Article **Reading a magnetic field in the rhythm of atoms**](https://sandboxphysics.com/stories/instruments/optically-pumped-magnetometer/)
35. [Article **Keeping a laser in time with atoms**](https://sandboxphysics.com/stories/instruments/optical-lattice-clock/)
36. [Article **Why a Kibble balance needs two experiments**](https://sandboxphysics.com/stories/instruments/kibble-balance/)
37. [Article **How a dilution refrigerator keeps carrying heat away**](https://sandboxphysics.com/stories/instruments/dilution-refrigerator/)
38. [Article **Why a bigger vacuum pump may barely help the sample**](https://sandboxphysics.com/stories/instruments/ultra-high-vacuum-system/)
39. [Article **How microwaves read a superconducting qubit**](https://sandboxphysics.com/stories/instruments/superconducting-qubit-readout/)
40. [Article **How current leaves a voltage across a thin sheet**](https://sandboxphysics.com/stories/instruments/four-probe-hall/)
41. [Article **How an ion flight becomes a mass spectrum**](https://sandboxphysics.com/stories/instruments/time-of-flight-mass-spectrometer/)
42. [Article **How four straight rods select ion mass**](https://sandboxphysics.com/stories/instruments/quadrupole-mass-filter/)
43. [Article **How a rapidly reversing field can hold ions**](https://sandboxphysics.com/stories/instruments/paul-ion-trap-mass-spectrometer/)
44. [Article **How a cyclotron keeps a proton on the accelerating beat**](https://sandboxphysics.com/stories/instruments/cyclotron-synchrocyclotron/)
45. [Article **Why the drift tubes in an RF linac get longer**](https://sandboxphysics.com/stories/instruments/radio-frequency-linac/)
46. [Article **The directions hidden inside a small beam spot**](https://sandboxphysics.com/stories/instruments/beam-diagnostics/)
47. [Article **How defocusing magnets help a beam stay in a ring**](https://sandboxphysics.com/stories/instruments/synchrotron-storage-ring/)
48. [Article **Why a collider cannot keep every collision**](https://sandboxphysics.com/stories/instruments/collider-trigger-daq/)
49. [Article **Getting synchrotron light onto a sample**](https://sandboxphysics.com/stories/instruments/synchrotron-beamline/)
50. [Article **How a free-electron laser gathers electrons into a brighter beam**](https://sandboxphysics.com/stories/instruments/xray-free-electron-laser/)
51. [Article **Following energy exchange with neutron flight times**](https://sandboxphysics.com/stories/instruments/pulsed-neutron-time-of-flight/)
52. [Article **How a tokamak holds heat and measures where it goes**](https://sandboxphysics.com/stories/instruments/tokamak-iter/)
53. [Article **Why stellarator coils bend in three dimensions**](https://sandboxphysics.com/stories/instruments/w7x-stellarator/)
54. [Article **How NIF turns a laser pulse into an implosion**](https://sandboxphysics.com/stories/instruments/nif-inertial-fusion/)
55. [Article **How ELI brings an intense pulse to a target**](https://sandboxphysics.com/stories/instruments/eli-ultra-intense-laser/)
56. [Article **Why a xenon detector needs liquid and gas**](https://sandboxphysics.com/stories/instruments/xenonnt-dual-phase-tpc/)
57. [Article **How LIGO measures a gravitational wave with mirrors that move**](https://sandboxphysics.com/stories/instruments/ligo-feedback-calibration/)
58. [Article **How delayed laser records let LISA measure gravitational waves**](https://sandboxphysics.com/stories/instruments/lisa-delayed-links/)
59. [Article **How FAST brings faint radio signals into focus**](https://sandboxphysics.com/stories/instruments/fast-radio-telescope/)
60. [Article **How ALMA keeps separated antennas in step**](https://sandboxphysics.com/stories/instruments/alma-interferometer/)
61. [Article **How SKA-Low steers a beam without moving its antennas**](https://sandboxphysics.com/stories/instruments/ska-beamforming/)
62. [Article **How EHT connects telescopes with clocks and hard drives**](https://sandboxphysics.com/stories/instruments/eht-vlbi/)
63. [You are here **How Webb separates a faint spectrum from infrared background**](https://sandboxphysics.com/stories/instruments/jwst-infrared-spectroscopy/)
64. [Article **How LHAASO finds an incoming direction from ground particles**](https://sandboxphysics.com/stories/instruments/lhaaso-air-showers/)
