Author: trondeau
Date: 2007-02-24 14:38:27 -0700 (Sat, 24 Feb 2007)
New Revision: 4621
Modified:
gnuradio/branches/developers/trondeau/digital-wip2/gnuradio-examples/python/digital/benchmark_loopback.py
Log:
using normalized sampling rate in channel
Modified:
gnuradio/branches/developers/trondeau/digital-wip2/gnuradio-examples/python/digital/benchmark_loopback.py
===================================================================
---
gnuradio/branches/developers/trondeau/digital-wip2/gnuradio-examples/python/digital/benchmark_loopback.py
2007-02-24 21:36:17 UTC (rev 4620)
+++
gnuradio/branches/developers/trondeau/digital-wip2/gnuradio-examples/python/digital/benchmark_loopback.py
2007-02-24 21:38:27 UTC (rev 4621)
@@ -47,7 +47,7 @@
self.adder = gr.add_cc()
# Create the frequency offset
- self.offset = gr.sig_source_c((sample_rate*1.0), gr.GR_SIN_WAVE,
+ self.offset = gr.sig_source_c(1, gr.GR_SIN_WAVE,
frequency_offset, 1.0, 0.0)
self.mixer = gr.multiply_cc()
_______________________________________________
Commit-gnuradio mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/commit-gnuradio