From 9988664127b367fa8fee4409f8460673d6f265e1 Mon Sep 17 00:00:00 2001 From: jblum Date: Tue, 23 Jun 2009 20:38:18 +0000 Subject: Merging r11186:11273 from grc branch. Fixes, features, and reorganization for grc. Minor fixes and features for wxgui forms. git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@11274 221aa14e-8319-0410-a670-987f0aec2ac5 --- grc/blocks/blks2_error_rate.xml | 69 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 69 insertions(+) create mode 100644 grc/blocks/blks2_error_rate.xml (limited to 'grc/blocks/blks2_error_rate.xml') diff --git a/grc/blocks/blks2_error_rate.xml b/grc/blocks/blks2_error_rate.xml new file mode 100644 index 000000000..91a303206 --- /dev/null +++ b/grc/blocks/blks2_error_rate.xml @@ -0,0 +1,69 @@ + + + + Error Rate + blks2_error_rate + from grc_gnuradio import blks2 as grc_blks2 + grc_blks2.error_rate( + type=$type, + win_size=$win_size, + bits_per_symbol=$bits_per_symbol, +) + + Type + type + enum + + + + + Window Size + win_size + 1000 + int + + + Bits per Symbol + bits_per_symbol + 2 + int + $type.hide_bps + + + ref + byte + + + in + byte + + + out + float + + +Calculate the bit error rate (BER) or the symbol error rate (SER) over a number of samples given by the window size. \ +The actual window size will start at size one and grow to the full window size as new samples arrive. \ +Once the window has reached full size, old samples are shifted out of the window and new samples shfited in. + +The error block compares the input byte stream to the reference byte stream. \ +For example, the reference byte stream could be the input to a modulator, \ +and the input byte stream could be the output of a modulator. + +Each byte in the incoming stream represents one symbol. \ +The bits per symbol parameter is only useful for calculating the BER. + + -- cgit