putmask#
- astropy.utils.masked.function_helpers.putmask(a, mask, values)[source]#
Changes elements of an array based on conditional and input values.
Like
numpy.putmask
, but for masked arraya
and possibly maskedvalues
. Maskedmask
is not supported.