[FieldTrip] Issue using ft_sourceanalysis

Junseok Kim junseok.kim at mail.utoronto.ca
Tue Oct 2 19:31:40 CEST 2018


I have just recently updated to the latest version of FieldTrip and I ran into a probelm I have never ran into before while using ft_sourceanalysis

Reference to non-existent field 'dimord'.

Error in ft_sourceanalysis (line 788)
    if strcmp(data.dimord, 'chan_time')

in which the input was

cfg                   = [];
cfg.method            = 'lcmv';
cfg.grid              = source_model;
cfg.headmodel         = vol;
cfg.lcmv.keepfilter   = 'yes';
cfg.grad              = dataica.grad;

lcmvsource            = ft_sourceanalysis(cfg, timelock);

and the timelock analysis was performed by

cfg            = [];
cfg.channel     = 'meggrad';
cfg.covariance         = 'yes';
cfg.covariancewindow   = 'all';
cfg.vartrllength       = 2;
cfg.keeptrials         = 'yes';
timelock      = ft_timelockanalysis(cfg, dataica);

This was performed on MATLAB 2015b on Neuromag resting state data divided into 10s epochs

If anyone has run  into this issue or has a solution for it, let me know.



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20181002/e7038717/attachment-0001.html>

More information about the fieldtrip mailing list