Hello everyone;
- MNE version: 1.6.1
- operating system: Windows 10
I am working on a project where I need to compute the coherence between EEG channels and visualize the results in source space. I follow this tutorial Compute coherence in source space using a MNE inverse solution.
However, I encountered a ValueError when trying to create a SourceEstimate object for plotting. The error is:
ValueError: Number of vertices (8196) and stc.data.shape[0] (67174416) must match
I suspect the issue is related to a mismatch in the shape of the coherence data and the expected number of vertices, but Iām not sure how to resolve it.
Could anyone provide insights into what might be causing this error and how to fix it?
Thank you in advance!