[med-svn] [python-mne] 86/353: DOC : docstring formatting
Yaroslav Halchenko
debian at onerussian.com
Fri Nov 27 17:24:35 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 d2ebbdfb470e74b456b97186877da1e63860d04e
Author: Alexandre Gramfort <alexandre.gramfort at inria.fr>
Date: Tue Feb 28 10:52:07 2012 +0100
DOC : docstring formatting
---
mne/fiff/evoked.py | 35 +++++++++++++++++++----------------
1 file changed, 19 insertions(+), 16 deletions(-)
diff --git a/mne/fiff/evoked.py b/mne/fiff/evoked.py
index 38f05a1..394dfc4 100644
--- a/mne/fiff/evoked.py
+++ b/mne/fiff/evoked.py
@@ -22,8 +22,27 @@ from .write import start_file, start_block, end_file, end_block, \
class Evoked(object):
"""Evoked data
+ Parameters
+ ----------
+ fname : string
+ Name of evoked/average FIF file to load.
+ If None no data is loaded.
+
+ setno : int
+ Dataset ID number. Optional if there is only one data set
+ in file.
+
+ proj : bool, optional
+ Apply SSP projection vectors
+
Attributes
----------
+ info: dict
+ Measurement info
+
+ ch_names: list of string
+ List of channels' names
+
nave : int
Number of averaged epochs
@@ -47,22 +66,6 @@ class Evoked(object):
"""
def __init__(self, fname, setno=None, baseline=None, proj=True):
- """
- Parameters
- ----------
- fname : string
- Name of evoked/average FIF file to load.
- If None no data is loaded.
-
- setno : int
- Dataset ID number. Optional if there is only one data set
- in file.
-
- proj : bool, optional
- Apply SSP projection vectors
-
- """
-
if fname is None:
return
--
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