[FieldTrip] cfg.bandwidth field missing

Karl Doron karl.doron at gmail.com
Tue Jun 26 19:29:02 CEST 2012


Hello,

I'm trying to use ft_connectivityanalysis with the phase slope index
method. There is an error in ft_connectivityanalysis because the field
"bandwidth" is missing.

cfg           = [];
cfg.method    = 'psi';
psi       = ft_connectivityanalysis(cfg, freq);
selection fourierspctrm along dimension 2
averaging crsspctrm over rpt
removing dimension rpt from crsspctrm
Reference to non-existent field 'bandwidth'.

Error in ft_connectivityanalysis (line 719)
    nbin   = nearest(data.freq, data.freq(1)+cfg.bandwidth)-1;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20120626/1f090826/attachment-0001.html>


More information about the fieldtrip mailing list