diff --git a/sw/decoders/utility.py b/sw/decoders/utility.py index 487aec5..fe53519 100644 --- a/sw/decoders/utility.py +++ b/sw/decoders/utility.py @@ -76,7 +76,7 @@ def test_decoder(decoder: typing.Any, # TODO: Is this a valid simulation? Can we just add AWGN to the codeword, ignoring and modulation and ( # e.g. matched) filtering? - y = add_awgn(x, SNR, signal_amp=(1 / np.sqrt(2))) + y = add_awgn(x, SNR, signal_amp=np.sqrt(2)) y_hat = decoder.decode(y) total_bit_errors += count_bit_errors(c, y_hat)