Removed unused code
This commit is contained in:
parent
b6ec2d3061
commit
9fab9bda68
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user