numpy.ma.flatnotmasked_contiguous()

numpy.ma.flatnotmasked_contiguous

numpy.ma.flatnotmasked_contiguous(a) [source]

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

Parameters:

a : narray

The input array.

Returns:

slice_list : list

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