[FieldTrip] WPLI

Cristiano Micheli michelic72 at gmail.com
Mon Sep 4 13:19:27 CEST 2017

Dear Linzhangysu

the wPLI metric requires you to have your experimental design matrix
organized in 'repetitions' or 'trials'.
This is typically the case (but not only) of an evoked related design,
where the repetitions dimension is used to calculate your 'average' wPLI
across trials, and this is what the FT code is doing for you in the
*ft_connectivity_wpli* function.
In summary, with this formula you will not be able to apply wPLI to a
single trial (e.g. like in resting state). If your experiment allows
organizing the experimental data into 'trials' (with the operation of
epoching) then you can solve your problem, otherwise you will have to use
other metrics of phase coupling.

Cris Micheli

On Mon, Sep 4, 2017 at 1:09 PM, linzhangysu at outlook.com <
linzhangysu at outlook.com> wrote:

> [image: cid:image002.png at 01D325AA.E537BE20]
> I want to calculate the WPLI of 64 channels for one subject. But I met
> some questions.
> Firstly, I didn’t understand the meaning of repetitions (just as the
> maker of the figure ). The dimension of repetitions was 1 in my MATLAB code
> , which resulted  in the WPLI result are NaN vectors. How can I solve the
> problem about ‘repetitions’?
> I am looking forward to your reply very urgently, Thank you !
> _______________________________________________
> fieldtrip mailing list
> fieldtrip at donders.ru.nl
> https://mailman.science.ru.nl/mailman/listinfo/fieldtrip
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20170904/888759fe/attachment-0002.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 41C8A441EE344C5FB6F9EBCBE63CA91A.png
Type: image/png
Size: 103525 bytes
Desc: not available
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20170904/888759fe/attachment-0002.png>

More information about the fieldtrip mailing list