Back to Programs

fitsheader

fitsheader prints out the header of a specified fits file hdu or information on the entire file

 

USAGE

fitsheader filename[hdu_number] or [‘info’]

INPUT

 

 

filename

hdu_number in the input fits file; default = 0

info requests information on the entire file

OUTPUT

none

PARAMETERS

none

 

Details:

fitsheader looks for fits files in the directory COSMOS_IMAGE_DIR. Note that, unlike most COSMOS programs, you must provide the entire file name (without extension) e.g. ift2137c1 rather than the root name of a set of ccd files, e.g. ift2137. If the filename is followed by “info”, information on the entire file structure is output, rather than one header.

Back to Programs