Skip to main content
Sandbox Physics
A planet crosses a star

AC17 · L2

Weigh the light hidden by a planet

A transit depth is a brightness-weighted area, divided by the unobscured stellar light. Building that integral shows exactly when the familiar squared-radius rule works and why a brighter chord or a companion changes the answer.

Define a disk that the observer sees

Put the stellar center at the origin of the observer’s sky plane. Measure projected distances in stellar radii, so the disk has radius one. Let the opaque planet have radius ratio p=Rp/R⋆p=R_{\rm p}/R_\star and projected center distance zz. These are apparent projected disks; the planet is in front during the primary transit.

Let I(r)I(r) be received brightness per projected area at radial position rr. A small area dA\mathrm dA contributes I(r)dAI(r)\mathrm dA. Adding these contributions over the whole disk gives the unobscured host flux. Adding only the hidden contributions gives the loss.

For constant brightness, it cancels from the ratio. When the planet lies wholly inside the stellar disk, the lost fraction is p2p^2 at any fully contained position. At partial overlap, including a grazing midpoint, the numerator is the lens-shaped intersection.

F⋆(p,z)=1−∫disk∩planetI(r) dA∫diskI(r) dAF_\star(p,z)=1-\frac{\displaystyle\int_{\mathrm{disk}\cap\mathrm{planet}} I(r)\,\mathrm dA}{\displaystyle\int_{\mathrm{disk}} I(r)\,\mathrm dA}
The normalized host flux is one outside transit. The numerator and denominator use the same brightness law and projected area.

Reading: Mandel & Agol 2002, Analytic Lightcurves, arXiv v1

Give the brightness a radial profile

On a spherical photosphere, define μ=1−r2\mu=\sqrt{1-r^2}. It is the cosine of the angle between the local surface normal and our line of sight. The quadratic law specifies two dimensionless coefficients:

Expand the brackets into a constant term, a term proportional to μ\mu and a term proportional to μ2\mu^2. An annulus of radius rr and width dr\mathrm dr has area 2πrdr2\pi r\mathrm dr. This turns the disk integral into a one-dimensional sum of rings.

The three needed integrals are ∫01rdr=1/2\int_0^1 r\mathrm dr=1/2, ∫01r1−r2dr=1/3\int_0^1 r\sqrt{1-r^2}\mathrm dr=1/3 and ∫01r(1−r2)dr=1/4\int_0^1 r(1-r^2)\mathrm dr=1/4. For the middle one, substitute q=1−r2q=1-r^2, so dq=−2rdr\mathrm dq=-2r\mathrm dr. Putting the terms together gives:

A physical profile needs positive intensity. A convenient restricted family has nonnegative coefficients whose sum is below one; it remains positive and darkens toward the edge. For more general coefficient pairs, check both positivity and the radial derivative.

I(μ)=I(1)[1−u1(1−μ)−u2(1−μ)2]I(\mu)=I(1)[1-u_1(1-\mu)-u_2(1-\mu)^2]
The central value is I(1)I(1). The coefficients describe how the brightness falls toward the limb; their values depend on the star and observing band.
F⋆,0=πI(1)(1−u13−u26)F_{\star,0}=\pi I(1)\left(1-\frac{u_1}{3}-\frac{u_2}{6}\right)
This normalizes the same quadratic disk before computing any transit depth.

Reading: Mandel & Agol 2002, Analytic Lightcurves, arXiv v1 · batman author tutorial and pinned package 2.5.3

Integrate only the covered part of each ring

At distance zz from the stellar center, a planet covers an angular segment of an annulus. Its two circle boundaries meet when the law of cosines is satisfied. For a partially covered ring:

This construction retains the finite planet size, including near contacts. Treating the entire blocked patch as one brightness value is a small-planet approximation. It can be useful, but should not silently replace the full integral for a large or grazing object.

The playable calculation evaluates the annular integral after a change of variable that smooths its contact endpoints. The independent reference uses the published Mandel–Agol analytic cases. Exactly when the planet edge passes through the stellar center, the saved comparison also keeps a separately evaluated special-case elliptic expression and a Cartesian area integral. The raw reference-library failure at that boundary remains in the downloadable results.

Δθ(r)=2arccos⁡ ⁣(r2+z2−p22rz),Fblocked=∫I(r)rΔθ(r) dr\Delta\theta(r)=2\arccos\!\left(\frac{r^2+z^2-p^2}{2rz}\right),\qquad F_{\rm blocked}=\int I(r)r\Delta\theta(r)\,\mathrm dr
Fully covered rings use an angle of 2π2\pi; uncovered rings use zero. The partial formula applies only where the two circles intersect.

Reading: Mandel & Agol 2002, Analytic Lightcurves, arXiv v1

Work a centered brightness example

Take p=0.1p=0.1, u1=0.6u_1=0.6 and u2=0u_2=0. The mean brightness over the stellar disk is 0.8I(1)0.8I(1). The central blocked patch is brighter than this average, so its transit must be deeper than the one-percent area limit.

For a centered planet, integrate complete rings from zero to pp. The substitution used above gives:

The default-results table below uses the actual synthetic records at their stated parameters and exposure windows. It lets you compare full and grazing paths and then isolate long exposure or extra light. Its digits describe those numerical examples, not the accuracy of a real stellar atmosphere law.

δ=(1−u1)p2+2u13[1−(1−p2)3/2]1−u1/3=0.0124812\delta=\frac{(1-u_1)p^2+\frac{2u_1}{3}[1-(1-p^2)^{3/2}]}{1-u_1/3}=0.0124812
The exact loss is about 1.25 percent. Treating that brightness-weighted depth as a uniform area would give a radius ratio near 0.112 instead of 0.100.
Actual synthetic records: circular period 3.2888 days, orbital axis eight stellar radii; midpoint depths are integrated over the stated window. freeze-synthetic.ts stores full curves and representative current measurements.
CaseRadius ratioImpactCompanion ratioWindow · secondsDepth · parts per millionDuration · hours
Limb-darkened chord0.120.120.350.35001201201.71×1041.71\times10^{4}3.353.35
Uniform area limit0.120.1200001201201.44×1041.44\times10^{4}3.533.53
Grazing0.180.181.041.0400120120805080501.771.77
Long exposure0.070.070.780.780018001800478047802.312.31
Companion light0.180.180.350.35111201201.92×1041.92\times10^{4}3.553.55

Reading: Mandel & Agol 2002, Analytic Lightcurves, arXiv v1

Add the companion before normalizing

Let a constant unresolved companion contribute a fraction cc of the unobscured host light. Add that light to both the in-transit and out-of-transit totals. Then:

For a uniform fully covered transit with p=0.12p=0.12, the host loss is 0.0144. Equal companion light gives a measured loss of 0.0072. Taking its square root without modeling the companion gives about 0.0849. Keeping the companion in the model recovers 0.12 for this ideal example.

A mission pipeline can already apply a crowding correction. The TESS PDCSAP product in our tutorial does so. Retaining its original metadata is essential: adding the same correction again would change the transit even though no new light was observed.

Fobs=F⋆+c1+c,δobs=δ⋆1+cF_{\rm obs}=\frac{F_\star+c}{1+c},\qquad\delta_{\rm obs}=\frac{\delta_\star}{1+c}
This definition uses companion-to-host light. A catalog crowding fraction defined as host-to-total light is a different quantity.

Reading: MAST TESS Data Product Overview · Morton et al. 2016, False Positive Probabilities, arXiv v1

Exercises and explanations

  1. On a uniform disk, does moving a fully contained planet away from the center change its depth?

    Read the explanation

    Its overlap area remains its complete disk area, so the depth stays p2p^2. Duration changes with the chord. A brightness gradient or partial overlap is needed to change depth in this idealized comparison.

  2. A companion supplies one quarter of the host’s unobscured light. What happens to a one-percent host dip?

    Read the explanation

    Divide the lost fraction by 1.25, giving 0.008. If one used the uniform area rule without this companion, the radius ratio would be underestimated by the square root of 1.25.

  3. The annular and Cartesian calculations agree but the limb coefficients are wrong for the star. What has the numerical test established?

    Read the explanation

    It verifies two ways of integrating the specified brightness profile. It does not establish that the chosen profile describes the observed star. That uncertainty belongs in the physical inference.

Try the prediction

Separate area, brightness and dilution

  1. Select the uniform-disk limit. Move the path while keeping the entire planet within the star at the midpoint, and predict its depth.
  2. Return to limb darkening and repeat the same path change. Explain which part of the integral changed.
  3. Add companion light at fixed radius and path; predict the diluted depth before reading the result.

Sources and calculation scope

  1. Mandel & Agol 2002, Analytic Lightcurves, arXiv v1

    3 October 2002, version 1; ApJ 580,L171–L176. Sections 2–4, uniform overlap, quadratic intensity normalization and Table 1 special cases; Section 5 states the small-planet approximation. The current archive PDF has a later typesetting header; its submission version is pinned here.

  2. MAST TESS Data Product Overview

    Official archive overview: SAP versus PDC processing, aperture fraction and known-source crowding already corrected in PDCSAP. This is why the tutorial does not apply those corrections twice.

  3. batman author tutorial and pinned package 2.5.3

    Author documentation for analytic quadratic limb darkening and orbit conventions. Independent reference uses the separately installed batman-package 2.5.3 distribution, verified on PyPI. Raw boundary failures are retained; published special-case elliptic and independent Cartesian integrals resolve the checked stellar-center crossing. No GPL kernel is copied into the interactive Engine.

  4. Morton et al. 2016, False Positive Probabilities, arXiv v1

    10 May 2016, version 1. Sections 2.1–2.2, 3, 4.2, 4.6–4.7 define eclipse hypotheses, ancillary data, astrophysical-only scope, unresolved-host radius questions and failures. No vespa population calculation or planet-validation reproduction is claimed.

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