function header

Returns the FITS header of X.

Syntax
result = header(X [, extension])

Arguments
X:   A matrix or a file name
extension:   Integer number specifying which extension to read.