astropy.utils
astropy.utils.masked
Changes elements of an array based on conditional and input values.
Like numpy.putmask, but for masked array a and possibly masked values. Masked mask is not supported.
numpy.putmask
a
values
mask