This is documentation for an old release of NumPy (version 1.3.). Read this page Search for this page in the documentation of the latest stable release (version > 1.17).
numpy.ma.getmask
-
numpy.ma.getmask(a)
Return the mask of a, if any, or nomask.
To get a full array of booleans of the same shape as a, use
getmaskarray.