summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEdoardo Pasca <edo.paskino@gmail.com>2018-03-21 17:27:33 +0000
committerEdoardo Pasca <edo.paskino@gmail.com>2018-03-21 17:27:33 +0000
commit12e0e7104a2f9da2681e5a6a6ddd309fe259426f (patch)
treec000bc2f4a9b1b9e8258e10ca36e2bf419494aa5
parente453b6b6c4dd4869fdcc6f2b76efe96b1178d864 (diff)
downloadframework-12e0e7104a2f9da2681e5a6a6ddd309fe259426f.tar.gz
framework-12e0e7104a2f9da2681e5a6a6ddd309fe259426f.tar.bz2
framework-12e0e7104a2f9da2681e5a6a6ddd309fe259426f.tar.xz
framework-12e0e7104a2f9da2681e5a6a6ddd309fe259426f.zip
bugfix, cor undefined
-rwxr-xr-xWrappers/Python/ccpi/processors.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Wrappers/Python/ccpi/processors.py b/Wrappers/Python/ccpi/processors.py
index d98ef12..8f60cf4 100755
--- a/Wrappers/Python/ccpi/processors.py
+++ b/Wrappers/Python/ccpi/processors.py
@@ -573,7 +573,7 @@ class AcquisitionDataPadder(DataSetProcessor):
def process(self):
projections = self.get_input()
w = projections.get_dimension_size('horizontal')
- delta = w - 2 * cor
+ delta = w - 2 * self.center_of_rotation
padded_width = int (
numpy.ceil(abs(delta)) + w