Hello MNE community,
I am a bit confused about the input to mne.stats.permutation_cluster_1samp_test(X) (see related topic Data for permutation cluster 1samp test)
I have 40 participants that were tested in 2 conditions so a within subject design. I am interested in pre stimulus alpha power differences between my 2 conditions.
I calculated power using tfr_morlet(epochs_cond1) per participant and per condition and I stored it in a list. So I have two lists with length of number of participants.
Example output:
Condition 1 for 6 participants:
[<AverageTFR | time : [-1.000000, 1.499600], freq : [6.000000, 35.000000], nave : 215, channels : 61, ~7.9 MB>,
<AverageTFR | time : [-1.000000, 1.499600], freq : [6.000000, 35.000000], nave : 154, channels : 61, ~7.9 MB>,
<AverageTFR | time : [-1.000000, 1.499600], freq : [6.000000, 35.000000], nave : 185, channels : 61, ~7.9 MB>,
<AverageTFR | time : [-1.000000, 1.499600], freq : [6.000000, 35.000000], nave : 195, channels : 61, ~7.9 MB>,
<AverageTFR | time : [-1.000000, 1.499600], freq : [6.000000, 35.000000], nave : 228, channels : 61, ~7.9 MB>,
<AverageTFR | time : [-1.000000, 1.499600], freq : [6.000000, 35.000000], nave : 102, channels : 61, ~7.9 MB>]
If I want to use the cluster permutation test, the documentation says that X should be a array with the first dimension reflecting the difference between conditions. I tried various ways but I am a bit lost.
I would be very grateful for an example.
Thank you for this awesome toolbox,
Carina