[med-svn] [python-mne] 97/376: FIX : in cov whitening
Yaroslav Halchenko
debian at onerussian.com
Fri Nov 27 17:22:16 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 d9449a674f06fa3921b45e9225bf1e7ceecb8dc4
Author: Alexandre Gramfort <alexandre.gramfort at inria.fr>
Date: Mon Feb 28 17:48:05 2011 -0500
FIX : in cov whitening
---
mne/cov.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/mne/cov.py b/mne/cov.py
index 1aa8288..1771648 100644
--- a/mne/cov.py
+++ b/mne/cov.py
@@ -138,7 +138,7 @@ class Covariance(object):
# This matrix can be multiplied with data and leadfield matrix to get
# whitened inverse solutions.
d = 1.0 / np.sqrt(d)
- W = np.dot(V, d[:,None] * V.T)
+ W = d[:,None] * V.T
# Get all channel indices
n_channels = len(ave['info']['chs'])
--
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