etspy.base.RecStack.rotate_volume(rotation_angles: list | ndarray | None = None, cuda: bool | None = False)[source]

Apply a 3D transformation to the RecStack data.

Parameters:
rotation_angles : list or numpy.ndarray

Rotation angles (degrees) to apply to data. If None (default), angles provided by RecStack.rotator are used. The angles define rotation about the [X, Z, and Y] axes, respectively.

Returns:

rotated – Rotated version of input RecStack.

Return type:

RecStack