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 --- gnuradio-examples/python/ofdm/benchmark_ofdm.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gnuradio-examples/python/ofdm') diff --git a/gnuradio-examples/python/ofdm/benchmark_ofdm.py b/gnuradio-examples/python/ofdm/benchmark_ofdm.py index 5861da16c..6d6ca9f2a 100755 --- a/gnuradio-examples/python/ofdm/benchmark_ofdm.py +++ b/gnuradio-examples/python/ofdm/benchmark_ofdm.py @@ -1,6 +1,6 @@ #!/usr/bin/env python # -# Copyright 2006, 2007 Free Software Foundation, Inc. +# Copyright 2006, 2007, 2009 Free Software Foundation, Inc. # # This file is part of GNU Radio # @@ -71,8 +71,8 @@ class my_top_block(gr.top_block): #self.mux = gr.stream_mux(gr.sizeof_gr_complex, stream_size) self.throttle = gr.throttle(gr.sizeof_gr_complex, options.sample_rate) - self.channel = blks2.channel_model(noise_voltage, frequency_offset, - options.clockrate_ratio, taps) + self.channel = gr.channel_model(noise_voltage, frequency_offset, + options.clockrate_ratio, taps) self.rxpath = receive_path(callback, options) #self.connect(self.zeros, (self.mux,0)) -- cgit