diff options
Diffstat (limited to 'gr-analog')
-rwxr-xr-x | gr-analog/examples/tags/uhd_burst_detector.py | 2 | ||||
-rw-r--r-- | gr-analog/python/am_demod.py | 2 | ||||
-rw-r--r-- | gr-analog/python/wfm_rcv_fmdet.py | 2 | ||||
-rw-r--r-- | gr-analog/python/wfm_rcv_pll.py | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/gr-analog/examples/tags/uhd_burst_detector.py b/gr-analog/examples/tags/uhd_burst_detector.py index 8d846bbae8..4bcf5a77cc 100755 --- a/gr-analog/examples/tags/uhd_burst_detector.py +++ b/gr-analog/examples/tags/uhd_burst_detector.py @@ -61,7 +61,7 @@ class uhd_burst_detector(gr.top_block): ## use squelch to detect energy self.det = analog.simple_squelch_cc(self.threshold, 0.01) ## convert to mag squared (float) - self.c2m = gr.complex_to_mag_squared() + self.c2m = blocks.complex_to_mag_squared() ## average to debounce self.avg = filter.single_pole_iir_filter_ff(0.01) ## rescale signal for conversion to short diff --git a/gr-analog/python/am_demod.py b/gr-analog/python/am_demod.py index 64a3909f51..3459e825f4 100644 --- a/gr-analog/python/am_demod.py +++ b/gr-analog/python/am_demod.py @@ -43,7 +43,7 @@ class am_demod_cf(gr.hier_block2): gr.io_signature(1, 1, gr.sizeof_gr_complex), # Input signature gr.io_signature(1, 1, gr.sizeof_float)) # Input signature - MAG = gr.complex_to_mag() + MAG = blocks.complex_to_mag() DCR = blocks.add_const_ff(-1.0) audio_taps = filter.optfir.low_pass(0.5, # Filter gain diff --git a/gr-analog/python/wfm_rcv_fmdet.py b/gr-analog/python/wfm_rcv_fmdet.py index 735b39912f..f3627d378d 100644 --- a/gr-analog/python/wfm_rcv_fmdet.py +++ b/gr-analog/python/wfm_rcv_fmdet.py @@ -153,7 +153,7 @@ class wfm_rcv_fmdet(gr.hier_block2): # pick off the real component of the basebanded L-R # signal. The imaginary SHOULD be zero - self.LmR_real = gr.complex_to_real(); + self.LmR_real = blocks.complex_to_real(); self.Make_Left = blocks.add_ff(); self.Make_Right = blocks.sub_ff(); diff --git a/gr-analog/python/wfm_rcv_pll.py b/gr-analog/python/wfm_rcv_pll.py index 0c5c83db21..7452de731f 100644 --- a/gr-analog/python/wfm_rcv_pll.py +++ b/gr-analog/python/wfm_rcv_pll.py @@ -141,7 +141,7 @@ class wfm_rcv_pll(gr.hier_block2): # pick off the real component of the basebanded L-R signal. The imaginary SHOULD be zero - self.LmR_real = gr.complex_to_real(); + self.LmR_real = blocks.complex_to_real(); self.Make_Left = blocks.add_ff(); self.Make_Right = blocks.sub_ff(); |