lightkurve.KeplerTargetPixelFile.get_header

KeplerTargetPixelFile.get_header(ext=0)

Returns the metadata embedded in the file.

Target Pixel Files contain embedded metadata headers spread across three different FITS extensions:

  1. The “PRIMARY” extension (ext=0) provides a metadata header providing details on the target and its CCD position.

  2. The “PIXELS” extension (ext=1) provides details on the data column and their coordinate system (WCS).

  3. The “APERTURE” extension (ext=2) provides details on the aperture pixel mask and the expected coordinate system (WCS).

Parameters
extint or str

FITS extension name or number.

Returns
headerHeader

Header object containing metadata keywords.