// plot source time courses with the maximum peak amplitudes at 88 ms
plt.figure()
plt.plot(stc.times, stc.data[np.argsort(np.max(stc.data[:, idx],
axis=1))[-40:]].T)
plt.xlabel("Time (ms)")
plt.ylabel("LCMV value")
After Change
// You can save result in stc files with:
// stc.save("lcmv-vol")
clim = dict(kind="value", pos_lims=[0.3, 0.6, 0.9])
stc.plot(src=forward["src"], subject="sample", subjects_dir=subjects_dir,
clim=clim)
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////