numpy.ma
MaskedArray.
__nonzero__
x.__nonzero__() <==> x != 0
numpy.ma.MaskedArray.__ne__
numpy.ma.MaskedArray.__abs__