CONAN._classes.load_result._evaluate_lc#
- CONAN._classes.load_result._evaluate_lc(file=None, time=None, params=None, nsamp=500, return_std=False)#
Compute planet transit model from fit for a given input file at the given times using specified parameters.
- Parameters:
file (str, None;) – name of the LC file for which to evaluate the LC model. If None, time must be provided.
time (array-like, None;) – times at which to evaluate the model. If None, the times from the input file are used
params (array-like;) – Parameters to evaluate the model at. If None, the median posterior values from the fit are used.
nsamp (int;) – number of posterior samples to use for computing the quantiles of the model. Default is 500.
return_std (bool;) – If True, return the 1sigma quantiles of the model as well as the model itself. If False, return only the model.
- Returns:
object – planet_model: LC model array evaluated at the given times, for a specific file. components: lc_components of each planet in the system. sigma_low, sigma_high: if return_std is True, 1sigma quantiles of the model is returned.
- Return type:
SimpleNamespace;