DOKK / manpages / debian 11 / astropy-utils / fitsheader.1.en
FITSHEADER(1) astropy 1.0.2 FITSHEADER(1)

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

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.

path to one or more files; wildcards are supported

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