[med-svn] [python-mne] 344/376: Fix time units (s->ms)

Yaroslav Halchenko debian at onerussian.com
Fri Nov 27 17:23:19 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 2912534fb45b25495d648fe7736aa34c54b81c75
Author: ellenlau <ellenlau at umd.edu>
Date:   Thu Aug 25 20:45:35 2011 -0300

    Fix time units (s->ms)
---
 examples/inverse/plot_label_source_activations.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/examples/inverse/plot_label_source_activations.py b/examples/inverse/plot_label_source_activations.py
index a113c1c..debbe59 100644
--- a/examples/inverse/plot_label_source_activations.py
+++ b/examples/inverse/plot_label_source_activations.py
@@ -23,6 +23,8 @@ values, times, vertices = mne.label_time_courses(label_fname, stc_fname)
 
 print "Number of vertices : %d" % len(vertices)
 
+times=times*1000
+
 # View source activations
 import pylab as pl
 pl.plot(times, values.T)

-- 
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