vreg.zeros_like#

vreg.zeros_like(v: Volume3D)[source]#

Return a new volume with same shape and affine as v, filled with zeros.

Parameters:

v (int or tuple of ints) – Shape of the new array, e.g., (2, 3) or 2.

Returns:

vreg.Volume3D with zero values.

Return type:

Volume3D