Spectrogram from ECoG

Hi, I want to show the wavelengths with a spectrogram in the ECoG recording taken with bipolar electrodes. However, as I understand it, I need epoched data and events to be able to do this. I don’t have “stim channel” and events in my recordings. Can I spectrogram without these?

You could use mne.make_fixed_length_epochs — MNE 1.1.dev0 documentation and then compute the spectrograms on smaller sections. Or you could define one epoch that starts at the start of your raw object and goes the entire length of the recording.

You could take a look at the plot_spectrogram() function in yasa, but it only works with one channel at a time.