summaryrefslogtreecommitdiff
path: root/gnuradio-core/src
diff options
context:
space:
mode:
authoreb2007-08-30 17:41:59 +0000
committereb2007-08-30 17:41:59 +0000
commit7366cf6e495703a71de622b44d4c233b8f59d240 (patch)
treea55ce1eb716a1ea796a546facd351fd9d98b56ec /gnuradio-core/src
parent35b216199a680cfdac3b543d6e5ac03d6a6cf641 (diff)
downloadgnuradio-7366cf6e495703a71de622b44d4c233b8f59d240.tar.gz
gnuradio-7366cf6e495703a71de622b44d4c233b8f59d240.tar.bz2
gnuradio-7366cf6e495703a71de622b44d4c233b8f59d240.zip
applied patch from jblum
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@6228 221aa14e-8319-0410-a670-987f0aec2ac5
Diffstat (limited to 'gnuradio-core/src')
-rw-r--r--gnuradio-core/src/python/gnuradio/blksimpl/channel_model.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/gnuradio-core/src/python/gnuradio/blksimpl/channel_model.py b/gnuradio-core/src/python/gnuradio/blksimpl/channel_model.py
index 7ce3ac3d9..21980a22e 100644
--- a/gnuradio-core/src/python/gnuradio/blksimpl/channel_model.py
+++ b/gnuradio-core/src/python/gnuradio/blksimpl/channel_model.py
@@ -48,3 +48,12 @@ class channel_model(gr.hier_block):
fg.connect(self.noise, (self.noise_adder,0))
gr.hier_block.__init__(self, fg, self.timing_offset, self.noise_adder)
+
+ def set_noise_voltage(noise_voltage):
+ self.noise.set_amplitude(noise_voltage)
+
+ def set_frequency_offset(frequency_offset):
+ self.freq_offset.set_frequency(frequency_offset)
+
+ def set_taps(taps):
+ self.multipath.set_taps(taps)