Astronomy and Space Exploration ES

Projects / Higher Education

Higher Education ⏱ 6 weeks · independent work of 5 to 6 h per week + 1 h of tutoring under review

Photometry of an Exoplanet Transit

“What can be learned about a planet and its star from a 1 % dip in brightness that lasts three hours?”

Download the public light curve of a star with a transiting planet (Kepler or TESS), clean it, fold it on the period, fit a transit model with limb darkening and obtain the relative radius, the impact parameter, a/R⋆ and the stellar density with their uncertainties.

Goal

Process a real light curve (detrending, period folding), fit a physical transit model by least squares and by MCMC, derive Rₚ/R⋆, b, a/R⋆ and ρ⋆ with uncertainties, and compare with the published values while discussing the degeneracies.

Final product

A reproducible notebook (Jupyter or other) with the data download, the processing, the fits and the MCMC chains; a report of 8 to 12 pages with the folded curve, the best model, the posterior distributions and the comparison with the literature.

Materials

  • Computer with Python: NumPy, SciPy, Matplotlib, astropy, lightkurve (Kepler/TESS download from MAST) and emcee (MCMC); or equivalents
  • Public catalogs: NASA Exoplanet Archive (exoplanetarchive.ipac.caltech.edu) for the published parameters of the chosen system
  • The transit model from the lesson (rings with quadratic limb darkening) or the batman package
  • Access to the portal's Light curve of a transit simulator for rehearsal

Math it uses

  • Transit geometry: depth δ = (Rₚ/R⋆)², impact parameter b, durations T₁₄ and T₂₃
  • Limb darkening and the intersection area of two circles; numerical integration by rings
  • Nonlinear least squares, χ², covariance matrix; Bayesian inference and MCMC
  • Periodograms (BLS / Lomb–Scargle) to detect the period; white and red noise

On the portal

Lessons and articles: Simulators:

Project phases

Week 1 — Geometry and rehearsal with the simulator

  1. With Transits and light curves derive δ=k2\delta = k^2 with k=Rp/R⋆k = R_p/R_\star, T14T_{14} and T23T_{23} as functions of kk, bb, a/R⋆a/R_\star and PP, and the approximate inversion of (T14,T23,δ)(T_{14}, T_{23}, \delta) to (b,a/R⋆)(b, a/R_\star).
  2. Implement the ring transit model with quadratic limb darkening (u1,u2)(u_1, u_2) and verify it: without limb darkening, the central depth must be exactly k2k^2; with u1=0.4u_1 = 0.4, u2=0.26u_2 = 0.26 and b=0b = 0, ≈ 21 % deeper than k2k^2 (example from the lesson).
  3. Rehearse in the simulator Light curve of a transit: generate a synthetic curve with noise, fit it with your model and recover the input parameters. This is your injection and recovery test.

Week 2 — Real data

  1. Choose a system with deep, well-studied transits (for example HD 209458 b, WASP-18 b, Kepler-7 b or TOI-270 depending on availability; consult the NASA Exoplanet Archive) and download the light curve with lightkurve (Kepler PDCSAP or TESS SPOC, 2 min or 30 min cadence).
  2. Inspect: gaps, jumps between sectors or quarters, points flagged with nonzero quality. Remove the bad points and normalize each segment.
  3. Detrending: fit and divide by a smooth trend (spline or Savitzky–Golay filter) with the transits masked so as not to distort them. Document every decision.
  4. Estimate the point-to-point noise (out-of-transit standard deviation) and the red noise with the binning method (the curve σ(N)\sigma(N) versus 1/N1/\sqrt N).

Week 3 — Period and folding

  1. Run a BLS periodogram on the clean curve and recover the period PP and the epoch T0T_0; compare them with the published value. Explain with Lomb–Scargle periodograms why BLS is better suited than Lomb–Scargle for transits.
  2. Fold the curve in phase: ϕ=((t−T0)/P+0.5) mod 1−0.5\phi = ((t - T_0)/P + 0.5) \bmod 1 - 0.5. Bin in 5-minute intervals for display and plot the folded curve with error bars.
  3. Measure δ\delta, T14T_{14} and T23T_{23} by hand on the folded curve and obtain a first estimate of kk, bb and a/R⋆a/R_\star with the inversion formulas.

Week 4 — Least-squares fit

  1. Fit the full model (kk, bb, a/R⋆a/R_\star, T0T_0, PP fixed or free, u1u_1, u2u_2 fixed from tables or free) by nonlinear least squares (scipy.optimize.least_squares). Report χν2\chi^2_\nu and the covariance matrix.
  2. Verify the fit: residuals without structure, χν2≈1\chi^2_\nu \approx 1 (if not, rescale the uncertainties or include red noise).
  3. Derive ρ⋆=3πGP2(aR⋆)3\rho_\star = \dfrac{3\pi}{GP^2}\left(\dfrac{a}{R_\star}\right)^3 (Seager & Mallén-Ornelas 2003) and compare it with the published density of the star.
  4. With R⋆R_\star from the catalog, obtain RpR_p in Jupiter radii and compare with the literature.

Week 5 — MCMC and degeneracies

  1. With Bayesian inference and MCMC, define the Gaussian likelihood and reasonable priors (uniform in kk, b∈[0,1+k]b \in [0, 1 + k], a/R⋆>1a/R_\star > 1; Gaussian in u1,u2u_1, u_2 if they are set from tables).
  2. Run emcee (for example 32 walkers, 5 000 steps), discard the burn-in, check convergence (autocorrelation, Gelman–Rubin with several chains) and present the marginal posteriors and the corner plot.
  3. Analyze the bb–a/R⋆a/R_\star–limb-darkening degeneracy: compare the posteriors with fixed and with free limb darkening; quantify how σb\sigma_b and σρ⋆\sigma_{\rho_\star} grow (the lesson anticipates: from 10 % to 30–50 % in ρ⋆\rho_\star).
  4. Report each parameter as the median and the 16th–84th percentiles, and compare them with the published values (table with the difference in units of σ\sigma).

Week 6 — Report

  1. Report with: chosen system and why, processing (with before-and-after figures), periodogram, folded curve and model, results with uncertainties, comparison with the literature, discussion of degeneracies and limitations.
  2. Reproducible notebook: a single run must regenerate all figures and tables starting from the download.
  3. A 10-minute presentation; the panel asks what would change with poorer-cadence data or with a grazing transit.

Mathematics in the project

  • Depth: δ≈k2\delta \approx k^2 (without limb darkening). Durations: T14=Pπarcsin⁡[R⋆a(1+k)2−b2sin⁡i]T_{14} = \dfrac{P}{\pi}\arcsin\left[\dfrac{R_\star}{a}\dfrac{\sqrt{(1+k)^2 - b^2}}{\sin i}\right], and T23T_{23} with (1−k)2(1-k)^2.
  • Blocked flux: 1−F(t)=1π∫λ(z,k) I(μ) dA1 - F(t) = \dfrac{1}{\pi}\int \lambda(z, k)\,I(\mu)\,dA with I(μ)/I(1)=1−u1(1−μ)−u2(1−μ)2I(\mu)/I(1) = 1 - u_1(1-\mu) - u_2(1-\mu)^2 and λ\lambda the intersection area of two circles.
  • Stellar density: ρ⋆=3πGP2(aR⋆)3\rho_\star = \dfrac{3\pi}{GP^2}\left(\dfrac{a}{R_\star}\right)^3.
  • Likelihood: ln⁡L=−12∑i(Fi−Mi)2σi2−∑iln⁡σi+const\ln\mathcal L = -\tfrac12\sum_i \dfrac{(F_i - M_i)^2}{\sigma_i^2} - \sum_i\ln\sigma_i + \text{const}; posterior ∝L×\propto \mathcal L \times prior.
  • Red noise: if σ(N)\sigma(N) when binning NN points does not fall as 1/N1/\sqrt N, the factor β=σNN/σ1>1\beta = \sigma_N\sqrt N/\sigma_1 > 1 inflates the uncertainties.

Assessment rubric

CriterionInsufficientSatisfactoryGoodOutstanding
Data processingUncleaned data or distorted transitsCleaning and detrending documented with a transit maskWhite- and red-noise analysisComparison of two detrending strategies and their effect on kk
Model and fitUnverified modelVerified model (injection–recovery) and fit with χν2\chi^2_\nuCovariance, residuals and ρ⋆\rho_\star comparedFree versus fixed limb darkening, with quantitative discussion
Bayesian inferenceNo MCMCChains with verified convergence and posteriorsDegeneracies analyzed and reportedComparison with the literature in units of σ\sigma and explanation of discrepancies
Reproducibility and reportNot reproducibleNotebook that regenerates the figuresClear report with limitationsPublishable quality; public code and data with a license

Variants and extensions

  • Your own observation: with a 20 cm telescope and a CCD or DSLR camera, differential photometry of a deep transit (WASP-43 b, HAT-P-7 b…) coordinated with the Exoplanet Transit Database; requires several nights of practice.
  • Transit timing variations (TTV): fit T0T_0 transit by transit and look for deviations from the linear ephemeris.
  • Radial velocity: combine with public RV data (lesson 2) to obtain the mass and density of the planet.
  • Secondary (Grade 9 unit): adapt the folded curve as material for the lesson Hunting exoplanets with transits.

Inclusion

  • A computational project, accessible with a screen reader; every figure has a description and an equivalent table.
  • Pairs with interchangeable roles (processing / inference) and cross-review of the notebook.
  • A skeleton notebook with the download already done is offered for those with limited connectivity (the data can be distributed on a USB drive).

Safety

  • A desk project, with no physical risks.
  • In the observational variant: nighttime group work, with red lighting, warm clothes and safe access to the site; the telescope is never pointed at the Sun, neither by day nor at dawn, without an ISO 12312-2 certified solar filter over the objective.

References and data sources

  • Charbonneau, D., Brown, T. M., Latham, D. W. & Mayor, M. (2000). Detection of Planetary Transits Across a Sun-like Star. ApJ 529, L45 (HD 209458 b: first observed transit, Rₚ = 1.27 ± 0.02 R_Jup, i = 87.1° ± 0.2°).
  • Mandel, K. & Agol, E. (2002). Analytic Light Curves for Planetary Transit Searches. ApJ 580, L171.
  • Seager, S. & Mallén-Ornelas, G. (2003). A Unique Solution of Planet and Star Parameters from an Extrasolar Planet Transit Light Curve. ApJ 585, 1038 (ρ⋆ = 3π(a/R⋆)³/(GP²)).
  • Winn, J. N. (2010). Exoplanet Transits and Occultations, in Exoplanets (S. Seager, ed.), University of Arizona Press, arXiv:1001.2010.
  • Foreman-Mackey, D., Hogg, D. W., Lang, D. & Goodman, J. (2013). emcee: The MCMC Hammer. PASP 125, 306. Kovács, G., Zucker, S. & Mazeh, T. (2002). A box-fitting algorithm in the search for periodic transits. A&A 391, 369 (BLS).
  • Data: Mikulski Archive for Space Telescopes (MAST, archive.stsci.edu), Kepler (PDCSAP) and TESS (SPOC) light curves; lightkurve (Lightkurve Collaboration 2018).