[med-svn] [python-mne] 52/52: FIX : hot fix in plot_find_ecg_artifacts.py

Yaroslav Halchenko debian at onerussian.com
Fri Nov 27 17:23:50 UTC 2015


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

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

commit ab65aa31a0dc54e6b5062cf7189237aa6d556a4e
Author: Alexandre Gramfort <alexandre.gramfort at inria.fr>
Date:   Tue Nov 8 12:15:57 2011 -0500

    FIX : hot fix in plot_find_ecg_artifacts.py
---
 examples/preprocessing/plot_find_ecg_artifacts.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/examples/preprocessing/plot_find_ecg_artifacts.py b/examples/preprocessing/plot_find_ecg_artifacts.py
index dcf949c..8604fd3 100644
--- a/examples/preprocessing/plot_find_ecg_artifacts.py
+++ b/examples/preprocessing/plot_find_ecg_artifacts.py
@@ -27,7 +27,8 @@ raw_fname = data_path + '/MEG/sample/sample_audvis_raw.fif'
 raw = fiff.Raw(raw_fname)
 
 event_id = 999
-ecg_events = mne.artifacts.find_ecg_events(raw, event_id)
+ecg_events, _, _ = mne.artifacts.find_ecg_events(raw, event_id,
+                                                 ch_name='MEG 1531')
 
 # Read epochs
 picks = fiff.pick_types(raw.info, meg=False, eeg=False, stim=False, eog=False,

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