make_spectrogram

support.graphics.make_spectrogram(data, num_spec, num_bins, log=False, normalizer=None)

Converts a sequence of complex samples into a spectrogram

matplotlib specgram takes real data. This takes complex data.

:param data : complex time series data :type data : numpy array of complex

:param num_spec : number of spectra along the time axis :type num_spec : int

:param num_bins : number of spectral bins along the frequency axis :type num_bins : int

:param log : flag to plot logarithm of the power :type log : bool

:param normalizer : gain normalization reference for spectra :type normalizer : numpy 1D array num_bins long

Returns

2D numpay array