From 4183664214a30a45ffdc4a2f10b70c72c7fb6cce Mon Sep 17 00:00:00 2001 From: Edoardo Pasca Date: Fri, 10 May 2019 12:07:46 +0100 Subject: typo fix --- Wrappers/Python/ccpi/optimisation/operators/GradientOperator.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Wrappers/Python/ccpi/optimisation/operators/GradientOperator.py b/Wrappers/Python/ccpi/optimisation/operators/GradientOperator.py index 60978be..33dede2 100644 --- a/Wrappers/Python/ccpi/optimisation/operators/GradientOperator.py +++ b/Wrappers/Python/ccpi/optimisation/operators/GradientOperator.py @@ -26,9 +26,9 @@ class Gradient(LinearOperator): self.gm_domain = gm_domain # Domain of Grad Operator - self.correlation = kwargs.get('correlation',Gredient.CORRELATION_SPACE) + self.correlation = kwargs.get('correlation',Gradient.CORRELATION_SPACE) - if self.correlation==Gredient.CORRELATION_SPACE: + if self.correlation==Gradient.CORRELATION_SPACE: if self.gm_domain.channels>1: self.gm_range = BlockGeometry(*[self.gm_domain for _ in range(self.gm_domain.length-1)] ) if self.gm_domain.length == 4: @@ -54,7 +54,7 @@ class Gradient(LinearOperator): expected_order = [ImageGeometry.VERTICAL, ImageGeometry.HORIZONTAL_Y, ImageGeometry.HORIZONTAL_X] self.ind = self.gm_domain.get_order_by_label(self.gm_domain.dimension_labels, expected_order) # self.ind = numpy.arange(self.gm_domain.length) - elif self.correlation==Gredient.CORRELATION_SPACECHANNEL: + elif self.correlation==Gradient.CORRELATION_SPACECHANNEL: if self.gm_domain.channels>1: self.gm_range = BlockGeometry(*[self.gm_domain for _ in range(self.gm_domain.length)]) self.ind = range(self.gm_domain.length) -- cgit v1.2.3