summaryrefslogtreecommitdiffstats
path: root/Wrappers/Python
diff options
context:
space:
mode:
authorEdoardo Pasca <edo.paskino@gmail.com>2019-05-10 12:17:13 +0100
committerEdoardo Pasca <edo.paskino@gmail.com>2019-05-10 12:17:13 +0100
commitf5befc6b94366ebb966968ca648bfbdce17e37c3 (patch)
tree446d13d777f2afd2c4e962692f18beb480eb6a84 /Wrappers/Python
parent4183664214a30a45ffdc4a2f10b70c72c7fb6cce (diff)
downloadframework-f5befc6b94366ebb966968ca648bfbdce17e37c3.tar.gz
framework-f5befc6b94366ebb966968ca648bfbdce17e37c3.tar.bz2
framework-f5befc6b94366ebb966968ca648bfbdce17e37c3.tar.xz
framework-f5befc6b94366ebb966968ca648bfbdce17e37c3.zip
removed vertical from 2D gradient
Diffstat (limited to 'Wrappers/Python')
-rw-r--r--Wrappers/Python/ccpi/optimisation/operators/GradientOperator.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Wrappers/Python/ccpi/optimisation/operators/GradientOperator.py b/Wrappers/Python/ccpi/optimisation/operators/GradientOperator.py
index 33dede2..6f32845 100644
--- a/Wrappers/Python/ccpi/optimisation/operators/GradientOperator.py
+++ b/Wrappers/Python/ccpi/optimisation/operators/GradientOperator.py
@@ -51,7 +51,7 @@ class Gradient(LinearOperator):
expected_order = [ImageGeometry.VERTICAL, ImageGeometry.HORIZONTAL_Y, ImageGeometry.HORIZONTAL_X]
else:
# 2D
- expected_order = [ImageGeometry.VERTICAL, ImageGeometry.HORIZONTAL_Y, ImageGeometry.HORIZONTAL_X]
+ expected_order = [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==Gradient.CORRELATION_SPACECHANNEL: