summaryrefslogtreecommitdiff
path: root/gr-qtgui/examples/pyqt_time_raster_f.py
diff options
context:
space:
mode:
authorTom Rondeau <trondeau@vt.edu>2013-02-24 19:44:25 -0500
committerTom Rondeau <trondeau@vt.edu>2013-02-24 19:44:25 -0500
commitd858f1402b4fb4e302d0b488eec0e4628b62296d (patch)
tree18f07dbb6c7731089a9c59449559f53b94a81001 /gr-qtgui/examples/pyqt_time_raster_f.py
parent6f8b8e99eb10d8e282232275553a368dc19b1c65 (diff)
blocks: removing throttle, threshold, stretch from gnuradio-core.
Diffstat (limited to 'gr-qtgui/examples/pyqt_time_raster_f.py')
-rwxr-xr-xgr-qtgui/examples/pyqt_time_raster_f.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/gr-qtgui/examples/pyqt_time_raster_f.py b/gr-qtgui/examples/pyqt_time_raster_f.py
index 0b343e6a6e..957e694b38 100755
--- a/gr-qtgui/examples/pyqt_time_raster_f.py
+++ b/gr-qtgui/examples/pyqt_time_raster_f.py
@@ -21,6 +21,7 @@
#
from gnuradio import gr
+from gnuradio import blocks
import sys
try:
@@ -59,7 +60,7 @@ class my_top_block(gr.top_block):
fs = 200
src0 = gr.vector_source_f(data0, True)
src1 = gr.vector_source_f(data1, True)
- thr = gr.throttle(gr.sizeof_float, 50000)
+ thr = blocks.throttle(gr.sizeof_float, 50000)
hed = gr.head(gr.sizeof_float, 10000000)
self.snk1 = qtgui.time_raster_sink_f(fs, nrows, ncols, [], [],
"Float Time Raster Example", 2)