numpy.ma.notmasked_contiguous

numpy.ma.notmasked_contiguous(a, axis=None)

Find contiguous unmasked data in a masked array along the given axis.

Parameters:

axis : int, optional

Axis along which to perform the operation. If None, applies to a flattened version of the array.

Returns:

A sorted sequence of slices (start index, end index). :

Notes

Only accepts 2D arrays at most.

Previous topic

numpy.ma.flatnotmasked_edges

Next topic

numpy.ma.notmasked_edges

This Page

Quick search