[FieldTrip] Loading atlas_MMP1.0_4k.mat error not found && ft_sourceanalysis SVD NaN Inf

Andrade Rey René rene.andrade at edu.uah.es
Fri Mar 5 11:21:50 CET 2021


Dear community:
I m trying to run the tutorial of connectivity EEG analysis modified from MEG. And I receive this error message.



Error using load
Unable to read file 'atlas_MMP1.0_4k.mat'. No such file or directory.

Error in fieldtrip_coherence (line 231)
load atlas_MMP1.0_4k.mat;


 I could finally reduce the source model to 3d8 because 3d10 gives an error of NaN or Inf.

Error using svd
Input to SVD must not contain NaN or Inf.

Error in ft_inverse_pcc>pinv (line 352)
  [U,S,V] = svd(A,0);

Error in ft_inverse_pcc (line 253)
          filt = pinv(lfa' * invCmeg * lfa) * lfa' * invCmeg;

Error in ft_sourceanalysis (line 775)
          dip(i) = ft_inverse_pcc(sourcemodel, sens, headmodel, avg, squeeze_Cf,
          methodopt{:}, leadfieldopt{:}, 'refdip', cfg.refdip, 'refchan', refchanindx,
          'supdip', cfg.supdip, 'supchan', supchanindx);

Error in fieldtrip_coherence (line 108)
source = ft_sourceanalysis(cfg, freq);


Best,
Rene Andrade.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20210305/4215a0fa/attachment.htm>


More information about the fieldtrip mailing list