diff options
3 files changed, 4 insertions, 7 deletions
diff --git a/Wrappers/Python/ccpi/astra/operators/AstraProjector3DSimple.py b/Wrappers/Python/ccpi/astra/operators/AstraProjector3DSimple.py index 8058cdc..8ba7684 100644 --- a/Wrappers/Python/ccpi/astra/operators/AstraProjector3DSimple.py +++ b/Wrappers/Python/ccpi/astra/operators/AstraProjector3DSimple.py @@ -17,7 +17,6 @@ from ccpi.optimisation.operators import Operator, LinearOperator from ccpi.framework import AcquisitionData, ImageData, DataContainer -from ccpi.optimisation.ops import PowerMethodNonsquare from ccpi.astra.processors import AstraForwardProjector, AstraBackProjector, \ AstraForwardProjector3D, AstraBackProjector3D @@ -65,5 +64,5 @@ class AstraProjector3DSimple(LinearOperator): def norm(self): x0 = self.volume_geometry.allocate('random') - self.s1, sall, svec = PowerMethodNonsquare(self, 50, x0) + self.s1, sall, svec = LinearOperator.PowerMethodNonsquare(self, 50, x0) return self.s1
\ No newline at end of file diff --git a/Wrappers/Python/ccpi/astra/operators/AstraProjectorMC.py b/Wrappers/Python/ccpi/astra/operators/AstraProjectorMC.py index f796a63..514ffce 100644 --- a/Wrappers/Python/ccpi/astra/operators/AstraProjectorMC.py +++ b/Wrappers/Python/ccpi/astra/operators/AstraProjectorMC.py @@ -17,7 +17,6 @@ from ccpi.optimisation.operators import Operator, LinearOperator from ccpi.framework import AcquisitionData, ImageData, DataContainer -from ccpi.optimisation.ops import PowerMethodNonsquare from ccpi.astra.processors import AstraForwardProjector, AstraBackProjector, \ AstraForwardProjectorMC, AstraBackProjectorMC, AstraForwardProjector3D, \ AstraBackProjector3D @@ -68,5 +67,5 @@ class AstraProjectorMC(LinearOperator): def norm(self): x0 = self.volume_geometry.allocate('random') - self.s1, sall, svec = PowerMethodNonsquare(self, 50, x0) + self.s1, sall, svec = LinearOperator.PowerMethodNonsquare(self, 50, x0) return self.s1
\ No newline at end of file diff --git a/Wrappers/Python/ccpi/astra/operators/AstraProjectorSimple.py b/Wrappers/Python/ccpi/astra/operators/AstraProjectorSimple.py index 71bc3c6..ffe4700 100644 --- a/Wrappers/Python/ccpi/astra/operators/AstraProjectorSimple.py +++ b/Wrappers/Python/ccpi/astra/operators/AstraProjectorSimple.py @@ -17,7 +17,6 @@ from ccpi.optimisation.operators import Operator, LinearOperator from ccpi.framework import AcquisitionData, ImageData, DataContainer -from ccpi.optimisation.ops import PowerMethodNonsquare from ccpi.astra.processors import AstraForwardProjector, AstraBackProjector class AstraProjectorSimple(LinearOperator): @@ -66,5 +65,5 @@ class AstraProjectorSimple(LinearOperator): def norm(self): x0 = self.volume_geometry.allocate('random') - self.s1, sall, svec = PowerMethodNonsquare(self, 50, x0) - return self.s1
\ No newline at end of file + self.s1, sall, svec = LinearOperator.PowerMethodNonsquare(self, 50, x0) + return self.s1 |