Computes the short time Fourier transform
input 1d slice with the shape (ntimes,)
(default 256) short-time frame width for each FFT segment
comlex 2d slice (nframes, nfreqs=nperseg)
https://docs.scipy.org/doc/scipy/reference/generated/scipy.signal.stft.html
See Implementation
Computes the short time Fourier transform