How to plot topomap of average power spectral density (PSD) between 0-32 hz frequency

Hi,

I have calculated the average PSD across channels and got the following dataset:
frequencies
0.0000 5.412195
0.0012 5.720224
0.0024 5.710051
0.0036 5.658192
0.0047 5.697795
…
31.9953 -1.235595
31.9964 -1.246453
31.9976 -1.240654
31.9988 -1.230557
32.0000 -1.510888
Length: 27033, dtype: float64

Now I want to show these values of PSD as a topomap. How can I do so?

Thanks.

  • operating system: Windows 11

You need to compute the PSD for each individual channel at a particular frequency. For example, if you’re interested in the alpha range, you could average frequencies from 8–12 Hz to get one value per channel. Then you can use mne.viz.plot_topomap() to create the plot.

1 Like