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).
|
gfits refnum The file refnum associated with the file you want to access. |
|
error in (no error) Describes error conditions that occur before this VI or function runs. |
|
status status is TRUE (X) if an error occurred or FALSE (checkmark) to indicate a warning or that no error occurred. |
|
code code is the error or warning code. |
|
source source describes the origin of the error or warning and is, in most cases, the name of the VI or function that produced the error or warning. |
|
dup gfits refnum Returns gfits refnum unchanged. |
|
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. |
|
status status is TRUE (X) if an error occurred or FALSE (checkmark) to indicate a warning or that no error occurred. |
|
code code is the error or warning code. |
|
source source describes the origin of the error or warning and is, in most cases, the name of the VI or function that produced the error or warning. |
|
hdu names The names (if they exist) of each HDU. If the HDU is unnamed the corresponding string will be empty. |
|
hdu name |
|
hdu types The type of each HDU (image, binary table or ascii table). |
|
hdutype |