[med-svn] [python-mne] 87/376: Fixed the time scale

Yaroslav Halchenko debian at onerussian.com
Fri Nov 27 17:22:13 UTC 2015


This is an automated email from the git hooks/post-receive script.

yoh pushed a commit to annotated tag v0.1
in repository python-mne.

commit 974205f214c131c5d68e3dac824ee4936045b151
Author: Matti Hamalainen <msh at nmr.mgh.harvard.edu>
Date:   Thu Feb 17 16:10:02 2011 -0500

    Fixed the time scale
---
 examples/plot_compute_mne_inverse.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/examples/plot_compute_mne_inverse.py b/examples/plot_compute_mne_inverse.py
index 0fe1320..ab30d7a 100644
--- a/examples/plot_compute_mne_inverse.py
+++ b/examples/plot_compute_mne_inverse.py
@@ -46,7 +46,7 @@ mne.write_stc('mne_dSPM_inverse-rh.stc', tmin=res['tmin'], tstep=res['tstep'],
 ###############################################################################
 # View activation time-series
 times = res['tmin'] + res['tstep'] * np.arange(lh_data.shape[1])
-pl.plot(times, res['sol'][::100,:].T)
+pl.plot(1000*times, res['sol'][::100,:].T)
 pl.xlabel('time (ms)')
-pl.ylabel('Source amplitude')
+pl.ylabel('dSPM value')
 pl.show()

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/python-mne.git



More information about the debian-med-commit mailing list