[Mne_analysis] question about permutation_cluster_test
Fleur GAUDFERNAU
fleur.gaudfernau at pasteur.fr
Mon Apr 20 12:10:34 EDT 2020
External Email - Use Caution
Hello,
Thank you for your answer.
I'm sorry, I'm not sure how to make a PR (I'm a M2 student).
Fleur
________________________________
De : Fleur GAUDFERNAU
Envoyé : mercredi 15 avril 2020 15:28:25
À : Discussion and support forum for the users of MNE Software
Objet : question about permutation_cluster_test
Hello,
I juste have a quick question regarding mne.stats.permutation_cluster_test.
When I give it two arrays X1 and X2 of shape (n subjects x n channels x n freq), I have the following error: ValueError: connectivity (len 20484) must be of the correct size, i.e. be equal to or evenly divide the number of tests (2580984).
The error disappear if I reshape X1 and X2 into shape (n subjects x n freq x nchannels).
I was wondering why because I did not see anything about that in the documentation of permutation_cluster_test.
Thanks in advance!
Kind regards,
Fleur
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20200420/6aa72bf0/attachment.html
More information about the Mne_analysis
mailing list