- LightCurve.to_fits(path=None, overwrite=False, flux_column_name='FLUX', **extra_data)#
Converts the light curve to a FITS file in the Kepler/TESS file format.
The FITS file will be returned as a
HDUListobject. If a
pathis specified then the file will also be written to disk.
- pathstr or None
Location where the FITS file will be written, which is optional.
Whether or not to overwrite the file, if
The column name in the FITS file where the light curve flux data should be stored. Typical values are
Extra keywords or columns to include in the FITS file. Arguments of type str, int, float, or bool will be stored as keywords in the primary header. Arguments of type np.array or list will be stored as columns in the first extension.