From 7ab438acd11d80580661c7416c6be104c47f0499 Mon Sep 17 00:00:00 2001 From: Edoardo Pasca Date: Fri, 14 Jun 2019 12:50:43 +0100 Subject: removed hard coded directory --- Wrappers/Python/wip/demo_astra_nexus.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Wrappers/Python/wip/demo_astra_nexus.py b/Wrappers/Python/wip/demo_astra_nexus.py index 64895dd..bb23e81 100644 --- a/Wrappers/Python/wip/demo_astra_nexus.py +++ b/Wrappers/Python/wip/demo_astra_nexus.py @@ -6,6 +6,7 @@ # The data set is available from # https://github.com/DiamondLightSource/Savu/blob/master/test_data/data/24737_fd.nxs # and should be downloaded to a local directory to be specified below. +# The data should be flat-field and dark-field corrected. # All own imports from ccpi.framework import ImageData, ImageGeometry @@ -21,7 +22,7 @@ import matplotlib.pyplot as plt ## Set up a reader object pointing to the Nexus data set. Revise path as needed. # The data is already corrected for by flat and dark field. -myreader = NEXUSDataReader(nexus_file="/media/newhd/shared/Data/nexus/24737_fd_normalised.nxs" ) +myreader = NEXUSDataReader(nexus_file="REPLACE_THIS_BY_PATH_TO_DATASET/24737_fd_normalised.nxs" ) data= myreader.load_data() # Negative logarithm transoform. -- cgit v1.2.3