Commit Graph

53 Commits

Author SHA1 Message Date
fff31ce6ad WARNING: Non-multithreaded simulators broken: Adapted serialization to multithreaded simulator 2022-11-28 16:00:03 +01:00
c3c0368399 Fixed bug where dictionary was changed during operation 2022-11-28 15:56:26 +01:00
c276ad456c Implemented GenericMultithreadedSimulator 2022-11-27 02:49:13 +01:00
cee9c90c23 Added doc to simulation __init__ 2022-11-27 02:43:57 +01:00
b33a0735f0 Put simulation code into separate module 2022-11-25 19:36:57 +01:00
ec03f9f5f1 Renamed Simulator to ProximalDecoderSimulator and added ProximalDecoder specific functionality 2022-11-25 18:53:29 +01:00
516a67795f Changed progressbar to show number of iterations istead of frame errors 2022-11-25 10:45:14 +01:00
daf9cc6071 Handle the case of all dec-failures 2022-11-24 16:02:29 +01:00
68751c50cd Don't count decoding failures as bit errors 2022-11-24 12:51:06 +01:00
d6ce89cbeb Added iteration limit 2022-11-24 12:48:32 +01:00
203da09dc7 Added duration and end_time to metadata 2022-11-23 15:42:10 +01:00
2885ab76c6 typing and comment changes 2022-11-23 12:59:06 +01:00
e5934d9948 Simulation name now also being saved as metadata 2022-11-23 12:55:35 +01:00
8913246600 Reformatted all code 2022-11-23 11:45:44 +01:00
3c27a0cc18 Simulator class now returns pandas dataframe instead of raw data 2022-11-22 17:05:58 +01:00
8599ea9662 Added docstrings and TODOs 2022-11-22 16:46:28 +01:00
9beda2231d Modified visualization code to wread metadata 2022-11-21 13:28:00 +01:00
2cfbbd529c Automatically save sim results after completion 2022-11-18 13:33:59 +01:00
1485ade538 Changed metadata directory 2022-11-18 13:24:31 +01:00
3b022b33ad Moved de-serialization functions from SimulationManager to SimulationDeSerializer 2022-11-18 13:06:31 +01:00
f6d79cafe7 Fixed merge conflict; WARNGING: Untested 2022-11-16 19:57:18 +01:00
e9faba01d2 Removed unnecessary imports and fixed type hints 2022-11-16 19:47:56 +01:00
b196515cee Removed TODOs 2022-11-16 19:42:59 +01:00
dd485dfee0 Simulator now returns correct length BERs list no matter the simulation state 2022-11-16 19:42:04 +01:00
e27a86969e Now removing savefile after loading; Properly terminating program on signal sigterm 2022-11-16 19:30:47 +01:00
8098794804 Made Simulator object Picklable 2022-11-16 19:18:16 +01:00
b27093e516 Added progress bars; NOT WORKING - Serialization of progress bars not possible 2022-11-15 17:45:25 +01:00
e9cd215457 Modified the SimulationManager to work with the newly implemented Simulator; Added doc comments 2022-11-15 17:26:14 +01:00
c09e20cce4 Fixed graph spacing; Now calculating figsize depending on the number of row and columns 2022-11-15 16:27:11 +01:00
d9009970ad Implemented proper titles and line labels in visualization.show_BER_curves() 2022-11-15 16:12:28 +01:00
c24a36db07 Implemented Simulator 2022-11-15 00:30:27 +01:00
8f4b7e1fa1 Added rough implementation of Simulator class 2022-11-14 11:12:46 +01:00
9fab9bda68 Removed unused code 2022-11-13 23:55:41 +01:00
ffcce7b3f2 Renamed utility.simulations to utility.simulation; Implemented first version of the SimulationManager class 2022-11-13 23:14:47 +01:00
3e02dcf17c Removed N_max from simulations.test_decoder() 2022-11-11 21:24:56 +01:00
0f8de32e3f Fixed bugs in visualization.show_BER_curves 2022-11-11 17:38:15 +01:00
6105eef4c1 Properly implemented visualization._get_num_rows() and added unit tests 2022-11-11 15:33:29 +01:00
fad296f759 Finished first rough implementation of show_BER_curves() 2022-11-10 13:05:13 +01:00
2fae3ba3be Made main.py work with the new simulation functions 2022-11-10 12:19:01 +01:00
f791a9a086 Fixed noise variance calculation 2022-11-10 11:43:04 +01:00
20049e55f0 Removed confusion relating to n and k 2022-11-10 11:27:29 +01:00
df94fb33b6 Changed test_decoder() to get n and k as arguments; Reimplemented test_decoders() in utility.simulations 2022-11-10 11:21:39 +01:00
a6baad0201 Comment changes 2022-11-10 10:24:24 +01:00
a6849a1f7d changed test_decoder() to accept target frame errors instead of bit errors 2022-11-10 10:21:57 +01:00
bef9c8ee3a Removed TODOs; Formatting; Changed test_decoder() default SNR array 2022-11-10 10:04:31 +01:00
23e318609c Fixed usages of x, x_hat, y 2022-11-10 09:59:41 +01:00
70bbe08bc4 Fixed usage of n and k 2022-11-10 09:52:21 +01:00
5865a8683f Removed references to the R-Matrix; Comment changes 2022-11-10 08:37:13 +01:00
3a178f2d35 Now calculating the error rate based on the codewrords, not datawords 2022-11-08 20:03:48 +01:00
bb31b53d98 Added TODOs 2022-11-08 19:13:51 +01:00