Cfitsio Toolkit - fitsdisp


: info = fitsdisp(filename)
: info = fitsdisp(filename, propertyname, propertyvalue)

Display metadata about fits format file

Inputs

filename - filename to open.

propertyname, propertyvalue - property name/value pairs

Known property names are:

’Index’

Value is a scalar or vector of hdu numbers to display

’Mode’

display mode of ’standard’ (default), ’min’ or ’full’

’standard’ display mode shows the standard keywords for the selected HDUs.
’min’ display mode shows only the type and size of the selected HDUs.
’full’ display shows all keywords for the selected HDU.

Outputs

info - the metadata of the file. If no output variable is provided, it displays to the screen.

Examples

 filename = file_in_loadpath("demos/tst0012.fits");

 fitsdisp(filename);