ARTS built-in documentation server
Workspace Method NumericClip
Description
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
Synopsis
NumericClip( | output, input, limit_low, limit_high ) |
Variables
GOUT | output | (Numeric) | Output Numeric. |
GIN | input | (Numeric) | Input Numeric. |
GIN | limit_low | (Numeric, Default: -Inf) | Lower limit for clipping. |
GIN | limit_high | (Numeric, Default: Inf) | Upper limit for clipping. |