diff options
author | Tom Rondeau <trondeau@vt.edu> | 2012-11-06 11:11:31 -0500 |
---|---|---|
committer | Tom Rondeau <trondeau@vt.edu> | 2012-11-06 11:11:31 -0500 |
commit | 55eb2dbfc38ce4287c7408bf9a87c6b56a618d1f (patch) | |
tree | 07c414ba70b0c314920fe0315f110e781b83a763 /gr-digital | |
parent | 6167cf58f167fc65999237d1502461e5cc39c986 (diff) |
analog: removing probe_avg_mag_sqrd from gnuradio-core.
Diffstat (limited to 'gr-digital')
-rw-r--r-- | gr-digital/examples/narrowband/receive_path.py | 3 | ||||
-rw-r--r-- | gr-digital/examples/ofdm/receive_path.py | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/gr-digital/examples/narrowband/receive_path.py b/gr-digital/examples/narrowband/receive_path.py index 308f955645..a1a07b5f26 100644 --- a/gr-digital/examples/narrowband/receive_path.py +++ b/gr-digital/examples/narrowband/receive_path.py @@ -23,6 +23,7 @@ from gnuradio import gr, gru, filter from gnuradio import eng_notation from gnuradio import digital +from gnuradio import analog import copy import sys @@ -78,7 +79,7 @@ class receive_path(gr.hier_block2): # Carrier Sensing Blocks alpha = 0.001 thresh = 30 # in dB, will have to adjust - self.probe = gr.probe_avg_mag_sqrd_c(thresh,alpha) + self.probe = analog.probe_avg_mag_sqrd_c(thresh,alpha) # Display some information about the setup if self._verbose: diff --git a/gr-digital/examples/ofdm/receive_path.py b/gr-digital/examples/ofdm/receive_path.py index b5094ac24d..2a6813f8f9 100644 --- a/gr-digital/examples/ofdm/receive_path.py +++ b/gr-digital/examples/ofdm/receive_path.py @@ -22,6 +22,7 @@ from gnuradio import gr from gnuradio import eng_notation from gnuradio import digital +from gnuradio import analog import copy import sys @@ -51,7 +52,7 @@ class receive_path(gr.hier_block2): # Carrier Sensing Blocks alpha = 0.001 thresh = 30 # in dB, will have to adjust - self.probe = gr.probe_avg_mag_sqrd_c(thresh,alpha) + self.probe = analog.probe_avg_mag_sqrd_c(thresh,alpha) self.connect(self, self.ofdm_rx) self.connect(self.ofdm_rx, self.probe) |