From 41adfb0612ded14bb8565504d312d5c3cbbb27c8 Mon Sep 17 00:00:00 2001 From: epapoutsellis Date: Wed, 12 Jun 2019 15:54:13 +0100 Subject: fix power method --- Wrappers/Python/ccpi/astra/operators/AstraProjectorMC.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Wrappers/Python/ccpi/astra/operators/AstraProjectorMC.py b/Wrappers/Python/ccpi/astra/operators/AstraProjectorMC.py index 514ffce..9a982a5 100644 --- a/Wrappers/Python/ccpi/astra/operators/AstraProjectorMC.py +++ b/Wrappers/Python/ccpi/astra/operators/AstraProjectorMC.py @@ -67,5 +67,5 @@ class AstraProjectorMC(LinearOperator): def norm(self): x0 = self.volume_geometry.allocate('random') - self.s1, sall, svec = LinearOperator.PowerMethodNonsquare(self, 50, x0) - return self.s1 \ No newline at end of file + self.s1, sall, svec = LinearOperator.PowerMethod(self, 50, x0) + return self.s1 -- cgit v1.2.3