Re: [Matplotlib-users] PSD amplitudes

2007-10-25 Thread brett . mcsweeney
S(f) of a sine wave is a delta function! Joseph Park <[EMAIL PROTECTED]> Sent by: [EMAIL PROTECTED] 26/10/2007 11:50 AM To cc matplotlib-users@lists.sourceforge.net Subject Re: [Matplotlib-users] PSD amplitudes spectral density is by convention a 1Hz binwidth, not an arbitrary on

Re: [Matplotlib-users] PSD amplitudes

2007-10-25 Thread Joseph Park
Subject Re: [Matplotlib-users] PSD amplitudes

Re: [Matplotlib-users] PSD amplitudes

2007-10-25 Thread brett . mcsweeney
.sourceforge.net Subject Re: [Matplotlib-users] PSD amplitudes is the suggestion that the matplotlib algorithm is correct in computing PSD amplitudes? btw, increasing nFFT increases the number of points used in the FFT, which increases the spectral frequency resolution (smaller binwidth) bu

Re: [Matplotlib-users] PSD amplitudes

2007-10-25 Thread Joseph Park
Subject Re: [Matplotlib-users]

Re: [Matplotlib-users] PSD amplitudes

2007-10-25 Thread brett . mcsweeney
ect Re: [Matplotlib-users] PSD amplitudes Shouldn't the PSD for a simple sine wave tend to infinity the spectral resolution will impact the amplitude, if you are not dealing with a density. by definition a spectral density has applied the bandwidth resolution correction. the PSD ampli

Re: [Matplotlib-users] PSD amplitudes

2007-10-25 Thread Joseph Park
To matplotlib-users@lists.sourceforge.net cc Subject [Matpl

[Matplotlib-users] PSD amplitudes

2007-10-25 Thread Joseph Park
Please try the attached script. The answer should be ~0 dB for each of the frequencies. Most likely a simple scaling issue/parameter of which i'm ignorant. -- ## ## Name: psd_scale.py ## ## Purpose