From 14ecce39dbb9343c77f764f904635356a912655c Mon Sep 17 00:00:00 2001 From: Nick Tustison Date: Sat, 14 May 2022 09:51:39 -0700 Subject: [PATCH] DOC: More accurate variable name. --- ants/registration/landmark_transforms.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ants/registration/landmark_transforms.py b/ants/registration/landmark_transforms.py index b555f9a0..359c8614 100644 --- a/ants/registration/landmark_transforms.py +++ b/ants/registration/landmark_transforms.py @@ -18,7 +18,7 @@ def fit_transform_to_paired_points( moving_points, enforce_stationary_boundary=True, displacement_weights=None, number_of_compositions=10, - gradient_step=0.5, + composition_step_size=0.5, sigma=3.0 ): """ @@ -64,7 +64,7 @@ def fit_transform_to_paired_points( moving_points, number_of_compositions : integer total number of compositions for the diffeomorphic transform. - gradient_step : scalar + composition_step_size : scalar scalar multiplication factor for the diffeomorphic transform. sigma : scalar @@ -199,7 +199,7 @@ def polar_decomposition(X): enforce_stationary_boundary=True ) - update_field = update_field * gradient_step + update_field = update_field * composition_step_size if sigma > 0: update_field = smooth_image(update_field, sigma)