next up previous contents index
Next: ASSOCIATE Up: ACCUMULATE Previous: ACCUMULATE /NOCHECK   Contents   Index


ACCUMULATE /RESAMPLE

        LAS\ACCUMULATE /RESAMPLE [NX Xref Xval Xinc Unit]

      No /RESAMPLE
        Without this option, a consistency test checks that  R  and  T  have
        both  the  same  X axes, according to the current SET ALIGN mode. If
        yes, R and T are stacked channel by channel (no resampling). If not,
        an error is raised and /RESAMPLE is suggested.

      /RESAMPLE (without arguments)
        The /RESAMPLE option is a request to allow the resampling, but it is
        not enforced. A consistency test first checks if the spectra X  axes
        are  identical  or  not, according to the current SET ALIGN mode. If
        yes, R and T are stacked channel by channel (no resampling). If not,
        the X axes are resampled according to the SET ALIGN mode. The X axis
        of the output sum is automatically computed. In particular, the out-
        put  spectrum  has the coarsest resolution of the two input spectra.
        Those are then internally resampled and stacked on the output axis.

      /RESAMPLE NX Xref Xval Xinc Unit
        A custom output X axis can be given with  the  syntax  /RESAMPLE  NX
        Xref  Xval  Xinc  Unit.  In this case, the resampling is always per-
        formed. The input spectra are internally resampled  and  stacked  on
        this axis. See HELP RESAMPLE for possible uses and caveats.

    Remember that if it is enabled, the resampling is time consuming and has
    non trivial effects on the spectra noise.


Gildas manager 2024-04-16