- class lightkurve.correctors.corrector.Corrector(original_lc: lightkurve.lightcurve.LightCurve)#
Abstract base class documenting the required structure of classes designed to remove systematic noise from light curves.
The uncorrected light curve. Must be passed into (or computed by) the constructor method.
Corrected light curve. Must be updated upon each call to the
- cadence_masknp.array of dtype=bool
Boolean array with the same length as
original_lc. True indicates that a cadence should be used to fit the noise model. By setting certain cadences to False, users can exclude those cadences from informing the noise model, which will help prevent the overfitting of those signals (e.g. exoplanet transits). By default, the cadence mask is True across all cadences.
Accepts all the data required to execute the correction. The constructor must set the
correct() -> LightCurve
Executes the correction, optionally accepting meaningful parameters that can be used to modify the way the correction is applied. This method must set or update the
corrected_lcattribute on each run.
diagnose() -> matplotlib.axes.Axes
Creates plots to elucidate the user’s most recent call to
- __init__(original_lc: lightkurve.lightcurve.LightCurve) None #
The constructor shall:
accept all data required to run the correction (e.g. light curves, target pixel files, engineering data).
Measures the degree of over-fitting in the correction.
Measures the degree of under-fitting the correction.
LightCurvefrom which systematic noise has been removed.
Returns plots which elucidate the most recent call to