[med-svn] [python-mne] 219/376: adding ch_names property in Raw
Yaroslav Halchenko
debian at onerussian.com
Fri Nov 27 17:22:42 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 93313fd988f54f2122a8f2286f93bd5ce53dd2d7
Author: Alexandre Gramfort <alexandre.gramfort at inria.fr>
Date: Tue Apr 26 11:43:09 2011 -0400
adding ch_names property in Raw
---
mne/fiff/raw.py | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/mne/fiff/raw.py b/mne/fiff/raw.py
index 5d9d15a..bf1c588 100755
--- a/mne/fiff/raw.py
+++ b/mne/fiff/raw.py
@@ -247,6 +247,10 @@ class Raw(dict):
self.last_samp - self.first_samp + 1)
return "Raw (%s)" % s
+ @property
+ def ch_names(self):
+ return self.info['ch_names']
+
def read_raw_segment(raw, start=0, stop=None, sel=None):
"""Read a chunck of raw data
--
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