SciPy

numpy.ma.MaskedArray.__setmask__

MaskedArray.__setmask__(mask, copy=False)[source]

Set the mask.