numpy / 1.22.0 / reference / generated / numpy.ma.soften_mask.html /

numpy.ma.soften_mask

ma. soften_mask ( self ) = <numpy.ma.core._frommethod object>

Force the mask to soft.

Whether the mask of a masked array is hard or soft is determined by its hardmask property. soften_mask sets hardmask to False.

© 2005–2021 NumPy Developers
Licensed under the 3-clause BSD License.
https://numpy.org/doc/1.22/reference/generated/numpy.ma.soften_mask.html