simulate_lightcurve¶
-
stash.
simulate_lightcurve
(image, period, a, b, R_planet_physical=<<class 'astropy.constants.iau2015.IAU2015'> name='Nominal Earth equatorial radius' value=6378100.0 uncertainty=0.0 unit='m' reference='IAU 2015 Resolution B 3'>, background=269, R_star_physical=<<class 'astropy.constants.iau2015.IAU2015'> name='Nominal solar radius' value=695700000.0 uncertainty=0.0 unit='m' reference='IAU 2015 Resolution B 3'>, supersample_factor=1, sdo_hmi=True)[source] [edit on github]¶ Simulate a light curve of a planet with radius
R_planet_physical
with orbital periodperiod
, semimajor axisa
, and assuming the Sun has radiusR_star_physical
.Parameters: - image :
ndarray
SDO HMI continuum image of the Sun
- period :
Quantity
Orbital period of the planet
- a :
Quantity
Semimajor axis of the planet in absolute units
- b : float
Impact parameter (defined on [0, 1])
- R_planet_physical :
Quantity
Radius of the planet
- R_star_physical :
Quantity
Radius of the star
Returns: - lc :
LightCurve
Simulated light curve of a planet transiting the star in
image
.
- image :