I am actually trying the PSD of a signal using the plt.psd function.
Pxxf, psd_frequencies = plt.psd(phase,Fs=50,scale_by_freq= False,noverlap=250,NFFT=500,label = "3 minute",return_line=False)
Where phase is the input signal.
but if I am to plot it using the output values it does not really work. Here is what I do.
Pxxf, psd_frequencies = plt.psd(phase,Fs=50,scale_by_freq= False,noverlap=250,NFFT=500,label = "3 minute",return_line=False)
plt.cla()
plt.plot(psd_frequencies,Pxxf)
Any thoughts on why there is such a difference?

