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 860ef78292854ffdfd75ab17a2fe53103b191f0b Author: Alexandre Gramfort <[email protected]> Date: Mon Mar 28 17:05:08 2011 -0400 minor bug fix --- mne/inverse.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/mne/inverse.py b/mne/inverse.py index 02e017f..c566f93 100644 --- a/mne/inverse.py +++ b/mne/inverse.py @@ -274,7 +274,7 @@ def combine_xyz(vec): if vec.ndim != 1 or (vec.size % 3) != 0: raise ValueError, ('Input must be a 1D vector with ' '3N entries') - return np.sqrt((noise_norm.ravel()**2).reshape(-1, 3).sum(axis=1)) + return np.sqrt((vec.ravel()**2).reshape(-1, 3).sum(axis=1)) def prepare_inverse_operator(orig, nave, lambda2, dSPM): @@ -390,7 +390,6 @@ def prepare_inverse_operator(orig, nave, lambda2, dSPM): # Even in this case return only one noise-normalization factor # per source location # - 1/0 noise_norm = np.sqrt(combine_xyz(noise_norm)) # -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/python-mne.git _______________________________________________ debian-med-commit mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-commit
