STFT and ISTFT in Python
Posted
by endolith
on Stack Overflow
See other posts from Stack Overflow
or by endolith
Published on 2010-03-17T01:12:29Z
Indexed on
2010/03/17
1:21 UTC
Read the original article
Hit count: 571
Is there any form of short-time Fourier transform with corresponding inverse transform built into SciPy or NumPy or whatever?
There's the pyplot specgram
function in matplotlib, which calls ax.specgram()
, which calls mlab.specgram()
, which calls _spectral_helper()
:
#The checks for if y is x are so that we can use the same function to #implement the core of psd(), csd(), and spectrogram() without doing #extra calculations. We return the unaveraged Pxy, freqs, and t.
I'm not sure if this can be used to do an STFT and ISTFT, though. Is there anything else, or should I translate something like this?
© Stack Overflow or respective owner