lightkurve.io.pathos.read_pathos_lightcurve#

lightkurve.io.pathos.read_pathos_lightcurve(filename, flux_column='PSF_FLUX_COR', quality_bitmask='default')[source]#

Returns a TESS PATHOS LightCurve.

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

Parameters
filenamestr

Local path or remote url of PATHOS light curve FITS file.

flux_column‘psf_flux_cor’ or ‘ap#_flux_cor’ (# = 1, 2, 3, or 4)

or ‘psf_flux_raw’ or ‘ap#_flux_raw’ (# = 1, 2, 3, or 4) 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.

  • “default”: cadences with severe quality issues will be ignored.

  • “hard”: more conservative choice of flags to ignore. This is known to remove good data.

  • “hardest”: removes all data that has been flagged. This mask is not recommended.

See the TessQualityFlags class for details on the bitmasks.