tape.analysis.light_curve#
Classes#
This base class is meant to support various analysis routines and be |
Module Contents#
- class LightCurve(times: numpy.ndarray, fluxes: numpy.ndarray, errors: numpy.ndarray, minimum_observations: int = 0)[source]#
This base class is meant to support various analysis routines and be extended as needed. (Hence it’s location in the analysis package.)
The base class ensures that the data for a single lightcurve is well formed. Namely that the input data is all of the same length, with NaN’s removed and that there are enough observations to perform a given analysis.
- _process_input_data()[source]#
Cleaning and validation occurs here, ideally by calling sub-methods for specific checks and cleaning tasks.