lightkurve.TessQualityFlags#
- class lightkurve.TessQualityFlags[source]#
This class encodes the meaning of the various TESS QUALITY bitmask flags, as documented in the TESS Data Products Description Document (Ref. [1], Table 28).
References
- 1
TESS Science Data Products Description Document (EXP-TESS-ARC-ICD-0014) https://archive.stsci.edu/missions/tess/doc/EXP-TESS-ARC-ICD-TM-0014.pdf
- __init__(*args, **kwargs)#
Methods
__init__(*args, **kwargs)create_quality_mask(quality_array[, bitmask])Returns a boolean array which flags good cadences given a bitmask.
decode(quality)Converts a QUALITY value into a list of human-readable strings.
Attributes
ApertureCosmicArgabrighteningAttitudeTweakBadCalibrationExcludeCoarsePointCollateralCosmicDEFAULT_BITMASKDesatDiscontinuityEarthPointHARDEST_BITMASKHARDEST bitmask identifies cadences with any flag set.
HARD_BITMASKHARD bitmask is conservative and may identify cadences which are useful.
ImpulsiveOutlierInsufficientTargetsManualExcludeOPTIONSDictionary which provides friendly names for the various bitmasks.
PlanetSearchExcludeSTRINGSPretty string descriptions for each flag
SafeModeStraylightThe first stray light flag is set manually by MIT based on visual inspection.
Straylight2The second stray light flag is set automatically by Ames/SPOC based on background level thresholds.