CONAN.models.Planet_LC_Model.get_value

CONAN.models.Planet_LC_Model.get_value#

CONAN.models.Planet_LC_Model.get_value(tarr, ss=None, grprs=0, vcont=0, Rstar=None, model_phasevar=False, custom_LCfunc=None, pc_model='cosine', approx_EA=False)#

computes the transit/occultation/phase curve model for a given set of parameters along with the baseline

Parameters:
  • tarr (array-like) – The timestamps of the lightcurve

  • ss (SimpleNamespace) – The configuration for the supersampling

  • grprs (float;) – when using fitting depth variation, the base RpRs value to which deviation of each filter is added

  • vcont (float;) – contamination factor

  • Rstar (float) – Stellar radius in Rsun. used to calculate light travel time correction. Default: None to not perform light travel time correction

  • model_phasevar (bool;) – fit the phase variation in the model. Default: False, in which case even if occultation depth is given the transit and occ are joined by a straight line

  • custom_LCfunc (SimpleNamespace) – object containing the custom light curve function to be combined to or to replace the lightcurve model. Default: None

  • pc (str;) – the phase curve model to be used. Default: “cosine”. Options: “cosine” or “lambert”

  • model (str;) – the phase curve model to be used. Default: “cosine”. Options: “cosine” or “lambert”

  • approx_EA (bool;) – use approximate calculation of the eccentric anomaly. Default: False

Returns:

  • marr (array-like) – The lightcurve model for the given parameters

  • model_components (dict) – The components of the model for each planet in a system