CONAN._classes.load_lightcurves.detrend_data#

CONAN._classes.load_lightcurves.detrend_data(overwrite=False, verbose=True)#

detrend data using total trend model determined from get_decorr(). Note that this does not inflate the flux errors to account for the uncertainties in the detrend model The detrended files are saved to a new folder “_detrended/” with “dtd.dat” appended to the filenames. A plot of the detrending model is also saved.

Parameters:

overwrite (bool;) – set True to overwrite the lightcurve object with the detrended lightcurve. this also resets all detrending configuration (spline, sine, polynomial, GP). Default is False

_detrended#

set to True if data has been detrended. Default is False

Type:

bool;