From 04eaea92a1a340cd02c2ed5e88b10ce315697736 Mon Sep 17 00:00:00 2001 From: Andreas Tsouchlos Date: Mon, 7 Nov 2022 00:46:21 +0100 Subject: [PATCH] Changed target_bit_errors and N_max for simulation --- sw/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sw/main.py b/sw/main.py index bb4d8a2..8744a76 100644 --- a/sw/main.py +++ b/sw/main.py @@ -27,7 +27,7 @@ def main(): print(f"Simulating with c = {c}") decoder = proximal.ProximalDecoder(H, K=100, gamma=0.01) - SNRs, BERs = utility.test_decoder(decoder, c, SNRs=[1, 3, 5, 7], N_max=10000) + SNRs, BERs = utility.test_decoder(decoder, c, SNRs=np.linspace(1, 5.5, 7), target_bit_errors=200, N_max=15000) data = pd.DataFrame({"SNR": SNRs, "BER": BERs})