b9aac6f4f32d755595c577c5fc5ac0936a914031,doc/examples/restore_dti.py,,,#,55

Before Change


And use them to index into the data:


data = img.get_data()[roi_idx]


This dataset is not very noisy, so we will artificially corrupt it to simulate

After Change


hardi_fname, hardi_bval, hardi_bvec = dpd.get_fnames("stanford_hardi")
data, affine = load_nifti(hardi_fname)

bvals, bvecs = read_bvals_bvecs(hardi_bval, hardi_bvec)
gtab = gradient_table(bvals, bvecs)


We initialize a DTI model class instance using the gradient table used in the
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 3

Instances


Project Name: nipy/dipy
Commit Name: b9aac6f4f32d755595c577c5fc5ac0936a914031
Time: 2020-01-03
Author: skab12@gmail.com
File Name: doc/examples/restore_dti.py
Class Name:
Method Name:


Project Name: nipy/dipy
Commit Name: 6636b1363d90aafa2acd9f782be9815f8b9dac01
Time: 2020-01-03
Author: skab12@gmail.com
File Name: doc/examples/streamline_registration.py
Class Name:
Method Name:


Project Name: nipy/dipy
Commit Name: 6636b1363d90aafa2acd9f782be9815f8b9dac01
Time: 2020-01-03
Author: skab12@gmail.com
File Name: doc/examples/reconst_ivim.py
Class Name:
Method Name:


Project Name: nipy/dipy
Commit Name: b9aac6f4f32d755595c577c5fc5ac0936a914031
Time: 2020-01-03
Author: skab12@gmail.com
File Name: doc/examples/reconst_csd.py
Class Name:
Method Name: