lightkurve.KeplerQualityFlags

class lightkurve.KeplerQualityFlags[source]

This class encodes the meaning of the various Kepler QUALITY bitmask flags, as documented in the Kepler Archive Manual (Ref. [1], Table 2.3).

References

1

Kepler: A Search for Terrestrial Planets. Kepler Archive Manual. http://archive.stsci.edu/kepler/manuals/archive_manual.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

ArgabrighteningOnCCD

AttitudeTweak

CoarsePoint

CollateralCosmic

DEFAULT_BITMASK

DEFAULT bitmask identifies all cadences which are definitely useless.

Desat

DetectorAnomaly

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

ManualExclude

NoData

NoFinePoint

OPTIONS

Dictionary which provides friendly names for the various bitmasks.

PossibleThrusterFiring

RollingBandInAperture

RollingBandInMask

STRINGS

Pretty string descriptions for each flag

SafeMode

SensitivityDropout

ThrusterFiring

ZeroCrossing