diff options
author | Tom Rondeau | 2011-10-06 19:35:48 -0400 |
---|---|---|
committer | Tom Rondeau | 2011-10-06 19:35:48 -0400 |
commit | 3abc2178eaca897d8944e69ea0eccc07adb5e397 (patch) | |
tree | b748e84572251d76063be72755064621a91b400a /gr-digital/examples/digital_bert_rx.py | |
parent | 132a3c185b47263398d38b6b454e5c990b02b52f (diff) | |
download | gnuradio-3abc2178eaca897d8944e69ea0eccc07adb5e397.tar.gz gnuradio-3abc2178eaca897d8944e69ea0eccc07adb5e397.tar.bz2 gnuradio-3abc2178eaca897d8944e69ea0eccc07adb5e397.zip |
digital: fixed BERT test.
Diffstat (limited to 'gr-digital/examples/digital_bert_rx.py')
-rwxr-xr-x | gr-digital/examples/digital_bert_rx.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gr-digital/examples/digital_bert_rx.py b/gr-digital/examples/digital_bert_rx.py index 27dcc9d57..20659b1da 100755 --- a/gr-digital/examples/digital_bert_rx.py +++ b/gr-digital/examples/digital_bert_rx.py @@ -43,7 +43,7 @@ class status_thread(_threading.Thread): def run(self): while not self.done: - print "Freq. Offset: %5.0f Hz Timing Offset: %5.1f ppm Estimated SNR: %4.1f dB BER: %g" % ( + print "Freq. Offset: {0:5.0f} Hz Timing Offset: {1:10.1f} ppm Estimated SNR: {2:4.1f} dB BER: {3:g}".format( tb.frequency_offset(), tb.timing_offset()*1e6, tb.snr(), tb.ber()) try: time.sleep(1.0) |