summaryrefslogtreecommitdiff
path: root/gr-blocks/python
diff options
context:
space:
mode:
authorTom Rondeau <trondeau@vt.edu>2013-03-18 18:23:31 -0400
committerTom Rondeau <trondeau@vt.edu>2013-03-18 18:23:31 -0400
commitb2f5782865e7c406837414fe4617bce1ed8bca95 (patch)
treeac88b14a2567ea10cd1bf840678646bb8e0db397 /gr-blocks/python
parent644459b0c55987792df3a7b884ace1d0250231f1 (diff)
blocks: removed plateau from gr-analog; now in gr-blocks.
Diffstat (limited to 'gr-blocks/python')
-rwxr-xr-xgr-blocks/python/qa_plateau_detector_fb.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/gr-blocks/python/qa_plateau_detector_fb.py b/gr-blocks/python/qa_plateau_detector_fb.py
index e45fe028dd..2f4b643fe0 100755
--- a/gr-blocks/python/qa_plateau_detector_fb.py
+++ b/gr-blocks/python/qa_plateau_detector_fb.py
@@ -36,8 +36,8 @@ class qa_plateau_detector_fb (gr_unittest.TestCase):
test_signal = (0, 1, .2, .4, .6, .8, 1, 1, 1, 1, 1, .8, .6, .4, 1, 0)
expected_sig = (0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0)
# | Center of Plateau
- sink = gr.vector_sink_b()
- self.tb.connect(gr.vector_source_f(test_signal), blocks.plateau_detector_fb(5), sink)
+ sink = blocks.vector_sink_b()
+ self.tb.connect(blocks.vector_source_f(test_signal), blocks.plateau_detector_fb(5), sink)
self.tb.run ()
self.assertEqual(expected_sig, sink.data())