Plotting topographical maps

Dear MNE comm,

I have a raw eeg timeseries data and I want to plot topographical maps of change in power for every 5 second change to see how the power changes over time. I was wondering if there is a specific function/command for this.

  • MNE version: 0.24.0
  • EEG system: mBrainTrain smarting Mobi with 24 EEG electrodes and 2 miscellaneous ones (M1, M2)
  • operating system: Windows 10

this function can do topomaps and has a times argument where you can pass in the times that you want to plot, as well as an average argument to set the length of the window around each time that you want to average together when calculating power. mne.viz.plot_evoked_topomap β€” MNE 1.3.0 documentation

However it’s designed for Evoked data not Raw data. For Raw data you would need to extract each window you want a topomap for, then use raw_chunk.compute_psd().plot_topomap(). You could also try β€œhacking” the raw data into an Evoked object using EvokedArray, then using the plot_evoked_topomap function.