<div dir="ltr"><div>Dear fieldtrippers,<br><br></div>I was doing the source reconstruction from MEG data based on individual headmodel (vol) and on individualized template grid (gridT). The following script<br><div><div>    <br>    cfg             = [];<br>    cfg.method      = 'lcmv';<br>    %cfg.hdmfile    = 'SubjectCMC.hdm';<br>    cfg.headmodel   = vol;%_nii_neuromag; %or project grad to common headmodel?<br>    cfg.grid    = gridT;<br>    cfg.keepfilter  = 'yes';<br>    cfg.lcmv.fixedori='yes'; %use optimal orientation<br>    source          = ft_sourceanalysis(cfg, timelock);<br><br>worked fine for most subjects and even for this subject but in different condition. By some unknown reasons it shows error here.<br><div>" <b>Error using svd SVD did not converge."<br></b></div><div>Could someone comment on this?<b><br></b></div><br>below is a full copy from matlab output:<br>> In ft_checkconfig at 475<br>  In ft_sourceanalysis at 213 <br>the call to "ft_selectdata" took 0 seconds and required the additional allocation of an estimated 0 MB<br>using gradiometers specified in the data<br>converting units from 'm' to 'cm'<br>computing surface normals<br>creating dipole grid based on user specified dipole positions<br>using gradiometers specified in the configuration<br>3294 dipoles inside, 3510 dipoles outside brain<br>the call to "ft_prepare_sourcemodel" took 1 seconds and required the additional allocation of an estimated 0 MB<br>scanning repetition 1<br><b>Error using svd<br>SVD did not converge.<br><br>Error in beamformer_lcmv>pinv (line 387)<br>  [U,S,V] = svd(A,0);<br><br>Error in beamformer_lcmv (line 175)<br>invCy = pinv(Cy + lambda * eye(size(Cy)));<br><br>Error in ft_sourceanalysis (line 900)<br>      dip(i) = beamformer_lcmv(grid, sens, headmodel,<br>      squeeze_avg, squeeze(Cy(i,:,:)), optarg{:});</b><br><br></div><div>Best Regards,<br></div><div>Olga S.<br></div></div></div>