This is documentation for an old release of NumPy (version 1.3.). Read 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.

Previous topic

numpy.ma.make_mask_descr

Next topic

numpy.ma.getmaskarray

This Page

Quick search