[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Commit-gnuradio] r7999 - gnuradio/branches/releases/3.1/gr-wxgui/src/py
From: |
jcorgan |
Subject: |
[Commit-gnuradio] r7999 - gnuradio/branches/releases/3.1/gr-wxgui/src/python |
Date: |
Wed, 12 Mar 2008 11:57:54 -0600 (MDT) |
Author: jcorgan
Date: 2008-03-12 11:57:54 -0600 (Wed, 12 Mar 2008)
New Revision: 7999
Modified:
gnuradio/branches/releases/3.1/gr-wxgui/src/python/fftsink2.py
Log:
Applied changeset r7997 on trunk to release branch.
Modified: gnuradio/branches/releases/3.1/gr-wxgui/src/python/fftsink2.py
===================================================================
--- gnuradio/branches/releases/3.1/gr-wxgui/src/python/fftsink2.py
2008-03-12 17:57:52 UTC (rev 7998)
+++ gnuradio/branches/releases/3.1/gr-wxgui/src/python/fftsink2.py
2008-03-12 17:57:54 UTC (rev 7999)
@@ -122,7 +122,7 @@
# FIXME We need to add 3dB to all bins but the DC bin
self.log = gr.nlog10_ff(20, self.fft_size,
- -20*math.log10(self.fft_size) #
Adjust for number of bins
+ -10*math.log10(self.fft_size) #
Adjust for number of bins
-10*math.log10(power/self.fft_size) #
Adjust for windowing loss
-20*math.log10(ref_scale/2)) #
Adjust for reference scale
@@ -165,7 +165,7 @@
# FIXME We need to add 3dB to all bins but the DC bin
self.log = gr.nlog10_ff(20, self.fft_size,
- -20*math.log10(self.fft_size) #
Adjust for number of bins
+ -10*math.log10(self.fft_size) #
Adjust for number of bins
-10*math.log10(power/self.fft_size) #
Adjust for windowing loss
-20*math.log10(ref_scale/2)) #
Adjust for reference scale
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Commit-gnuradio] r7999 - gnuradio/branches/releases/3.1/gr-wxgui/src/python,
jcorgan <=