BGlib.be.viz.be_viz_utils.plot_2d_spectrogram

BGlib.be.viz.be_viz_utils.plot_2d_spectrogram(mean_spectrogram, freq, title=None, **kwargs)[source]

Plots the position averaged spectrogram

Parameters:
  • mean_spectrogram (2D numpy complex array) – Means spectrogram arranged as [frequency, UDVS step]

  • freq (1D numpy float array) – BE frequency that serves as the X axes of the plot

  • title (str, optional) – Plot group name

Returns:

  • fig (Matplotlib.pyplot figure) – Figure handle

  • axes (Matplotlib.pyplot axes) – Axis handle