[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 11:39:18 CET 2011


Super! That works!
Marieke

On Nov 27, 2011, at 10:14 , jan-mathijs schoffelen wrote:

> Hi Marieke,
> 
> You can have a look here to get your analysis settings such that you can use ft_connectivityplot. In short, please specify cfg.output = 'fourier' rather than 'powandcsd' (and also omit the cfg.channelcmb) prior to calling ft_freqanalysis, and 'een kind kan de was doen'.
> 
> http://fieldtrip.fcdonders.nl/tutorial/connectivity
> 
> Best wishes,
> 
> Jan-Mathijs
> 
> On Nov 27, 2011, at 9:43 AM, Marieke van Vugt wrote:
> 
>> 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
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> _______________________________________________
>> fieldtrip mailing list
>> fieldtrip at donders.ru.nl
>> http://mailman.science.ru.nl/mailman/listinfo/fieldtrip
> 
> Jan-Mathijs Schoffelen, MD PhD 
> Donders Institute for Brain, Cognition and Behaviour, 
> Centre for Cognitive Neuroimaging,
> Radboud University Nijmegen, The Netherlands
> J.Schoffelen at donders.ru.nl
> Telephone: +31-24-3614793
> 
> _______________________________________________
> fieldtrip mailing list
> fieldtrip at donders.ru.nl
> http://mailman.science.ru.nl/mailman/listinfo/fieldtrip

----------------------------------------------------------------------------
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/0c22c456/attachment-0001.html>


More information about the fieldtrip mailing list