[med-svn] [python-mne] 131/376: pep8
Yaroslav Halchenko
debian at onerussian.com
Fri Nov 27 17:22: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 55d8f0668de45d6d77f782deb7994231bebf851f
Author: Alexandre Gramfort <alexandre.gramfort at inria.fr>
Date: Mon Mar 14 09:39:19 2011 -0400
pep8
---
mne/time_frequency/tfr.py | 3 +++
1 file changed, 3 insertions(+)
diff --git a/mne/time_frequency/tfr.py b/mne/time_frequency/tfr.py
index 3847eae..cd1aa67 100644
--- a/mne/time_frequency/tfr.py
+++ b/mne/time_frequency/tfr.py
@@ -168,6 +168,7 @@ def cwt_morlet(X, Fs, freqs, use_fft=True, n_cycles=7.0):
return tfrs
+
def _time_frequency(X, Ws, use_fft):
"""Aux of time_frequency for parallel computing over channels
"""
@@ -189,6 +190,7 @@ def _time_frequency(X, Ws, use_fft):
return psd, plf
+
def single_trial_power(epochs, Fs, frequencies, use_fft=True, n_cycles=7):
"""Compute time-frequency power on single epochs
"""
@@ -213,6 +215,7 @@ def single_trial_power(epochs, Fs, frequencies, use_fft=True, n_cycles=7):
return power
+
def induced_power(data, Fs, frequencies, use_fft=True, n_cycles=25,
n_jobs=1):
"""Compute time induced power and inter-trial phase-locking factor
--
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