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 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.