lightkurve.io.everest.read_everest_lightcurve

lightkurve.io.everest.read_everest_lightcurve(filename, flux_column='flux', quality_bitmask='default', **kwargs)[source]

Read an EVEREST light curve file.

More information: https://archive.stsci.edu/hlsp/everest

Parameters
filenamestr

Local path or remote url of a Kepler light curve FITS file.

flux_column‘pdcsap_flux’ or ‘sap_flux’

Which column in the FITS file contains the preferred flux data?

quality_bitmaskstr or int

Bitmask (integer) which identifies the quality flag bitmask that should be used to mask out bad cadences. If a string is passed, it has the following meaning:

  • “none”: no cadences will be ignored (quality_bitmask=0).

  • “default”: cadences with severe quality issues will be ignored (quality_bitmask=1130799).

  • “hard”: more conservative choice of flags to ignore (quality_bitmask=1664431). This is known to remove good data.

  • “hardest”: removes all data that has been flagged (quality_bitmask=2096639). This mask is not recommended.

See the KeplerQualityFlags class for details on the bitmasks.

Returns
lcKeplerLightCurve

A populated light curve object.