ARTS built-in documentation server

Workspace Method NumericClip


Clipping of a Numeric.

The input value is copied to the output one (that can be same WSV)
but ensures that ``out`` is inside the range [limit_low,limit_high].
When the input value is below ``limit_low``, ``output`` is set to ``limit_low``.
And the same is performed with respect to ``limit_high``.

Authors: Patrick Eriksson


NumericClip( output, input, limit_low, limit_high )


GOUToutput(Numeric)Output Numeric.
GINinput(Numeric)Input Numeric.
GINlimit_low(Numeric, Default: -Inf)Lower limit for clipping.
GINlimit_high(Numeric, Default: Inf)Upper limit for clipping.