diff options
author | Josh Blum | 2010-03-16 18:22:10 -0700 |
---|---|---|
committer | Josh Blum | 2010-03-16 18:22:10 -0700 |
commit | d43d40813c1a8343a86abb231876a8b7c0e9f806 (patch) | |
tree | e919c7da99aca7918ca5533e899cd7c9bbbf76bd /gnuradio-examples/python/digital/receive_path.py | |
parent | 19d3c0cab37123f8bfd19fdfc576f44b6069300f (diff) | |
parent | ac422b700282e21956dbf7643ee2dfbeeebdaf45 (diff) | |
download | gnuradio-d43d40813c1a8343a86abb231876a8b7c0e9f806.tar.gz gnuradio-d43d40813c1a8343a86abb231876a8b7c0e9f806.tar.bz2 gnuradio-d43d40813c1a8343a86abb231876a8b7c0e9f806.zip |
Merge branch 'master' of http://gnuradio.org/git/gnuradio into uhd
Diffstat (limited to 'gnuradio-examples/python/digital/receive_path.py')
-rw-r--r-- | gnuradio-examples/python/digital/receive_path.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gnuradio-examples/python/digital/receive_path.py b/gnuradio-examples/python/digital/receive_path.py index c229aa9e4..0024d6941 100644 --- a/gnuradio-examples/python/digital/receive_path.py +++ b/gnuradio-examples/python/digital/receive_path.py @@ -119,7 +119,7 @@ class receive_path(gr.hier_block2): normal.add_option("-r", "--bitrate", type="eng_float", default=100e3, help="specify bitrate [default=%default].") normal.add_option("-v", "--verbose", action="store_true", default=False) - expert.add_option("-S", "--samples-per-symbol", type="int", default=2, + expert.add_option("-S", "--samples-per-symbol", type="float", default=None, help="set samples/symbol [default=%default]") expert.add_option("", "--log", action="store_true", default=False, help="Log all parts of flow graph to files (CAUTION: lots of data)") @@ -135,4 +135,4 @@ class receive_path(gr.hier_block2): print "\nReceive Path:" print "modulation: %s" % (self._demod_class.__name__) print "bitrate: %sb/s" % (eng_notation.num_to_str(self._bitrate)) - print "samples/symbol: %3d" % (self._samples_per_symbol) + print "samples/symbol: %.4f" % (self._samples_per_symbol) |