Skip to content

Commit

Permalink
add docstring for axes
Browse files Browse the repository at this point in the history
  • Loading branch information
blakedewey committed Jul 7, 2024
1 parent aaa7be9 commit 671a373
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ class RandomMotion(RandomTransform, IntensityTransform, FourierTransform):
simulate motion artifacts for data augmentation.
Args:
axes: Tuple of integers or strings representing the axes along which
the simulated movements will occur.
degrees: Tuple :math:`(a, b)` defining the rotation range in degrees of
the simulated movements. The rotation angles around each axis are
:math:`(\theta_1, \theta_2, \theta_3)`,
Expand Down Expand Up @@ -140,6 +142,7 @@ class Motion(IntensityTransform, FourierTransform):
simulate motion artifacts for data augmentation.
Args:
axis: Integer representing the axis along which the simulated movements
degrees: Sequence of rotations :math:`(\theta_1, \theta_2, \theta_3)`.
translation: Sequence of translations :math:`(t_1, t_2, t_3)` in mm.
times: Sequence of times from 0 to 1 at which the motions happen.
Expand Down

0 comments on commit 671a373

Please sign in to comment.