Next: , Previous: , Up: Internal Routines   [Contents][Index]


15.5.236 fits_header

fits_header(name [, header, ext_header, extvar_preamble])

Tries to read the FITS file with the name indicated by file. The header is read into header, if specified.

If the file includes a FITS extension, then its header is read into ext_header, if specified. If extvar_preamble is specified, then it must be a string containing a preamble to use for the creation of variables corresponding to data contained in the extension.

Upon success, this function returns a 1, otherwise a 0.

See also: fits_read, fits_xread