You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
function Res = StatThresh(Res,p,sigma_b,tC,S_r);FWHM = HalfMax(sigma_b); % computes the full width half maximumif exist('S_r') D = length(size(S_r)); % number of dimensions in the search space [volumes, N] = CiVol(sum(S_r(:)), D) % computes the intrinsic volumeselse D = length(size(ZSCi)); % number of dimensions in the search space [volumes, N] = CiVol(sum(ZSCi(:)), D) % computes the intrinsic volumesend; [tP, k] = stat_threshold(volumes, N, FWHM, Inf, p, tC); % the actual statistical testsRes.tP = tP;Res.p = p;Res.tC = tC;Res.k = k;Res.FWHM = FWHM;