next up previous contents index
Next: UV_ZERO Up: EXPERIMENTAL Language Internal Help Previous: SUBTRACT   Contents   Index


UNBLANK

        EXPERIMENTAL\UNBLANK in.tab out.tab [/MODE REJECT]
        EXPERIMENTAL\UNBLANK in.tab [out.tab] /MODE  NOISE|INTERPOLATE|VALUE
    [Value]

    Patch  the blank values from a Class table (i.e. produced by the command
    ANA\TABLE). This is useful for later use in XY_MAP which does not ignore
    blanks for efficiency purpose.

    4 modes are offered:
    - REJECT (default):
        Create  a new table from the input one, rejecting spectra which have
        one or more blank channels. As the table size  will  differ  in  the
        end, this action can not be performed in place.
    - VALUE [Value]:
        Create  a  new  table, or update in place if no output table name is
        provided, patching the blank channels with a custom  value  (default
        0).
    - NOISE:
        Create  a  new  table, or update in place if no output table name is
        provided, patching the blank channels with random noise.  The  noise
        level  is  computed from the weight column found in the table itself
        (one weight per spectrum).
    - INTERPOLATE:
        Create a new table, or update in place if no output  table  name  is
        provided,  patching  the blank channels with interpolated values be-
        tween the previous and next valid channels. At the  spectrum  bound-
        aries,  the values are extrapolated from the two nearest valid chan-
        nels.

    The  command  supports  Velocity-Position  (.tab)  or  Position-Velocity
    (.bat)  tables,  except for the REJECT mode. Note that the table(s) must
    fit in memory.


Gildas manager 2018-05-25