From 6556095628428156c790b1bd9be67dc3e4c0a797 Mon Sep 17 00:00:00 2001 From: jcorgan Date: Thu, 16 Apr 2009 07:54:34 +0000 Subject: Change our examples to use gr.channel_model instead of blks2.channel_model git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@10861 221aa14e-8319-0410-a670-987f0aec2ac5 --- gr-qtgui/src/python/pyqt_example.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gr-qtgui/src/python/pyqt_example.py') diff --git a/gr-qtgui/src/python/pyqt_example.py b/gr-qtgui/src/python/pyqt_example.py index 27b949c81..ac636295d 100755 --- a/gr-qtgui/src/python/pyqt_example.py +++ b/gr-qtgui/src/python/pyqt_example.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -from gnuradio import gr, blks2 +from gnuradio import gr from gnuradio.qtgui import qtgui from PyQt4 import QtGui, QtCore import sys, sip @@ -111,7 +111,7 @@ class my_top_block(gr.top_block): src1 = gr.sig_source_c(Rs, gr.GR_SIN_WAVE, f1, 0.1, 0) src2 = gr.sig_source_c(Rs, gr.GR_SIN_WAVE, f2, 0.1, 0) src = gr.add_cc() - channel = blks2.channel_model(0.001) + channel = gr.channel_model(0.001) thr = gr.throttle(gr.sizeof_gr_complex, 100*fftsize) self.snk1 = qtgui.sink_c(fftsize, gr.firdes.WIN_BLACKMAN_hARRIS, -Rs/2, Rs/2, -- cgit