I am running an analysis for inter-brain synchronization (analyzing data between two EEG files, each file comes from each person).
I would like to run a permutation test. However, I have difficulty in how to randomize my epochs. Could you help me with how can I randomize the epochs from each file ?, then I calculate the inter-brain synchrony again for each permutation?
- MNE-Python version: 0.23
- operating system: Ubuntu 20