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. If fill_value is numpy.ma.masked, the data will be left unset (i.e., as created by numpy.empty_like).