How to compute PLV ?

External Email - Use Caution

Dear Friends,

I am pretty new using MNE for analyzing EEG data. I used to use EEGLAB
before. Could anyone provide me a direction or a link for tutorial in terms
of how I can compute Phase Locking Value (PLV) between 2 different
electrodes or more ?

That would be really appreciated if you could give me some help.

Thank you in advanced

Best regards,
Ihshan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20190718/8ae4ac00/attachment-0001.html

External Email - Use Caution

Hi Ihshan,

You can find here
<https://martinos.org/mne/stable/generated/mne.connectivity.spectral_connectivity.html>
(
https://martinos.org/mne/stable/generated/mne.connectivity.spectral_connectivity.html)
more information and tutorials on how to calculate PLV (and other measures
like PLI, COH).

The basic function would look something like this:

con, freqs, times, n_epochs, n_tapers = spectral_connectivity
<https://martinos.org/mne/stable/generated/mne.connectivity.spectral_connectivity.html#mne.connectivity.spectral_connectivity>(
    label_ts, method='plv', mode='multitaper', sfreq=sfreq, fmin=fmin,
    fmax=fmax, faverage=True, mt_adaptive=True, n_jobs=1)

Cheers,
Amir