I am trying to run a cluster test as in this example but on previously created evoked data. However, I cannot read the data together with my two experimental conditions with the read_evoked function. Below please see my code. How should I read the data?
Thanks for your time and help!
PS: I would also love to join tomorrow’s office hour to find a solution.
Sorry, forgot to mention. For the later steps, I got this error message:
“All elements must be an instance of Evoked or AverageTFR, got <class ‘list’> instead.”
Could you please share all the relevant parts of your code and the complete traceback (the many lines produced by an error)? Otherwise it’s hard for others to really know what’s going wrong.
Thanks!
For example, following the mne.grand_average() function can result in the previously mentioned error message. Anyhow, thanks to you, Richard, here I find the solution: