From 885160057882b61862f46b177efbc7d8101f890e Mon Sep 17 00:00:00 2001 From: "Jakob Jorgensen, WS at HMXIF" Date: Thu, 10 May 2018 09:26:49 +0100 Subject: Fix old imports to allow running --- Wrappers/Python/wip/demo_nexus.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'Wrappers') diff --git a/Wrappers/Python/wip/demo_nexus.py b/Wrappers/Python/wip/demo_nexus.py index 4dcc9f8..1b40e2b 100755 --- a/Wrappers/Python/wip/demo_nexus.py +++ b/Wrappers/Python/wip/demo_nexus.py @@ -8,10 +8,10 @@ Created on Wed Mar 21 14:26:21 2018 from ccpi.framework import ImageData , AcquisitionData, ImageGeometry, AcquisitionGeometry from ccpi.optimisation.algs import FISTA, FBPD, CGLS from ccpi.optimisation.funcs import Norm2sq, Norm1 -from ccpi.reconstruction.ccpiops import CCPiProjectorSimple +from ccpi.plugins.ops import CCPiProjectorSimple from ccpi.reconstruction.parallelbeam import alg as pbalg -from ccpi.reconstruction.processors import CCPiForwardProjector, CCPiBackwardProjector , \ -Normalizer , CenterOfRotationFinder , AcquisitionDataPadder +from ccpi.plugins.processors import CCPiForwardProjector, CCPiBackwardProjector +from ccpi.processors import Normalizer , CenterOfRotationFinder , AcquisitionDataPadder from ccpi.io.reader import NexusReader @@ -31,7 +31,7 @@ def avg_img(image): return avg -reader = NexusReader(os.path.join(".." ,".." ,".." , "data" , "24737_fd.nxs" )) +reader = NexusReader(os.path.join(".." ,".." ,".." , "..", "CCPi-ReconstructionFramework","data" , "24737_fd.nxs" )) dims = reader.get_projection_dimensions() print (dims) -- cgit v1.2.3