diff options
-rwxr-xr-x | Wrappers/Python/ccpi/astra/ops.py | 3 |
1 files changed, 3 insertions, 0 deletions
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() |