summaryrefslogtreecommitdiffstats
path: root/src/Python
diff options
context:
space:
mode:
Diffstat (limited to 'src/Python')
-rw-r--r--src/Python/ccpi/reconstruction/AstraDevice.py2
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,