commit-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Commit-gnuradio] [gnuradio] 28/39: qtgui: fixes calculation of BPSK BER


From: git
Subject: [Commit-gnuradio] [gnuradio] 28/39: qtgui: fixes calculation of BPSK BER curve.
Date: Thu, 15 Oct 2015 21:21:31 +0000 (UTC)

This is an automated email from the git hooks/post-receive script.

jcorgan pushed a commit to branch master
in repository gnuradio.

commit 23aeb427a87d926a6825ca38894523539cbcc5c5
Author: Tom Rondeau <address@hidden>
Date:   Mon Jun 15 15:29:12 2015 -0400

    qtgui: fixes calculation of BPSK BER curve.
    
    Factor of 2 off; this is likely due to a change in the complex noise
    generators a little while ago.
---
 gr-qtgui/lib/ber_sink_b_impl.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gr-qtgui/lib/ber_sink_b_impl.cc b/gr-qtgui/lib/ber_sink_b_impl.cc
index 61dec25..eb3aa14 100644
--- a/gr-qtgui/lib/ber_sink_b_impl.cc
+++ b/gr-qtgui/lib/ber_sink_b_impl.cc
@@ -90,7 +90,7 @@ namespace gr {
       for(size_t i = 0; i < esnos.size(); i++) {
         double e = pow(10.0, esnos[i]/10.0);
         d_esno_buffers[curves][i] = esnos[i];
-        d_ber_buffers[curves][i] = log10(boost::math::erfc(sqrt(e)));
+        d_ber_buffers[curves][i] = log10(0.5*boost::math::erfc(sqrt(e)));
       }
 
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]