From f5243c6307cfc37072b04e39536b1134717a418b Mon Sep 17 00:00:00 2001 From: Edoardo Pasca Date: Fri, 27 Oct 2017 16:50:49 +0100 Subject: bugfix --- src/Python/ccpi/reconstruction/AstraDevice.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/Python') 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, -- cgit v1.2.3