6636b1363d90aafa2acd9f782be9815f8b9dac01,doc/examples/streamline_registration.py,,,#,31

Before Change


else:
    from dipy.data import read_stanford_hardi
    hardi_img, gtab = read_stanford_hardi()
    data = hardi_img.get_data()
    vox_size = hardi_img.header.get_zooms()[0]


The second one will be the T2-contrast MNI template image, which we"ll need to

After Change


    data, affine, hardi_img = load_nifti(hardi_fname, return_img=True)
    vox_size = hardi_img.header.get_zooms()[0]
    bvals, bvecs = read_bvals_bvecs(hardi_bval, hardi_bvec)
    gtab = gradient_table(bvals, bvecs)


The second one will be the T2-contrast MNI template image, which we"ll need to
reslice to 2x2x2 mm isotropic voxel resolution to match the HARDI data.
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 3

Instances


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: b9aac6f4f32d755595c577c5fc5ac0936a914031
Time: 2020-01-03
Author: skab12@gmail.com
File Name: doc/examples/reconst_csd.py
Class Name:
Method Name:


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/reconst_ivim.py
Class Name:
Method Name: