case 'interp' disp(' Interpolating the ODF. This might take some time...') res = get_option(varargin,'resolution',3*degree); % interpolate S3G = equispacedSO3Grid(cs,ss,'resolution',res);
% get kernel psi = get_option(varargin,'kernel',deLaValeePoussinKernel('halfwidth',res));
M = psi.K_symmetrised(S3G,q,cs,ss);
MM = M * M'; mw = M * weights; w = pcg(MM,mw,1e-2,30); %sum(w)
odf = unimodalODF(S3G,psi,cs,ss,'weights',w./sum(w));