astro py:docs

- Index
- Modules

### Navigation

- next »
- « previous |
- Astropy v5.2.1 »
- Time Series (`astropy.timeseries`) »
- kepler_fits_reader

# kepler_fits_reader

astropy.timeseries.io.kepler_fits_reader(filename)

  This serves as the FITS reader for KEPLER or TESS files within astropy-timeseries.

  This function should generally not be called directly, and instead this time series reader should be accessed with the `read()` method:

      >>> from astropy.timeseries import TimeSeries
      >>> ts = TimeSeries.read('kplr33122.fits', format='kepler.fits')

  Parameters:
    filename `str` or `pathlib.Path`

      File to load.

  Returns:
    ts `TimeSeries`

      Data converted into a TimeSeries.