Data Validation Quality Flags (
Handling of TESS data quality flags.
Code author: Rasmus Handberg <firstname.lastname@example.org>
- class dataval.quality.DatavalQualityFlags(value)
Quality flags indicating the status of data validation.
- ContaminationHigh = 2048
- DEFAULT_BITMASK = 13408
- FluxFFIOverTPF = 4
Star has higher measured flux in FFIs than TPFs
- FluxTPFOverFFI = 8
Star has higher measured flux in TPFs than FFIs
- InvalidContamination = 1024
- InvalidFlux = 4096
Invalid mean flux (not finite or negative)
- InvalidNoise = 8192
- LargeMask = 64
Star has larger mask than general relation
- LowPTP = 256
PTP lower than theoretical
- LowRMS = 512
RMS lower than theoretical
- MagVsFluxHigh = 1
Star has higher flux than given by magnitude relation
- MagVsFluxLow = 2
Star has lower flux than given by magnitude relation
- MinimalMask = 16
Star has minimum 4x4 mask
- SmallMask = 32
Star has smaller mask than general relation
- SmallStamp = 128
Smaller stamp than default
- class dataval.quality.QualityFlagsBase(value)
- classmethod filter(quality, flags=None)
Filter quality flags against a specific set of flags.
quality (integer or ndarray) – Quality flags.
flags (integer bitmask) – Default=``TESSQualityFlags.DEFAULT_BITMASK``.
Trueif quality DOES NOT contain any of the specified
- Return type:
- property binary_repr