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:
The “PRIMARY” extension (
ext=0
) provides a metadata header providing details on the target and its CCD position.The “PIXELS” extension (
ext=1
) provides details on the data column and their coordinate system (WCS).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
- header
Header
Header object containing metadata keywords.
- header