[med-svn] [python-mne] 305/376: misc in MNE

Yaroslav Halchenko debian at onerussian.com
Fri Nov 27 17:23:10 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 13903764de9795aac08e832e7b843f4d5a7b7b82
Author: Alexandre Gramfort <alexandre.gramfort at inria.fr>
Date:   Sat Jun 18 12:14:51 2011 -0400

    misc in MNE
---
 mne/minimum_norm/inverse.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/mne/minimum_norm/inverse.py b/mne/minimum_norm/inverse.py
index 9ccf519..97a9d2b 100644
--- a/mne/minimum_norm/inverse.py
+++ b/mne/minimum_norm/inverse.py
@@ -655,7 +655,7 @@ def _xyz2lf(Lf_xyz, normals):
 
 def minimum_norm(evoked, forward, whitener, method='dspm',
                  orientation='fixed', snr=3, loose=0.2, depth=True,
-                 weight_exp=0.5, weight_limit=10, fmri=None, fmri_thresh=None,
+                 weight_exp=0.8, weight_limit=10, fmri=None, fmri_thresh=None,
                  fmri_off=0.1):
     """Minimum norm estimate (MNE)
 
@@ -845,7 +845,7 @@ def minimum_norm(evoked, forward, whitener, method='dspm',
         elif n_dip_per_pos in [2, 3]:
             for k in n_positions:
                 start = k * n_dip_per_pos
-                stop = (k + 1) * n_dip_per_pos
+                stop = start + n_dip_per_pos
                 R = np.dot(Kernel[start:stop, :], gain[:, start:stop])
                 SIR = linalg.matfuncs.sqrtm(R, linalg.pinv(R))
                 Kernel[start:stop] = np.dot(SIR, Kernel[start:stop])

-- 
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