Scroll to navigation

FITSHEADER(1) astropy 1.0.2 FITSHEADER(1)

NAME

fitsheader - Print the header(s) of a FITS file.

DESCRIPTION

usage: fitsheader [-h] [-e HDU] [-k KEYWORD] [-t [FORMAT]] [-c]

filename [filename ...]

Print the header(s) of a FITS file. Optional arguments allow the desired extension(s), keyword(s), and output format to be specified. Note that in the case of a compressed image, the decompressed header is shown by default.

positional arguments:

path to one or more files; wildcards are supported

optional arguments:

show this help message and exit
specify the extension by name or number; this argument can be repeated to select multiple extensions
specify a keyword; this argument can be repeated to select multiple keywords; also supports wildcards
print the header(s) in machine-readable table format; the default format is "ascii.fixed_width" (can be "ascii.csv", "ascii.html", "ascii.latex", "fits", etc)
for compressed image data, show the true header which describes the compression rather than the data
April 2015 fitsheader