-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dB values seam to be incorrect on both Periodogram & Spectrogram #22
Comments
If you send in a DC tone at 1.0 amplitude and set the window to rectangular you should see exactly 0 dBfs (if the full scale is 0). One you change the frequency or window, you start to spread out that power among multiple fft bins. The total cumulative power of those bins should add up to 0 dBfs. In the example above, you have two powerful bins which are down about 3dB, so the cumulative power is correct. |
Two things to note here:
Edit: an earlier version of this comment incorrectly stated that |
When display a single test tone of amplitude 1.0 in the Periodogram or Spectrogram display the amplitude seams down from were it should be. 3dB down for complex and 9dB down for real signals.
It does not seam to be significantly affected by the windowing mode.
But adjusting the "Full Scale" parm fixes the the issue. eg 1.0 *sqrt(1/2) for complex bring the displayed amplitude to were i would expect.
Complex normal
Complex adjusted
Real normal
Real adjusted
I see this bug under the Pothos v0.7.0-g42d23cb1
The text was updated successfully, but these errors were encountered: