vispy.util.fourier.
fft_freqs
Return frequencies for DFT
Number of points in the FFT.
The sampling rate.
stft
Compute the STFT
1D signal to operate on. If len(x) < n_fft, x will be zero-padded to length n_fft.
If len(x) < n_fft
n_fft
Number of FFT points. Much faster for powers of two.
Step size between calculations. If None, n_fft // 2 will be used.
n_fft // 2
The sample rate of the data.
Window function to use. Can be 'hann' for Hann window, or None for no windowing.
'hann'
Spectrogram of the data, shape (n_freqs, n_steps).
See also