Skip to content

Commit

Permalink
DEFAULT: v_settings, tol, del_settings, inu_reg
Browse files Browse the repository at this point in the history
  • Loading branch information
brudfors committed Mar 16, 2022
1 parent d42f7a0 commit 9df1339
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions spm_CTseg.m
Original file line number Diff line number Diff line change
Expand Up @@ -85,11 +85,11 @@
if nargin < 6, skullstrip = false; end
if nargin < 7, vox = NaN; end
if nargin < 8
v_settings = [0.00001 0 0.4 0.1 0.4] * 2;
v_settings = [0.0001 0 0.4 0.1 0.4] * 2;
elseif numel(v_settings) == 1
v_settings = [0.00001 0 0.4 0.1 0.4] .* v_settings;
v_settings = [0.0001 0 0.4 0.1 0.4] .* v_settings;
end
if nargin < 9, tol = 0.5*0.001; end
if nargin < 9, tol = 0.001; end

% check MATLAB path
%--------------------------------------------------------------------------
Expand Down Expand Up @@ -192,13 +192,13 @@
run.v_settings = v_settings;
run.tol = tol;
run.aff = 'Aff(3)';
run.del_settings = 1e3;
run.del_settings = 1;
% image
run.gmm.pr.file = {pth_int};
run.gmm.pr.hyperpriors = [];
run.gmm.chan.images = {Nii(1).dat.fname};
run.gmm.chan.modality = 2;
run.gmm.chan.inu.inu_reg = 1e6;
run.gmm.chan.inu.inu_reg = 1e7;
% output settings
out = struct;
out.result = {fullfile(run.odir{1},['mb_fit_' run.onam '.mat'])};
Expand Down

0 comments on commit 9df1339

Please sign in to comment.