diff options
author | Johnathan Corgan | 2012-11-02 09:43:58 -0700 |
---|---|---|
committer | Johnathan Corgan | 2012-11-02 09:43:58 -0700 |
commit | 747b6702a112ccb4644904e1c965221c2de157f8 (patch) | |
tree | ecc55f514c7cf1a55c0f1677f847bf30b20854fd /gr-digital/examples/ofdm/benchmark_add_channel.py | |
parent | 58ebe83ee38e45a80ace777a070d2c1fa1ab1df8 (diff) | |
parent | c5436ca8ddab5fa77a585c8f00743bb85a93c59a (diff) | |
download | gnuradio-747b6702a112ccb4644904e1c965221c2de157f8.tar.gz gnuradio-747b6702a112ccb4644904e1c965221c2de157f8.tar.bz2 gnuradio-747b6702a112ccb4644904e1c965221c2de157f8.zip |
Merge branch 'maint'
Diffstat (limited to 'gr-digital/examples/ofdm/benchmark_add_channel.py')
-rwxr-xr-x | gr-digital/examples/ofdm/benchmark_add_channel.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gr-digital/examples/ofdm/benchmark_add_channel.py b/gr-digital/examples/ofdm/benchmark_add_channel.py index 01776d209..cbdd990f4 100755 --- a/gr-digital/examples/ofdm/benchmark_add_channel.py +++ b/gr-digital/examples/ofdm/benchmark_add_channel.py @@ -46,7 +46,7 @@ class my_top_block(gr.top_block): self.src = gr.file_source(gr.sizeof_gr_complex, ifile) #self.throttle = gr.throttle(gr.sizeof_gr_complex, options.sample_rate) self.channel = gr.channel_model(noise_voltage, frequency_offset, - time_offset, noise_seed=random.randint(0,100000)) + time_offset, noise_seed=-random.randint(0,100000)) self.phase = gr.multiply_const_cc(complex(math.cos(phase_offset), math.sin(phase_offset))) self.snk = gr.file_sink(gr.sizeof_gr_complex, ofile) |