diff options
author | Edoardo Pasca <edo.paskino@gmail.com> | 2018-03-21 17:27:33 +0000 |
---|---|---|
committer | Edoardo Pasca <edo.paskino@gmail.com> | 2018-03-21 17:27:33 +0000 |
commit | 12e0e7104a2f9da2681e5a6a6ddd309fe259426f (patch) | |
tree | c000bc2f4a9b1b9e8258e10ca36e2bf419494aa5 /Wrappers | |
parent | e453b6b6c4dd4869fdcc6f2b76efe96b1178d864 (diff) | |
download | framework-12e0e7104a2f9da2681e5a6a6ddd309fe259426f.tar.gz framework-12e0e7104a2f9da2681e5a6a6ddd309fe259426f.tar.bz2 framework-12e0e7104a2f9da2681e5a6a6ddd309fe259426f.tar.xz framework-12e0e7104a2f9da2681e5a6a6ddd309fe259426f.zip |
bugfix, cor undefined
Diffstat (limited to 'Wrappers')
-rwxr-xr-x | Wrappers/Python/ccpi/processors.py | 2 |
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
|