SciPy

numpy.ma.MaskedArray.flat

MaskedArray.flat

Flat version of the array.