diff options
author | Edoardo Pasca <edo.paskino@gmail.com> | 2017-10-27 16:50:49 +0100 |
---|---|---|
committer | Edoardo Pasca <edo.paskino@gmail.com> | 2017-10-27 16:50:49 +0100 |
commit | f5243c6307cfc37072b04e39536b1134717a418b (patch) | |
tree | 11ae8d1c47100de6325162aeb54b471b99b09a1d /src/Python | |
parent | 557184952b788a6cb58022d6853556c96dfe02f7 (diff) | |
download | regularization-f5243c6307cfc37072b04e39536b1134717a418b.tar.gz regularization-f5243c6307cfc37072b04e39536b1134717a418b.tar.bz2 regularization-f5243c6307cfc37072b04e39536b1134717a418b.tar.xz regularization-f5243c6307cfc37072b04e39536b1134717a418b.zip |
bugfix
Diffstat (limited to 'src/Python')
-rw-r--r-- | src/Python/ccpi/reconstruction/AstraDevice.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Python/ccpi/reconstruction/AstraDevice.py b/src/Python/ccpi/reconstruction/AstraDevice.py index ba174b3..999533b 100644 --- a/src/Python/ccpi/reconstruction/AstraDevice.py +++ b/src/Python/ccpi/reconstruction/AstraDevice.py @@ -13,6 +13,7 @@ class AstraDevice(DeviceModel): data_aquisition_geometry, reconstructed_volume_geometry) + self.type = device_type self.proj_geom = astra.creators.create_proj_geom( device_type, self.acquisition_data_geometry['detectorSpacingX'], @@ -50,6 +51,7 @@ Uses Astra-toolbox self.vol_geom) astra.matlab.data3d('delete', idx) return volume + def createReducedDevice(self): proj_geom = astra.creators.create_proj_geom( device_type, |