How to plot eeg data spectrogram as shown?

Recently i was going thorough a research paper . The author first applied variational modes decomposition on an elecrodes epoch and then used short time Fourier transformation and finally plotted spectrogram as shown in below image. How to plot spectrogram like this in python. Whenever i try to do get simple spectrogram but not like this . Please help.

You can use the mne.time_frequency module to create such plots. There is a tutorial and an example that show what can be done.

1 Like