summaryrefslogtreecommitdiffstats
path: root/src/Python
diff options
context:
space:
mode:
authorEdoardo Pasca <edo.paskino@gmail.com>2017-10-27 16:50:49 +0100
committerEdoardo Pasca <edo.paskino@gmail.com>2018-01-19 14:26:06 +0000
commit63f0d3d484d736845aa964f3a0286e59bb3d0aae (patch)
treeb5e05677b7f95e3f4bc94cb7a77631567ea04c03 /src/Python
parentc1043ee5bd0bb605786b9f9533b3284203bd6306 (diff)
downloadregularization-63f0d3d484d736845aa964f3a0286e59bb3d0aae.tar.gz
regularization-63f0d3d484d736845aa964f3a0286e59bb3d0aae.tar.bz2
regularization-63f0d3d484d736845aa964f3a0286e59bb3d0aae.tar.xz
regularization-63f0d3d484d736845aa964f3a0286e59bb3d0aae.zip
bugfix
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,