Learned-key stages, per-scheme plot styles, KM naming

exp_learned.py mirrors every structured result stage for the learned key
family at the same SNRs, frame counts and seeds, so Figs. 2, 3, 4 and 7
and Tables IV and VI can carry both realizations of keyed masking.

replot_security.py gains a style registry: colour identifies the scheme
and line style the role, so a curve learned in one figure reads the same
in the next. Previously OMA was grey in two figures and teal in a third,
and blue meant the eavesdropper in one figure and the permutation key in
another.
This commit is contained in:
KiHoLee
2026-08-28 20:15:45 +09:00
parent 3a9a5eebf4
commit c00e8ab666
17 changed files with 320 additions and 57 deletions
+43
View File
@@ -0,0 +1,43 @@
snr_db,n_frames,kappa,eve_ser
0,1,0.2127109103,0.993336
0,2,0.7559393242,0.666508
0,3,0.8627683729,0.392272125
0,4,0.9179756209,0.218212875
0,5,0.945390512,0.14425925
0,6,0.9590921029,0.107493
0,8,0.9725584686,0.086112625
0,10,0.9778045967,0.07933375
0,12,0.9831736788,0.07420325
0,16,0.9879393309,0.070712875
0,24,0.9925390184,0.067800375
0,32,0.9945808738,0.06649325
0,48,0.9965663388,0.065265
0,64,0.9975094497,0.065024875
10,1,0.3165432975,0.948993875
10,2,0.9290210679,0.19776825
10,3,0.9781143948,0.095876875
10,4,0.9896475986,0.070495125
10,5,0.9934410676,0.067297125
10,6,0.9953705788,0.06628575
10,8,0.9971551418,0.06520175
10,10,0.9979188025,0.064684875
10,12,0.9982561454,0.06454375
10,16,0.9987509355,0.06426625
10,24,0.9992754847,0.064091125
10,32,0.9994516179,0.06386675
10,48,0.9996520028,0.063819875
10,64,0.999746412,0.063847125
20,1,0.742194891,0.513137625
20,2,0.9947786465,0.06753025
20,3,0.9986294076,0.06438075
20,4,0.9992210969,0.064160375
20,5,0.9994008377,0.064080125
20,6,0.9995701849,0.063900375
20,8,0.9997365534,0.063852875
20,10,0.9998067141,0.063813
20,12,0.9998438716,0.06370225
20,16,0.9998808399,0.063670875
20,24,0.9999239221,0.06380125
20,32,0.9999452353,0.063820625
20,48,0.9999649763,0.063811
20,64,0.9999733046,0.06377525
1 snr_db n_frames kappa eve_ser
2 0 1 0.2127109103 0.993336
3 0 2 0.7559393242 0.666508
4 0 3 0.8627683729 0.392272125
5 0 4 0.9179756209 0.218212875
6 0 5 0.945390512 0.14425925
7 0 6 0.9590921029 0.107493
8 0 8 0.9725584686 0.086112625
9 0 10 0.9778045967 0.07933375
10 0 12 0.9831736788 0.07420325
11 0 16 0.9879393309 0.070712875
12 0 24 0.9925390184 0.067800375
13 0 32 0.9945808738 0.06649325
14 0 48 0.9965663388 0.065265
15 0 64 0.9975094497 0.065024875
16 10 1 0.3165432975 0.948993875
17 10 2 0.9290210679 0.19776825
18 10 3 0.9781143948 0.095876875
19 10 4 0.9896475986 0.070495125
20 10 5 0.9934410676 0.067297125
21 10 6 0.9953705788 0.06628575
22 10 8 0.9971551418 0.06520175
23 10 10 0.9979188025 0.064684875
24 10 12 0.9982561454 0.06454375
25 10 16 0.9987509355 0.06426625
26 10 24 0.9992754847 0.064091125
27 10 32 0.9994516179 0.06386675
28 10 48 0.9996520028 0.063819875
29 10 64 0.999746412 0.063847125
30 20 1 0.742194891 0.513137625
31 20 2 0.9947786465 0.06753025
32 20 3 0.9986294076 0.06438075
33 20 4 0.9992210969 0.064160375
34 20 5 0.9994008377 0.064080125
35 20 6 0.9995701849 0.063900375
36 20 8 0.9997365534 0.063852875
37 20 10 0.9998067141 0.063813
38 20 12 0.9998438716 0.06370225
39 20 16 0.9998808399 0.063670875
40 20 24 0.9999239221 0.06380125
41 20 32 0.9999452353 0.063820625
42 20 48 0.9999649763 0.063811
43 20 64 0.9999733046 0.06377525