vreg.Volume3D.set_coords#

Volume3D.set_coords(coords: ndarray)[source]#

Set new coordinates for the volume

Parameters:

coords (np.ndarray) – Array of coordinates

Raises:

ValueError – If the new coords have the wrong shape.