gfitsio.lvlib:gfitsio-get-hdu-list.vi

Return a list of HDUs in the FITS file. The list is returned in two 1D arrays:

An array of strings contains the names (if they are stored in the EXTNAME keyword) of each HDU. If the HDU is unnamed the corresponding string will be empty.

An array of enumerations contains the type of each HDU (image, binary table or ascii table).

gfitsio.lvlib:gfitsio-get-hdu-list.vi

cdlrn

gfits refnum

The file refnum associated with the file you want to access.

cerrcodeclst

error in (no error)

Describes error conditions that occur before this VI or function runs.

idlrn

dup gfits refnum

Returns gfits refnum unchanged.

ierrcodeclst

error out

If error in indicates that an error occurred before this VI or function ran, error out contains the same error information. Otherwise, it describes the error status that this VI or function produces.

i1dstr

hdu names

The names (if they exist) of each HDU. If the HDU is unnamed the corresponding string will be empty.

i1di32

hdu types

The type of each HDU (image, binary table or ascii table).