[FieldTrip] SVD did not converge.

Olga Sysoeva olga.v.sysoeva at gmail.com
Tue May 10 17:15:17 CEST 2016


Dear fieldtrippers,

I was doing the source reconstruction from MEG data based on individual
headmodel (vol) and on individualized template grid (gridT). The following
script

    cfg             = [];
    cfg.method      = 'lcmv';
    %cfg.hdmfile    = 'SubjectCMC.hdm';
    cfg.headmodel   = vol;%_nii_neuromag; %or project grad to common
headmodel?
    cfg.grid    = gridT;
    cfg.keepfilter  = 'yes';
    cfg.lcmv.fixedori='yes'; %use optimal orientation
    source          = ft_sourceanalysis(cfg, timelock);

worked fine for most subjects and even for this subject but in different
condition. By some unknown reasons it shows error here.
"
*Error using svd SVD did not converge."*
Could someone comment on this?

below is a full copy from matlab output:
> In ft_checkconfig at 475
  In ft_sourceanalysis at 213
the call to "ft_selectdata" took 0 seconds and required the additional
allocation of an estimated 0 MB
using gradiometers specified in the data
converting units from 'm' to 'cm'
computing surface normals
creating dipole grid based on user specified dipole positions
using gradiometers specified in the configuration
3294 dipoles inside, 3510 dipoles outside brain
the call to "ft_prepare_sourcemodel" took 1 seconds and required the
additional allocation of an estimated 0 MB
scanning repetition 1











*Error using svdSVD did not converge.Error in beamformer_lcmv>pinv (line
387)  [U,S,V] = svd(A,0);Error in beamformer_lcmv (line 175)invCy = pinv(Cy
+ lambda * eye(size(Cy)));Error in ft_sourceanalysis (line 900)      dip(i)
= beamformer_lcmv(grid, sens, headmodel,      squeeze_avg,
squeeze(Cy(i,:,:)), optarg{:});*

Best Regards,
Olga S.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20160510/adf38e7e/attachment.html>


More information about the fieldtrip mailing list