Documentation Center

  • Trial Software
  • Product Updates

fitsdisp

Display FITS metadata

Syntax

fitsdisp(filename)
fitsdisp(filename,Name,Value)

Description

fitsdisp(filename) displays metadata for all the Header/Data Units (HDUs) found in the FITS file specified by filename.

fitsdisp(filename,Name,Value) displays metadata for all the Header/Data Units (HDUs) found in the FITS file with additional options specified by one or more Name,Value pair arguments.

Input Arguments

filename

Text string specifying the name of an existing FITS file.

Name-Value Pair Arguments

Specify optional comma-separated pairs of Name,Value arguments. Name is the argument name and Value is the corresponding value. Name must appear inside single quotes (' '). You can specify several name and value pair arguments in any order as Name1,Value1,...,NameN,ValueN.

'Index'

Positive scalar value or vector specifying the HDUs.

'Mode'

One of the following strings:

  • standard – Display standard keywords

  • min – Display only HDU types and sizes

  • full – Display all HDU keywords

Default: standard

Examples

Display metadata in the 2nd HDU in the FITS file.

fitsdisp('tst0012.fits','Index',2);

Display the metadata in the 1st, 3rd, and 5th HDUs in a file.

fitsdisp('tst0012.fits','Index',[1 3 5]);

Display all metadata in the 5th HDU in a file

fitsdisp('tst0012.fits','Index',5,'Mode','full');

References

For copyright information, see the cfitsiocopyright.txt file.

See Also

| |

Was this topic helpful?