Reference/API

transitforecast Package

Probabilistic forecasting of candidate exoplanetary transit signals.

Functions

build_model(lc, pri_t0, pri_p, pri_rprs, …)

Build the transit light curve model.

get_forecast_window([size, cadence, start])

Get an array of times in JD to forecast transits.

get_priors_from_tic(tic_id)

Get stellar mass and radius priors from the TESS Input Catalog.

observable_windows(windows, tforecast, …)

Determine which windows are observable, given constraints.

plot_map_soln(lc, map_soln)

Plot the maximum a posteriori solution for a transit model.

plot_posterior_model(lc, trace)

Plot the posterior light curve model.

relative_weights(lc, traces)

Calculate the relative weights for the scenarios.

sample_from_model(model, map_soln[, tune, …])

Sample from the transit light curve model.

summarize_windows(trace, tforecast[, tdistance])

Summarize all transit windows suggested by the MCMC sampling.

transit_forecast(trace)

Calculate the mean transit forecast.