From 7fd42101e608e57de66eb9bebd6abbbc704c019a Mon Sep 17 00:00:00 2001 From: epapoutsellis Date: Fri, 30 Nov 2018 14:03:11 +0000 Subject: add allocate_direct --- Wrappers/Python/ccpi/astra/ops.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Wrappers/Python/ccpi/astra/ops.py b/Wrappers/Python/ccpi/astra/ops.py index 2e9d6af..6f3bb1b 100755 --- a/Wrappers/Python/ccpi/astra/ops.py +++ b/Wrappers/Python/ccpi/astra/ops.py @@ -181,4 +181,7 @@ class AstraProjectorMC(Operator): return DataContainer(numpy.random.randn(self.volume_geometry.channels, inputsize[0], inputsize[1])) + + def allocate_direct(self): + return self.create_image_data() -- cgit v1.2.3