Utility functions

This module provides various helper functions.

Functions

bkjd_to_astropy_time(bkjd[, bjdref]) Converts BKJD time values to an astropy.time.Time object.
btjd_to_astropy_time(btjd[, bjdref]) Converts BTJD time values to an astropy.time.Time object.
channel_to_module_output(channel) Returns a (module, output) pair given a CCD channel number.
module_output_to_channel(module, output) Returns the CCD channel number for a given module and output pair.
running_mean(data, window_size) Returns the moving average of an array data.

Classes

LightkurveWarning Class for all Lightkurve warnings.
KeplerQualityFlags This class encodes the meaning of the various Kepler QUALITY bitmask flags, as documented in the Kepler Archive Manual (Ref.
TessQualityFlags This class encodes the meaning of the various TESS QUALITY bitmask flags, as documented in the TESS Data Products Description Document (Ref.

Class Inheritance Diagram

Inheritance diagram of lightkurve.utils.LightkurveWarning, lightkurve.utils.KeplerQualityFlags, lightkurve.utils.TessQualityFlags