build_model¶
-
transitforecast.build_model(lc, pri_t0, pri_p, pri_rprs, pri_m_star, pri_r_star, tforecast, verbose=False)¶ Build the transit light curve model.
- Parameters
- lc~lightkurve.LightCurve
A light curve object with the data.
- pri_t0float
Initial guess for mid-transit time.
- pri_pfloat
Initial guess for period.
- pri_rprsfloat
Initial guess for planet-to-star radius ratio.
- pri_m_starndarray
Mean and standard deviation of the stellar mass estimate in solar masses.
- pri_r_starndarray
Mean and standard deviation of the stellar radius estimate in solar radii.
- tforecastiterable
The times for the forecast. Assumes same units as
lc.time.- verbosebool
Print details of optimization.
- Returns
- model~pymc3.model
A model object.
- map_solndict
A dictionary with the maximum a posteriori estimates of the variables.