summaryrefslogtreecommitdiffstats
path: root/Wrappers
diff options
context:
space:
mode:
authorEdoardo Pasca <edo.paskino@gmail.com>2019-05-10 12:07:46 +0100
committerEdoardo Pasca <edo.paskino@gmail.com>2019-05-10 12:07:46 +0100
commit4183664214a30a45ffdc4a2f10b70c72c7fb6cce (patch)
tree32bc4fefea10fbfec08ed836508329654864ba5d /Wrappers
parent30e78a10ddec519db3b5bba3c6e54958d8838eee (diff)
downloadframework-4183664214a30a45ffdc4a2f10b70c72c7fb6cce.tar.gz
framework-4183664214a30a45ffdc4a2f10b70c72c7fb6cce.tar.bz2
framework-4183664214a30a45ffdc4a2f10b70c72c7fb6cce.tar.xz
framework-4183664214a30a45ffdc4a2f10b70c72c7fb6cce.zip
typo fix
Diffstat (limited to 'Wrappers')
-rw-r--r--Wrappers/Python/ccpi/optimisation/operators/GradientOperator.py6
1 files 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)