Skip to main content
Sandbox Physics

Starlight through an atmosphere

Exoplanet Transmission Spectra, Clouds and Starspots

Does a spectral bump prove that a planet has water? Water leaves several absorption bands at related wavelengths. Their joint shape and strength can identify it more reliably than one bump. Cloud height, atmospheric temperature and cool regions on the star change the same spectrum, so the interpretation must compare those possibilities together.

Drag the cloud top or warm the atmospheric ring. Follow grazing starlight into a water absorption spectrum, then change the unocculted stellar surface.

Interactive modelExoplanet Transmission Spectra, Clouds and Starspots
Scale height at the reference radiusH0=828 kmH_0=828\,\mathrm{km}
Depth range across retained spectral binsΔD=2.27×103 ppm\Delta D=2.27\times10^3\,\mathrm{ppm}
Cloud radius relative to the reference radiusRc/R0=1.02R_c/R_0=1.02
Largest unocculted-region correctionδD=0 ppm\delta D=0\,\mathrm{ppm}

From grazing rays to a transit spectrum

Gold: planetary prediction. Coral: the same atmosphere behind the chosen stellar surface. White points: frozen WASP-39 b NIRISS measurements with reported errors.

Photon-weighted depth in the observed bins

Water opacity is evaluated before the nonlinear transmitted fraction and annular area. The supplied bin halfwidths define an approximate top-hat response. This is a fitted-radius spectrum comparison, with the original light-curve limb-darkening treatment upstream.

How each grazing ray becomes transparent

Four actual native wavelengths from the same gas column. Height starts at the ten-bar radius. The gold marker locates the opaque cloud; paths below it are hidden by the cloud.
Real-data conditional inference and source files

The public exercise fits all 74 frozen bins with normalized priors, compares gray-cloud and stellar-contamination models, and saves posterior predictions and residuals. The interactive controls are synthetic physical conditions, not an automatic retrieval.

Rerun the frozen NIRISS analysis

Physics tutorial

Why an atmosphere changes a planet’s apparent size

BackgroundDuring transit, most blocked light hits the opaque body. A small extra fraction skims through the surrounding gas. The gas absorbs different wavelengths by different amounts.

Why it mattersThe same water molecule leaves several bands. Their relative heights also depend on how much gas the ray crosses and where an opaque cloud interrupts the path.

Start with the essentials

Focus question
Can a higher cloud hide water without removing the water?
One-sentence intuition
A cloud hides the deepest grazing paths. Molecular bands that already become opaque higher up can remain visible after weaker features have flattened.

Core mathematical model

Scale height near the reference radius

H0=kBTmˉg0H_0=\frac{k_B T}{\bar m g_0}

Temperature raises the vertical distance over which pressure changes appreciably; heavier molecules and stronger gravity reduce it. The complete calculation lets gravity decrease with radius.

A grazing ray loses photons along its whole path

τλ(b)=∫rayn(r)xH2Oσλ[T,P(r)] ds\tau_\lambda(b)=\int_{\mathrm{ray}}n(r)x_{\mathrm{H_2O}}\sigma_\lambda[T,P(r)]\,ds

The dimensionless optical depth adds number density times molecular fraction times cross section over path length. The same value sets the light markers and the absorbed annulus.

Partially transparent rings add an effective area

Aλ=πRc2+2π∫Rcrtop(1−e−τλ)b dbA_\lambda=\pi R_c^2+2\pi\int_{R_c}^{r_{\mathrm{top}}}(1-e^{-\tau_\lambda})b\,db

The opaque cloud contributes a disk. Each surrounding annulus contributes its area multiplied by the fraction of light it removes.

Common difficulties

An absorption band can raise a transit spectrum

Typical misconceptionAbsorption should always point downward.

Better mental modelThis plot measures blocked light, not transmitted intensity. A stronger molecular absorption makes the planet appear larger and raises the depth.

A cold patch changes the reference starlight

Typical misconceptionAnything outside the transit chord cancels from a normalized spectrum.

Better mental modelThe occulted light comes from the normal photosphere, but the out-of-transit denominator includes the cooler spectrum. Their wavelength-dependent ratio changes the measured depth.

Run the experiment

  1. 01

    Lift the cloud

    Start with Clear water bands. Predict which bands will survive, then drag the gold cloud ring outward and compare the band shapes.

    What to observe: The weak windows fill in first. The strongest water bands stay above the opaque boundary longer.
  2. 02

    Change temperature at the same composition

    Reset, then raise Atmospheric temperature. Wait for the native gas calculation to finish and compare the complete spectrum and ray profile together.

    What to observe: The atmospheric scale and the real temperature-dependent molecular opacity both change.
  3. 03

    Move the stellar denominator

    Load Spotted star, then reduce Unocculted cool-region fraction to zero. Keep the planetary spectrum fixed and compare the coral and gold curves.

    What to observe: The stellar correction disappears without changing the gas column. The 3500-kelvin stress preset is a synthetic active surface.

Related experiments and articles

Starlight through a planet’s atmosphere · Reading path

Starlight through a planet’s atmosphere

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

  1. ArticleHow several spectral bands reveal water around a planet
  2. ArticleHow temperature and gravity set an atmosphere’s height
  3. ArticleFollow a grazing ray, then add the missing light
  4. ArticleWhat an atmospheric posterior can and cannot tell us
  5. ArticleRerun a conditional retrieval of an actual NIRISS spectrum
  6. ArticleRead atmospheric asymmetry and resolved-line evidence from the original papers
FeedbackSomething 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