transit_demo.py

A demo for modeling transmission spectra with a blank mask coronagraph (i.e. the coronagraph is not blocking the star’s light).

scripts.transit_demo.earth_analog_transits(d=10.0, ntran=10, nout=2)

Simulate the transmission spectrum of Earth transiting a Sun-like star that is d parsecs away.

Parameters:
  • d (float) – Distance to system [pc]
  • ntran (int) – Number of transits
  • nout (int) – Number of out-of-transit transit durations to observe

Example

>>> from transit_demo import earth_analog_transits
>>> earth_analog_transits()
../_images/transit_demo-1_00.png
../_images/transit_demo-1_01.png
../_images/transit_demo-1_02.png
../_images/transit_demo-1_03.png
../_images/transit_demo-1_04.png
../_images/transit_demo-1_05.png