Skip to content

Commit

Permalink
detect multi-gaussian sources in lesion simulation, fix #21
Browse files Browse the repository at this point in the history
  • Loading branch information
lionel-rigoux committed Dec 14, 2016
1 parent 6ccc5eb commit 2cb3ba3
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions VBA_bDCM_lesion.m
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
function results=VBA_lesionAnalysis(posterior,out)
function results=VBA_bDCM_lesion(posterior,out)

%% Get normal profile

Expand All @@ -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;
Expand All @@ -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;
Expand Down

0 comments on commit 2cb3ba3

Please sign in to comment.