I’m trying to do a short time fourier transform on a signal and have been trying to perform it using the ShortTimeFFT() method because the scipy documentation states that the signal.stft() method is legacy. However, everywhere I search online, (and AI) says just use signal.stft(). I haven’t been able to find any guidance outside the documentation for using the ShortTimeFFT.stft() method.
Should I be trying to make the switch? or just use signal.stft(), I’ve been having a lot of trouble understanding the ShortTimeFFT function and getting it to behave the way I want (see my struggles here). So I’m considering just using signal.stft()