changeset 33:b4c65a54aa7d draft

Uploaded
author greg
date Thu, 30 Nov 2017 09:53:30 -0500
parents 221c1fe8be2c
children fd434b04f717
files dmri.py
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/dmri.py	Thu Nov 30 09:46:09 2017 -0500
+++ b/dmri.py	Thu Nov 30 09:53:30 2017 -0500
@@ -44,6 +44,10 @@
     img = nibabel.load(fdwi)
 else:
     img, gtab, labels = read_stanford_labels()
+    fdwi = os.path.join(input_dir, 'HARDI150.nii.gz')
+    fbval = os.path.join(input_dir, 'HARDI150.bval')
+    fbvec = os.path.join(input_dir, 'HARDI150.bvec')
+
 data = img.get_data()
 # data is a 4D array where the first 3 dimensions are the i, j,
 # k voxel coordinates and the last dimension is the number of