system
(system)
November 26, 2020, 6:21am
1
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
system
(system)
November 27, 2020, 1:36pm
2
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
Mne_analysis Info Page
-------------- 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