I read the source codes of scipy.signal.stft and librosa.stft, and I noticed that the calculation of STFT of a signal in these two libraries are quite different: In scipy.si