next up previous contents index
Next: FILE Up: LAS Language Internal Help Previous: DUMP   Contents   Index


EXTRACT

        LAS\EXTRACT [X1 X2 [Unit]]

    EXTRACT copies R into T, extracts a subsection of R, and save the result
    in R.

    Without  arguments,  the  cursor is invoked (if available) to define the
    subsection range. If the arguments X1 and X2 are present, the subsection
    is  defined  by  this range, in the given Unit (if any) or by default in
    the current X axis unit (SET UNIT). X2 can be indifferently  greater  of
    lower  than  X1,  and  Unit  is a single character in the four C)hannel,
    V)elocity, F)requency or I)mage.

    If the range overlaps the input spectrum limits, a warning is raised and
    the  missing  data is filled with the blanking value. Requesting a range
    off the input spectrum is an error.

    Only spectroscopic data with a regularly sampled X axis is supported.


Gildas manager 2011-09-07