the power between these bands
remains
constant. Therefore the PSD goes to infinity. Otherwise it
isn't a density.
Joseph Park
<[EMAIL PROTECTED]>
Sent by:
[EMAIL PROTECTED]
ution (ie
increase
nFFT) in your program you will see that the PSD does indeed increase.
I
think it may be on the way to infinity.
Joseph Park
<[EMAIL PROTECTED]>
Sent by:
[EMAIL PROTECTED]
26/1
PSD for a simple sine wave tend to infinity
(depending on the resolution)?
Joseph Park
<[EMAIL PROTECTED]>
Sent by:
[EMAIL PROTECTED]
26/10/2007 06:50 AM
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
If one creates a 1V RMS sine wave, e.g. with a peak value of 1.414 or
peak-peak of 2.83, then computes psd, the resulting amplitude is around
24 dB, yet classic theory dictates the answer ought to be 20 log(1) = 0
dB.
This offset seems consistent across various frequencies/sample
rates/amplitud