[med-svn] [python-mne] 48/353: FIX : hard coding stime channel in mne.find_events
Yaroslav Halchenko
debian at onerussian.com
Fri Nov 27 17:24:29 UTC 2015
This is an automated email from the git hooks/post-receive script.
yoh pushed a commit to tag 0.4
in repository python-mne.
commit d57ec0c17da73d567646a6107937ae7c4927de95
Author: Alexandre Gramfort <alexandre.gramfort at inria.fr>
Date: Fri Jan 6 17:36:09 2012 +0100
FIX : hard coding stime channel in mne.find_events
---
mne/event.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/mne/event.py b/mne/event.py
index fefd59a..37ee112 100644
--- a/mne/event.py
+++ b/mne/event.py
@@ -95,7 +95,7 @@ def find_events(raw, stim_channel='STI 014'):
The array of event onsets in time samples.
"""
- pick = pick_channels(raw.info['ch_names'], include=['STI 014'],
+ pick = pick_channels(raw.info['ch_names'], include=[stim_channel],
exclude=[])
if len(pick) == 0:
raise ValueError('No stim channel found to extract event triggers.')
--
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