summaryrefslogtreecommitdiff
path: root/gr-digital/examples/ofdm/receive_path.py
diff options
context:
space:
mode:
authorTom Rondeau <trondeau@vt.edu>2012-11-06 11:11:31 -0500
committerTom Rondeau <trondeau@vt.edu>2012-11-06 11:11:31 -0500
commit55eb2dbfc38ce4287c7408bf9a87c6b56a618d1f (patch)
tree07c414ba70b0c314920fe0315f110e781b83a763 /gr-digital/examples/ofdm/receive_path.py
parent6167cf58f167fc65999237d1502461e5cc39c986 (diff)
analog: removing probe_avg_mag_sqrd from gnuradio-core.
Diffstat (limited to 'gr-digital/examples/ofdm/receive_path.py')
-rw-r--r--gr-digital/examples/ofdm/receive_path.py3
1 files changed, 2 insertions, 1 deletions
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)