full_like¶
- astropy.utils.masked.function_helpers.full_like(a, fill_value, dtype=None, order='K', subok=True, shape=None)[source]¶
Return a full array with the same shape and type as a given array.
Like
numpy.full_like
, but with a mask that is also set. Iffill_value
isnumpy.ma.masked
, the data will be left unset (i.e., as created bynumpy.empty_like
).