Skip to content

Tag: spectrogram

Define correct scipy.signal.spectrogram input parameters

I have the following code: which is giving me the following plot: What is the correct way to define the correct parameters, namely: nperseg, nfft and noverlap to obtain a correct and smooth plot? Thank you! Plot of the input signal: Answer I was able to solve this issue by normalising the input signal and doi…