numpy.ma.masked_inside

numpy.ma.masked_inside(x, v1, v2, copy=True)

Shortcut to masked_where, where condition is True for x inside the interval [v1,v2] (v1 <= x <= v2). The boundaries v1 and v2 can be given in either order.

Notes

The array x is prefilled with its filling value.

Previous topic

numpy.ma.masked_greater_equal

Next topic

numpy.ma.masked_invalid

This Page

Quick search