d216af31b527389779d8a0024449b0687e501337,plot_nyu_rest_decomposition.py,,,#,5

Before Change



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

for i in range(n_components):
    vmax = np.max(np.abs(S[..., i]))
    plt.figure(i)
    plt.imshow(mean_img[:, :, 25], interpolation="nearest", cmap=plt.cm.gray)
    plt.imshow(S[:, :, 25, i], interpolation="nearest", cmap=plt.cm.jet,
            vmax=vmax, vmin=-vmax)

plt.show()

After Change


plt.figure()
plt.subplot(121)
plt.axis("off")
plt.title("Default mode")
vmax = np.max(np.abs(S[..., 10]))
plt.imshow(mean_img[:, :, 20], interpolation="nearest", cmap=plt.cm.gray)
plt.imshow(S[:, :, 20, 10], interpolation="nearest", cmap=plt.cm.jet,
    vmax=vmax, vmin=-vmax)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: nilearn/nilearn
Commit Name: d216af31b527389779d8a0024449b0687e501337
Time: 2012-06-22
Author: alexandre.abraham@cea.fr
File Name: plot_nyu_rest_decomposition.py
Class Name:
Method Name:


Project Name: kymatio/kymatio
Commit Name: 4f1e7f2f936bf5f3e6d1da8d8be843dc3273fe67
Time: 2018-11-21
Author: janden@flatironinstitute.org
File Name: examples/1d/plot_filters.py
Class Name:
Method Name:


Project Name: michaelhush/M-LOOP
Commit Name: 6c7bfd2b47e7ca714e6bd0229f251d602e55b97e
Time: 2020-08-25
Author: zakven@mit.edu
File Name: mloop/visualizations.py
Class Name: GaussianProcessVisualizer
Method Name: plot_hyperparameters_vs_run