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*, *out* is set to *limit_low*.
And the same is performed with respect to *limit_high*.
Authors: Patrick Eriksson
Synopsis
NumericClip( | out, in, limit_low, limit_high ) |
Variables
GOUT | out | (Numeric) | Output Numeric. |
GIN | in | (Numeric) | Input Numeric. |
GIN | limit_low | (Numeric, Default: -Inf) | Lower limit for clipping. |
GIN | limit_high | (Numeric, Default: Inf) | Upper limit for clipping. |