Skip to content

Commit

Permalink
Format
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Panchenko committed Mar 1, 2024
1 parent 5cdee02 commit 6b2ae9c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/armscan_env/slicing.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,10 @@ def padding(original_array: np.ndarray) -> np.ndarray:


def slice_volume(
z_rotation: float, x_rotation: float, translation: np.ndarray, volume: sitk.Image,
z_rotation: float,
x_rotation: float,
translation: np.ndarray,
volume: sitk.Image,
) -> sitk.Image:
"""Slice a 3D volume with arbitrary rotation and translation
:param z_rotation: rotation around z-axis in degrees
Expand Down Expand Up @@ -102,4 +105,3 @@ def slice_volume(

# Resample the volume on the arbitrary plane
return resampler.Execute(volume)

0 comments on commit 6b2ae9c

Please sign in to comment.