cf.clip

cf.clip(x, *args, **kwargs)[source]

Return a new variable with clipped (limited) data array values.

Given an interval, values outside the interval are clipped to the interval edges.

Parameters :
x :

The input variable, which has an clip method.

args, kwargs :

As for the input variable’s clip method.

Returns :
out :

A new variable with clipped data array values.

Examples

See the input variable’s clip method.

Previous topic

cf.aggregate

Next topic

cf.collapse

This Page