specparam.plts.plot_spectrogram

specparam.plts.plot_spectrogram(freqs, powers, times=None, **plot_kwargs)[source]

Plot a spectrogram.

Parameters:
freqs1d array

Frequency values.

powers2d array

Power values for the spectrogram, organized as [n_frequencies, n_time_windows].

times1d array, optional

Time values for the time windows.

**plot_kwargs

Keyword arguments to pass into the style_plot.

Examples using specparam.plts.plot_spectrogram

06: Fitting Models over Time

06: Fitting Models over Time