Strange PLV results

External Email - Use Caution

Hi all,

I got my phase locing values with codes like these:

fmin, fmax = 3., 30.
sfreq = epochs.info['sfreq']
tmin = 0.0
tmax = 1.0
con, freqs, times, _, _ = spectral_connectivity(
    epochs, method='plv', mode='multitaper', sfreq=sfreq, fmin=fmin, fmax=fmax,
    faverage=False, tmin=tmin, tmax=tmax, mt_adaptive=True, n_jobs=1)

Then I got the 'con' result with most of zeros. I wonder there is something wrong with my script.

Thanks for any help!

Best regards,
Yuri
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20201126/52ceb2d2/attachment-0001.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ??.PNG
Type: image/png
Size: 23369 bytes
Desc: not available
Url : http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20201126/52ceb2d2/attachment-0001.png

External Email - Use Caution

hi,

you should use plt.matshow to look at this matrix.

if you have zeros it's because I think we do not compute
full matrices when we know it's symmetric.
We only compute the lower triangular part.

HTH

Alex

        External Email - Use Caution

Hi all,

I got my phase locing values with codes like these:

fmin, fmax = 3., 30.
sfreq = epochs.info['sfreq']
tmin = 0.0
tmax = 1.0
con, freqs, times, _, _ = spectral_connectivity(
    epochs, method='plv', mode='multitaper', sfreq=sfreq, fmin=fmin,
fmax=fmax,
    faverage=False, tmin=tmin, tmax=tmax, mt_adaptive=True, n_jobs=1)

Then I got the 'con' result with most of zeros. I wonder there is
something wrong with my script.

Thanks for any help!

Best regards,
Yuri
_______________________________________________
Mne_analysis mailing list
Mne_analysis at nmr.mgh.harvard.edu
https://secure-web.cisco.com/1rxMRZy2mYunDNW9oQJ1gwdNRJOJYnHQqf-4EQBybrHTHCAnqEMtcJg_tPcjwynxnbuCkuVfkoGwTTvsM6Sdcn2UVK4vJl5zvSHCFHl5kfn907MTQ5MunrwUW5f2pjBMEVytHlZlslVMyj__ZtkzeZIx5DndZSPTXlFxkReAqc7nG6p77d1Q4I5TJq0eT4vawXczBMVta87fM20jC4Y2nYjdaIXJTHoLOpc894wAf4rtHOMDD98S0-rE6_kkIt7d6issAkH65a0G8aTDrq5KhGw/https%3A%2F%2Fmail.nmr.mgh.harvard.edu%2Fmailman%2Flistinfo%2Fmne_analysis

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20201127/6b14f9dc/attachment-0001.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ??.PNG
Type: image/png
Size: 23369 bytes
Desc: not available
Url : http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20201127/6b14f9dc/attachment-0001.png