diff options
author | Jakob Jorgensen, WS at HMXIF <jakob.jorgensen@manchester.ac.uk> | 2018-05-10 09:26:49 +0100 |
---|---|---|
committer | Jakob Jorgensen, WS at HMXIF <jakob.jorgensen@manchester.ac.uk> | 2018-05-10 09:26:49 +0100 |
commit | 885160057882b61862f46b177efbc7d8101f890e (patch) | |
tree | 58545a1c042867144cd7d181ef7f1cda101cb6fb | |
parent | 24e7b3e93556ed9240c18b8283ce56cf20f968e1 (diff) | |
download | framework-plugins-885160057882b61862f46b177efbc7d8101f890e.tar.gz framework-plugins-885160057882b61862f46b177efbc7d8101f890e.tar.bz2 framework-plugins-885160057882b61862f46b177efbc7d8101f890e.tar.xz framework-plugins-885160057882b61862f46b177efbc7d8101f890e.zip |
Fix old imports to allow running
-rwxr-xr-x | Wrappers/Python/wip/demo_nexus.py | 8 |
1 files changed, 4 insertions, 4 deletions
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)
|