Removed TODOs
This commit is contained in:
parent
dd485dfee0
commit
b196515cee
@ -210,7 +210,6 @@ class Simulator:
|
|||||||
"""
|
"""
|
||||||
return self._sim_done
|
return self._sim_done
|
||||||
|
|
||||||
# TODO: Make sure the length of each BER_array is the same as the number of SNRs
|
|
||||||
@property
|
@property
|
||||||
def SNRs_and_BERs(self) -> typing.Tuple[np.array, np.array]:
|
def SNRs_and_BERs(self) -> typing.Tuple[np.array, np.array]:
|
||||||
"""Get the current results.
|
"""Get the current results.
|
||||||
@ -237,7 +236,6 @@ class Simulator:
|
|||||||
return SNRs, BERs
|
return SNRs, BERs
|
||||||
|
|
||||||
|
|
||||||
# TODO: Remove save data after successful execution
|
|
||||||
# TODO: Write currently calculated BERs to file when simulation is stopped
|
# TODO: Write currently calculated BERs to file when simulation is stopped
|
||||||
class SimulationManager:
|
class SimulationManager:
|
||||||
"""This class only contains functions relating to stopping and restarting of simulations
|
"""This class only contains functions relating to stopping and restarting of simulations
|
||||||
@ -290,7 +288,6 @@ class SimulationManager:
|
|||||||
|
|
||||||
os.remove(self._sim_state_filepath)
|
os.remove(self._sim_state_filepath)
|
||||||
|
|
||||||
# TODO: Make sure old state is overwritten
|
|
||||||
def _save_state(self) -> None:
|
def _save_state(self) -> None:
|
||||||
"""Write the state of the currently configured simulation to a savefile."""
|
"""Write the state of the currently configured simulation to a savefile."""
|
||||||
if self._simulator is not None:
|
if self._simulator is not None:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user