Lightkurve v2.0
lightkurve.correctors.
SFFCorrector
Special case of RegressionCorrector where the DesignMatrix includes the target’s centroid positions.
RegressionCorrector
DesignMatrix
The design matrix also contains columns representing a spline in time design to capture the intrinsic, long-term variability of the target.
LightCurve
The light curve that needs to be corrected.
__init__
Constructor method.
The constructor shall: * accept all data required to run the correction (e.g. light curves, target pixel files, engineering data). * instantiate the original_lc property.
original_lc
Methods
__init__(lc)
compute_overfit_metric(**kwargs)
compute_overfit_metric
Measures the degree of over-fitting in the correction.
compute_underfit_metric(**kwargs)
compute_underfit_metric
Measures the degree of under-fitting the correction.
correct([centroid_col, centroid_row, …])
correct
Find the best fit correction for the light curve.
diagnose()
diagnose
Returns a diagnostic plot which visualizes what happened during the most recent call to correct().
correct()
diagnose_arclength()
diagnose_arclength
Returns a diagnostic plot which visualizes arclength vs flux from most recent call to correct().
diagnose_priors()
diagnose_priors
Returns a diagnostic plot visualizing how the best-fit coefficients compare against the priors.
Attributes
cadence_mask
corrected_lc
dmc
Shorthand for self.design_matrix_collection.