summaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
authorDaniel M. Pelt <D.M.Pelt@cwi.nl>2015-07-21 13:51:50 +0200
committerWillem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl>2015-07-23 11:57:20 +0200
commit14ce794a1654f82fe8ac414e56e842242bece729 (patch)
tree2ccb6778c786d2861ffc303db5ec066300c8a73c /python
parentdc3bed557603d4735ddc20961c28e5e868fc315c (diff)
downloadastra-14ce794a1654f82fe8ac414e56e842242bece729.tar.gz
astra-14ce794a1654f82fe8ac414e56e842242bece729.tar.bz2
astra-14ce794a1654f82fe8ac414e56e842242bece729.tar.xz
astra-14ce794a1654f82fe8ac414e56e842242bece729.zip
Also use ProjectorId in ReconstructionAlgorithm3D plugin base
Diffstat (limited to 'python')
-rw-r--r--python/astra/plugin.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/python/astra/plugin.py b/python/astra/plugin.py
index 11cc5cc..3e3528d 100644
--- a/python/astra/plugin.py
+++ b/python/astra/plugin.py
@@ -86,6 +86,7 @@ class ReconstructionAlgorithm2D(base):
class ReconstructionAlgorithm3D(base):
def astra_init(self, cfg):
+ self.pid = cfg['ProjectorId']
self.s = data3d.get_shared(cfg['ProjectionDataId'])
self.v = data3d.get_shared(cfg['ReconstructionDataId'])
self.vg = data3d.get_geometry(cfg['ReconstructionDataId'])