scipp.full_like
scipp.full_like#
- scipp.full_like(var, /, value, *, variance=None)#
Constructs a new object with the same dims, shape, unit and dtype as the input (
Variable
orDataArray
), but with all values, and optionally variances, initialized to the specifiedvalue
andvariance
. If the input is aDataArray
, coordinates and attributes are shallow-copied and masks are deep copied.- Parameters
- Seealso
- Return type