next up previous contents index
Next: FOLD Up: LAS Language Internal Help Previous: FIND   Contents   Index


FITS

        LAS\FITS READ  file[.fits]
        LAS\FITS   WRITE  file[.fits]  /MODE  SPECTRUM|INDEX  [/BITS  nbits]
    [/CHECK]

    Either READ the file.fits FITS file to the CLASS internal  data  format.
    Please note that not all FITS files may be read by CLASS, and some head-
    er information might be incomplete when doing so.

    Or WRITE the file.fits FITS file from the CLASS  internal  data  format.
    /MODE is a mandatory argument which can take the following values:

    SPECTRUM   a simple FITS file is written from the current spectrum
               in memory is written.
    INDEX      a FITS BINTABLE is written from all the spectra in current
               index. The USER MUST make sure that all index spectra are
               consistent (same source, same line, same frequency setup,
                   ...)
    The  number  of bits per intensity value used when writing the FITS file
    may be controlled through the /NBITS optional argument. It can be: 16 or
    I*2(2  bits  integer),  32 or I*4 (4 bits integer) or -32 or R*4 (4 bits
    real).

    The default mode and number of bits can also be  specified  through  the
    commands
    SET FITS BITS nbits
    SET FITS MODE SPECTRUM|INDEX

    /CHECK will print the FITS HEADER on the terminal.


Gildas manager 2011-09-07