[med-svn] [python-mne] 352/376: STY : misc

Yaroslav Halchenko debian at onerussian.com
Fri Nov 27 17:23:20 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 2b8c40c84d33fb007a10d3ee982d9aa93734b7ce
Author: Alexandre Gramfort <alexandre.gramfort at inria.fr>
Date:   Tue Sep 13 17:00:02 2011 -0400

    STY : misc
---
 examples/inverse/plot_label_source_activations.py | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/examples/inverse/plot_label_source_activations.py b/examples/inverse/plot_label_source_activations.py
index debbe59..f8b421b 100644
--- a/examples/inverse/plot_label_source_activations.py
+++ b/examples/inverse/plot_label_source_activations.py
@@ -23,11 +23,9 @@ 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)
+pl.plot(1e3 * times, values.T)
 pl.xlabel('time (ms)')
 pl.ylabel('Source amplitude')
 pl.title('Activations in Label : %s' % label)

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