[FieldTrip] [problem] zero plv

Shen-Mou Hsu explena at gmail.com
Thu Apr 12 12:15:40 CEST 2012


Hi JM,

Apologize for such a stupid mistake. However, I have amended the typo and
the results are the same.  Both cumsumcnt and cumtapcnt returned constant
values, 1101 (timepoints) and 3, respectively. I am indebted to your
kindness in this matter.

Shen-Mou

On Thu, Apr 12, 2012 at 5:37 PM, jan-mathijs schoffelen <
jan.schoffelen at donders.ru.nl> wrote:

> 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
>
>
> _______________________________________________
> fieldtrip mailing list
> fieldtrip at donders.ru.nl
> http://mailman.science.ru.nl/mailman/listinfo/fieldtrip
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20120412/a11794c5/attachment-0002.html>


More information about the fieldtrip mailing list