open_fits¶
-
lcps.lcps_io.
open_fits
(filename)[source]¶ Open a light curve file in the usual Kepler FITS format and extract the PDCSAP light curve.
Parameters: filename : str
file name of the FITS file containing the light curve data
Returns: EPICno : int
EPIC number (‘KEPLERID’ in the hdu header)
photometry : Astropy table
Columns are time in BJD - 2454833, PDCSAP flux, PDCSAP flux error