From 9fab9bda68559ee9016f2b6f1f34cd78a502767e Mon Sep 17 00:00:00 2001 From: Andreas Tsouchlos Date: Sun, 13 Nov 2022 23:55:41 +0100 Subject: [PATCH] Removed unused code --- sw/utility/simulation.py | 29 ----------------------------- 1 file changed, 29 deletions(-) diff --git a/sw/utility/simulation.py b/sw/utility/simulation.py index 394431c..24cd8fb 100644 --- a/sw/utility/simulation.py +++ b/sw/utility/simulation.py @@ -311,32 +311,3 @@ class SimulationManager: self._sim_state.num_total_bits = 0 # return np.array(self._sim_params.SNRs), np.array(BERs) - - -class DecoderTester: - """Class used to test decoders simulating BPSK modulation and an AWGN channel. - - Allows for recovering a stopped simulation if its previous state is known. - """ - - def __init__(self, initial_sim_state: SimulationState = SimulationState()): - """Construct a DecoderTester object. - - :param initial_sim_state: State the simulation should start from - """ - self._state = initial_sim_state - - def get_state(self) -> SimulationState: - return self._state - - def configure(self, n: int, - k: int, - SNRs: typing.Sequence[float] = np.linspace(1, 7, 7), - target_frame_errors: int = 100): - pass - - def start_test(self, decoders: typing.List): - pass - - def stop(self): - pass