ARTS built-in documentation server
Workspace Method VectorClip
Description
Clipping of a vector.
The input vector is copied to the output one (that can be same WSV)
but ensures that all values in *out* are inside the range [limit_low,
limit_high]. Where the input vector is below *limit_low*, *out* is set
to *limit_low*. And the same is performed with respect to *limit_high*.
That is, the method works as NumericClip for each element of the
vector.
The method adopts the length of *out* when needed.
Authors: Patrick Eriksson
Synopsis
VectorClip( | out, in, limit_low, limit_high ) |
Variables
GOUT | out | (Vector) | Output vector. |
GIN | in | (Vector) | Input vector. |
GIN | limit_low | (Numeric, Default: -Inf) | Lower limit for clipping. |
GIN | limit_high | (Numeric, Default: Inf) | Upper limit for clipping. |