[FieldTrip] how do I get data with dimord chan_chan_freq for ft_connectivityplot?

Marieke van Vugt m.k.van.vugt at rug.nl
Sun Nov 27 09:43:29 CET 2011


Hi everyone,
I am trying to use ft_connectivityplot, but it wants data with dimord chan_chan_freq. However, I only get data with dimord chan_freq_time or chan_freq out of ft_connectivityanalysis (I am computing coherence). For example, these are the cfgs I use:

cfg            = [];
cfg.output     = 'powandcsd';
cfg.method     = 'mtmfft';
cfg.foilim     = [4 9];
cfg.tapsmofrq  = 4;
cfg.toi = 0.1
cfg.keeptrials = 'yes';
cfg.channel    = 'all';
cfg.trials = highCohTrials'; 
cfg.channelcmb = {'all' 'all'};
fftHigh           = ft_freqanalysis(cfg,hpdat);

cfg           = [];
cfg.method    = 'coh';
cohHighEarly   = ft_connectivityanalysis(cfg, fftHigh);

cohHighEarly = 

     labelcmb: {6555x2 cell}
       dimord: 'chan_freq'
    cohspctrm: [6555x9 double]
         freq: [4 4.6667 5.3333 6 6.6667 7.3333 8 8.6667 9.3333]
         elec: [1x1 struct]
          dof: 5808
          cfg: [1x1 struct]

cfg           = [];
cfg.parameter = 'cohspctrm';
ft_connectivityplot(cfg,cohHighEarly)




What should I do?
Thanks!
Marieke

----------------------------------------------------------------------------
Marieke van Vugt, PhD
Assistant Professor, Cognitive Modeling Group
Bernoulliborg, room 326
Nijenborgh 9
9747 AG Groningen
The Netherlands
phone: +31-6-51954984 (cell)
              +31-50-363-9487 (office)
http://www.ai.rug.nl/~mkvanvugt
m.k.van.vugt at rug.nl











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


More information about the fieldtrip mailing list