From fed64803e3d9cee1b9140b3f2bece25cbf0cec38 Mon Sep 17 00:00:00 2001 From: lionel-rigoux Date: Wed, 14 Dec 2016 10:21:21 +0100 Subject: [PATCH] detect multi-gaussian sources in lesion simulation, fix #21 --- VBA_bDCM_lesion.m | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/VBA_bDCM_lesion.m b/VBA_bDCM_lesion.m index 03bf0651..905c650a 100755 --- a/VBA_bDCM_lesion.m +++ b/VBA_bDCM_lesion.m @@ -1,4 +1,4 @@ -function results=VBA_lesionAnalysis(posterior,out) +function results=VBA_bDCM_lesion(posterior,out) %% Get normal profile @@ -22,7 +22,9 @@ posterior.muTheta,... posterior.muPhi,... out.u,... - Inf,Inf,out.options,... + Inf, ... + inf(size(posterior.a_sigma)), ... + out.options,... posterior.muX0); rnormal.y=yp-er; @@ -41,7 +43,9 @@ posterior_l.muTheta,... posterior.muPhi,... out.u,... - Inf,Inf,out.options,... + Inf, ... + inf(size(posterior.a_sigma)), ... + out.options,... posterior.muX0); rlesion(iRegion).y=yp-er;