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-fft | |
parent | 2fb54bc604578db99ee788799a7723ed5eddb65a (diff) |
core: removed all complex_to_<type> blocks from core; using gr-blocks.
Diffstat (limited to 'gr-fft')
-rw-r--r-- | gr-fft/python/logpwrfft.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gr-fft/python/logpwrfft.py b/gr-fft/python/logpwrfft.py index 0513169275..98303b1e1e 100644 --- a/gr-fft/python/logpwrfft.py +++ b/gr-fft/python/logpwrfft.py @@ -65,7 +65,7 @@ class _logpwrfft_base(gr.hier_block2): fft = self._fft_block[0](fft_size, True, fft_window) window_power = sum(map(lambda x: x*x, fft_window)) - c2magsq = gr.complex_to_mag_squared(fft_size) + c2magsq = blocks.complex_to_mag_squared(fft_size) self._avg = filter.single_pole_iir_filter_ff(1.0, fft_size) self._log = blocks.nlog10_ff(10, fft_size, -20*math.log10(fft_size) # Adjust for number of bins |