diff options
author | Tom Rondeau <trondeau@vt.edu> | 2013-03-06 15:14:19 -0500 |
---|---|---|
committer | Tom Rondeau <trondeau@vt.edu> | 2013-03-06 15:14:19 -0500 |
commit | cf2c954ba4fc54909515f8550fd55741c9603a11 (patch) | |
tree | f3520b072bd7e3f98fbef80052327411d5c32246 /gr-wxgui/python/fftsink_nongl.py | |
parent | 2fb54bc604578db99ee788799a7723ed5eddb65a (diff) |
core: removed all complex_to_<type> blocks from core; using gr-blocks.
Diffstat (limited to 'gr-wxgui/python/fftsink_nongl.py')
-rw-r--r-- | gr-wxgui/python/fftsink_nongl.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gr-wxgui/python/fftsink_nongl.py b/gr-wxgui/python/fftsink_nongl.py index ee5145dfd7..73bc7f41b0 100644 --- a/gr-wxgui/python/fftsink_nongl.py +++ b/gr-wxgui/python/fftsink_nongl.py @@ -130,7 +130,7 @@ class fft_sink_f(gr.hier_block2, fft_sink_base): for tap in mywindow: power += tap*tap - self.c2mag = gr.complex_to_mag(self.fft_size) + self.c2mag = blocks.complex_to_mag(self.fft_size) self.avg = filter.single_pole_iir_filter_ff(1.0, self.fft_size) # FIXME We need to add 3dB to all bins but the DC bin @@ -176,7 +176,7 @@ class fft_sink_c(gr.hier_block2, fft_sink_base): for tap in mywindow: power += tap*tap - self.c2mag = gr.complex_to_mag(self.fft_size) + self.c2mag = blocks.complex_to_mag(self.fft_size) self.avg = filter.single_pole_iir_filter_ff(1.0, self.fft_size) # FIXME We need to add 3dB to all bins but the DC bin |