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
ApertureCosmic
Argabrightening
AttitudeTweak
BadCalibrationExclude
CoarsePoint
CollateralCosmic
DEFAULT_BITMASK
DEFAULT bitmask identifies all cadences which are definitely useless.
Desat
Discontinuity
EarthPoint
HARDEST_BITMASK
HARDEST bitmask identifies cadences with any flag set.
HARD_BITMASK
HARD bitmask is conservative and may identify cadences which are useful.
ImpulsiveOutlier
InsufficientTargets
ManualExclude
OPTIONS
Dictionary which provides friendly names for the various bitmasks.
PlanetSearchExclude
STRINGS
Pretty string descriptions for each flag
SafeMode
Straylight
The first stray light flag is set manually by MIT based on visual inspection.
Straylight2
The second stray light flag is set automatically by Ames/SPOC based on background level thresholds.