draugr.drawers.mpl_drawers.spectral.fast_fourier_transform_spectrogram.FastFourierTransformSpectrogramPlot¶
- class draugr.drawers.mpl_drawers.spectral.fast_fourier_transform_spectrogram.FastFourierTransformSpectrogramPlot(n_fft: int = 64, sampling_rate=2000, buffer_size_sec: float = 1.0, title: str = '', vertical: bool = True, reverse: bool = False, figure_size=(9, 9), cmap='viridis', render: bool = True, **kwargs)[source]¶
Bases:
MplDrawer
TODO: CENTER Align fft maybe, to mimick librosa stft Short Time Fourier Transform (STFT), with step size of 1 and window lenght of n_fft, and no window function ( TODO: Hanning Smoothing)
- __init__(n_fft: int = 64, sampling_rate=2000, buffer_size_sec: float = 1.0, title: str = '', vertical: bool = True, reverse: bool = False, figure_size=(9, 9), cmap='viridis', render: bool = True, **kwargs)[source]¶
- Parameters
n_fft –
sampling_rate –
buffer_size_sec –
title –
vertical –
reverse –
placement –
fig_size –
render –
Methods
__init__
([n_fft, sampling_rate, ...])- param n_fft
close
()description
draw
(data[, delta])description
move_figure
(figure[, x, y])Move figure's upper left corner to pixel (x, y)
Attributes
- close()¶
description