next up previous contents index
Next: DEFINE INTEGER Up: DEFINE Previous: DEFINE HEADER   Contents   Index


DEFINE IMAGE

        [SIC\]DEFINE IMAGE Var1 File1 Key1 [Var2 File2 Key2 [...]]
                  [/GLOBAL] [/TRIM [Rank]]

    Define  variables  associated  to both the content and the header of the
    GILDAS images located in the files, if specified. This command acts as a
    combination  of DEFINE HEADER and DEFINE TABLE. It accepts the same key-
    words (KeyN) as DEFINE TABLE. If the keyword is READ, the  header  vari-
    ables are mapped ReadOnly, otherwise they are mapped ReadWrite.

    See  HELP DEFINE HEADER for a description of the individual header vari-
    ables.

    FITS cubes can also be loaded as a Gildas image variable, using the FITS
    file  name  in  place  of  the  file name. There will be no disk-to-disk
    translation: at load time, the FITS header will be translated on-the-fly
    to  the GDF header elements, and the data will also be converted on-the-
    fly if needed.
    This feature is only available for cube-like data  in  Primary  HDU.  To
    load  other  HDUs,  use  disk-to-disk conversion with the command V\FITS
    /HDU.


Gildas manager 2024-04-19