649db8e4c5e5a92ee8be8dea4f410a9719024f20,plot_canica_resting_state.py,,,#,27

Before Change


components = np.ma.masked_equal(components, 0, copy=False)

for i in range(n_components):
    plt.figure()
    plt.axis("off")
    cut_coord = ndimage.maximum_position(np.abs(components[..., i]))[2]
    vmax = np.max(np.abs(components[:, :, cut_coord, i]))
    plt.imshow(np.rot90(mean_epi[:, :, cut_coord]), interpolation="nearest",

After Change


from nilearn.plotting.img_plotting import plot_stat_map

for i in range(n_components):
    plot_stat_map(nibabel.Nifti1Image(components_img.get_data()[:,:,:,5], 
                                      components_img.get_affine()), mean_img,
                  slicer="x", title="Component %d"%i)

plt.show()
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: nilearn/nilearn
Commit Name: 649db8e4c5e5a92ee8be8dea4f410a9719024f20
Time: 2014-06-17
Author: chris.gorgolewski@gmail.com
File Name: plot_canica_resting_state.py
Class Name:
Method Name:


Project Name: nilearn/nilearn
Commit Name: d190e8dc4f51f73e9d6b6e2fdf08f9cbfa352c5b
Time: 2014-06-17
Author: chris.gorgolewski@gmail.com
File Name: plot_haxby_searchlight.py
Class Name:
Method Name:


Project Name: nipy/dipy
Commit Name: b125873cb6e0fa9f99137b256ac5fc602e4b72f1
Time: 2014-01-17
Author: Samuel.St-Jean@usherbrooke.ca
File Name: dipy/denoise/tests/test_nlmeans.py
Class Name:
Method Name: test_nlmeans