Skip to main content
Sandbox Physics

A faint spectrum through Webb’s slit

How does Webb separate a faint infrared spectrum from its background? Cooling reduces the telescope’s own infrared emission. Aligned mirrors direct more of the target into the slit. A blank exposure measures the remaining background, and dark, flat and lamp measurements turn the detector reads into a wavelength-calibrated spectrum.

Move a star across the slit, warm the optical surface, and compare the original detector reads with the extracted spectrum.

Interactive modelA faint spectrum through Webb’s slit
Predicted starlight through the slit
Model thermal rate per row and bin

Drag the gold handle to move the star. Capture to update the detector plots.

Why Webb cools the mirror before subtracting the background

BackgroundA warm infrared telescope sends its own photons toward the detector. In a faint spectrum those photons can be more numerous than the target photons. Webb’s sunshield lets the mirror and the near-infrared instruments cool by radiating to space.

Why it mattersA narrower, steadier star image helps send target photons through the slit. The exposures still need a dark, a flat, a wavelength lamp and a blank sky measurement.

Focus question
Why does a warm telescope leave a noisier measurement even after background removal?
One-sentence intuition
A blank exposure estimates the mean background. The individual photon arrivals in the target and blank exposures fluctuate independently.

Core mathematical model

Add phases before squaring

U(θ)=Fhex(kθ)∑jeik(pj−θ⋅rj),k=2πλU(\boldsymbol\theta)=F_{\mathrm{hex}}(k\boldsymbol\theta)\sum_j e^{ik(p_j-\boldsymbol\theta\cdot\mathbf r_j)},\quad k=\frac{2\pi}{\lambda}

The segment centers and reflected path offsets are in metres. F is the field from one hexagon. The receiving slit admits a finite portion of the intensity computed from the sum.

Count thermal photons within a wavelength bin

Bλ,ph(T)=2cλ41exp⁡[hc/(λkBT)]−1B_{\lambda,\mathrm{ph}}(T)=\frac{2c}{\lambda^4}\frac{1}{\exp[hc/(\lambda k_\mathrm B T)]-1}

Temperature is in kelvin and wavelength is in metres. The photon radiance is integrated in wavelength and multiplied by area, solid angle and an assumed conversion factor.

Subtract the blank in the same pixels

Dnet(c)=∑rRtarget(r,c)−Rblank(r,c)g(r,c)D_{\mathrm{net}}(c)=\sum_r\frac{R_{\mathrm{target}}(r,c)-R_{\mathrm{blank}}(r,c)}{g(r,c)}

Rates R come from stored reads in equivalent electrons per second. The flat and dark frames supply the relative gain g. The net may be negative. A separate correction accounts for the finite slit and supplied optical throughput.

Common difficulties

The slit and cold optics address different losses

Typical misconceptionAn ideal background measurement recovers the light that missed the slit.

Better mental modelBackground subtraction estimates a contribution inside the slit. Light blocked by the slit stays unobserved. An aperture correction needs a supported model of how much light passed.

Kept reads share accumulated charge

Typical misconceptionEvery group of reads counts fresh photons from zero.

Better mental modelWithin an exposure, a later read includes earlier charge. Different exposures have independent photon counts in this model.

Run the experiment

  1. 01

    Keep the centred exposure

    Open the detector panel. Switch from the target to the blank without changing the saved observation.

    What to observe: The target frame contains the star trace and the background. The blank estimates background from a separate set of reads.
  2. 02

    Move the star across the slit

    Drag the gold handle and compare the predicted transmitted fraction. Capture a new exposure near the edge.

    What to observe: The slit removes a larger fraction of the star. If too little light enters, aperture correction becomes unstable and the experiment withholds the estimate.
  3. 03

    Compare the warm surface

    Choose Warm optical surface. Compare the blank and target frames with the default record.

    What to observe: Both frames accumulate more thermal photons, even though the average thermal background cancels in their difference. More photon noise remains.
  4. 04

    Follow the detector reads

    Change the read group and export the original records.

    What to observe: Rows and columns retain their ADU codes at each saved time, including the bias. The spectrum comes from finite differences and calibration of the recorded exposures.

Related experiments and articles

What this page links to directly

You are hereA faint spectrum through Webb’s slit

Articles

See every article series on the content map →

How physics instruments measure · Reading path

How physics instruments measure

Articles on this path that use this experiment, followed by the other experiments they suggest.

  1. ArticleHow Webb separates a faint spectrum from infrared background
Something broken, confusing, or missing on this page?Tell us
What kind of feedback?

Sent with this page’s address, its Lab ID, the site language and your device type. Please leave out personal details. Feedback is kept for up to 12 months.Privacy policy