749855e9d1b5bd1aa7b46db144503922fbc0a336,doc/examples/brain_extraction_dwi.py,,,#,8

Before Change


fetch_scil_b0()

dipy_home = pjoin(os.path.expanduser("~"), ".dipy")
files = [dipy_home+"/datasets_multi-site_all_companies/3T/GE/b0.nii.gz", 
         dipy_home+"/datasets_multi-site_all_companies/3T/Siemens/b0.nii.gz", 
         dipy_home+"/datasets_multi-site_all_companies/3T/Philips/b0.nii.gz",
         dipy_home+"/datasets_multi-site_all_companies/1.5T/GE/b0.nii.gz", 
         dipy_home+"/datasets_multi-site_all_companies/1.5T/Siemens/b0.nii.gz",
         dipy_home+"/datasets_multi-site_all_companies/Stanford/b0.nii.gz"]

for f in files :
    print(f)
    img = nib.load(f)

After Change


plt.figure("Brain segmentation")
plt.subplot(1,2,1)
plt.imshow(data[:,:,slice])
plt.subplot(1,2,2)
plt.imshow(b0_mask[:,:,slice])
plt.show()

Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: nipy/dipy
Commit Name: 749855e9d1b5bd1aa7b46db144503922fbc0a336
Time: 2013-08-06
Author: matthieu.dumont@usherbrooke.ca
File Name: doc/examples/brain_extraction_dwi.py
Class Name:
Method Name:


Project Name: scipy-lectures/scipy-lecture-notes
Commit Name: 6d87b5fa03420a908fbf7e72868307dd6bc3223f
Time: 2016-09-15
Author: gael.varoquaux@normalesup.org
File Name: intro/matplotlib/examples/plot_multiplot.py
Class Name:
Method Name:


Project Name: rtavenar/tslearn
Commit Name: 322771495bde9200d365c8d536e0724f1075dff9
Time: 2017-06-20
Author: romain.tavenard@univ-rennes2.fr
File Name: tslearn/docs/examples/plot_dtw.py
Class Name:
Method Name: