clip

odl.clip(x, out=None, min=None, max=None)

Clamps each element x_i of the input array x to the range [min, max].