CONAN.models.basefuncLC

CONAN.models.basefuncLC#

CONAN.models.basefuncLC(coeff, LCdata, res, useSpline)#

Calculate the baseline function without the transit model

Parameters:
  • coeff (array-like) – the coefficients of the parametric polynomial

  • LCdata (dict) – data for this lc

  • res (array-like) – residuals after dividing flux by transit model

  • useSpline (SimpleNamespace) – the configuration for the spline fit

Returns:

bfunc, spl – the baseline function and the spline fit to the residuals

Return type:

array-like, array-like