[FieldTrip] [problem] zero plv

jan-mathijs schoffelen jan.schoffelen at donders.ru.nl
Thu Apr 12 11:37:04 CEST 2012


Hi Shen-Mou,

There's a typo in the cfg that you supply to ft_freqanalysis -> cfg.ouput should read cfg.output

BW,

JM 

On Apr 12, 2012, at 10:57 AM, Shen-Mou Hsu wrote:

> Dear Users,
> 
> I try to calculate the phase locking values following the tutorial and encounter a problem.
> 
> First, I ran freqanalysis as follows:
>         cfg                         = [];
>         cfg.channel                 = 'EEG';    
>         cfg.method                  = 'mtmfft'; 
>         cfg.foi                     = 8:1:120;
>         cfg.keeptrials              = 'yes';
>         cfg.ouput                   = 'fourier';
>         cfg.tapsmofrq               = 2;
>         Phase= ft_freqanalysis(cfg, data);
> 
> I noticed that the values in both Phase.cumsumcnt and Phase.cumtapcnt are constant values (BTW, what the meaning of cumsumcnt and cumtapcnt)
> 
> Then, I ran connectivity analysis as follows
>         cfg                         = [];
>         cfg.method                  = 'plv'; 
>         PLV = ft_connectivityanalysis(cfg, Phase);
> 
> Here, I got empty matrices in both labelcmb: {0x2 cell} and plvspctrm: [0x113 double]
> 
> I wondered if there is anything wrong with the previous steps. Many thanks!
> 
> Shen-Mou Hsu
> _______________________________________________
> 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

Max Planck Institute for Psycholinguistics,
Nijmegen, The Netherlands

J.Schoffelen at donders.ru.nl
Telephone: +31-24-3614793

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20120412/e11d945d/attachment-0002.html>


More information about the fieldtrip mailing list