ARTS built-in documentation server

Workspace Method VectorCrop

Description

Keeps only values of a vector inside the specified range.

All values outside the range [min_value,max-value] are removed.
Note the default values, that basically should act as -+Inf.

The result can either be stored in the same or another vector.

Authors: Patrick Eriksson

Synopsis

VectorCrop( out, in, min_value, max_value )

Variables

GOUTout(Vector)Cropped vector
GINin(Vector)Original vector
GINmin_value(Numeric, Default: -99e99)Minimum value to keep
GINmax_value(Numeric, Default: 99e99)Maximum value to keep