lampbench station / export / label / tm30 / calibrate replace the Python lamp_station.py, lamp_export.py, label_printer.py, tm30.py and calibration.py that lived in HPCS6500-py. The driver is a submodule (HPCS6500/, like mppt-testbench). Workspace crates: tm30 (TM-30-18 port of colour-science 0.4.7), brother-ql (raster protocol, byte-identical to brother_ql) and lamp-label (QR + ID labels for the QL-820NWB). Bundles are byte-identical to lamp_export.py's (golden tests); the station runs end to end in a test against the simulated instrument.
403 lines
8.2 KiB
JSON
403 lines
8.2 KiB
JSON
{
|
|
"name": "illuminant_FL11",
|
|
"source": "colour.SDS_ILLUMINANTS['FL11'] (380.0, 780.0, 5.0)",
|
|
"generator": "crates/tm30/tools/golden.py (tm30.py + colour-science 0.4.7, numpy 2.5.1)",
|
|
"wavelengths": [
|
|
380.0,
|
|
385.0,
|
|
390.0,
|
|
395.0,
|
|
400.0,
|
|
405.0,
|
|
410.0,
|
|
415.0,
|
|
420.0,
|
|
425.0,
|
|
430.0,
|
|
435.0,
|
|
440.0,
|
|
445.0,
|
|
450.0,
|
|
455.0,
|
|
460.0,
|
|
465.0,
|
|
470.0,
|
|
475.0,
|
|
480.0,
|
|
485.0,
|
|
490.0,
|
|
495.0,
|
|
500.0,
|
|
505.0,
|
|
510.0,
|
|
515.0,
|
|
520.0,
|
|
525.0,
|
|
530.0,
|
|
535.0,
|
|
540.0,
|
|
545.0,
|
|
550.0,
|
|
555.0,
|
|
560.0,
|
|
565.0,
|
|
570.0,
|
|
575.0,
|
|
580.0,
|
|
585.0,
|
|
590.0,
|
|
595.0,
|
|
600.0,
|
|
605.0,
|
|
610.0,
|
|
615.0,
|
|
620.0,
|
|
625.0,
|
|
630.0,
|
|
635.0,
|
|
640.0,
|
|
645.0,
|
|
650.0,
|
|
655.0,
|
|
660.0,
|
|
665.0,
|
|
670.0,
|
|
675.0,
|
|
680.0,
|
|
685.0,
|
|
690.0,
|
|
695.0,
|
|
700.0,
|
|
705.0,
|
|
710.0,
|
|
715.0,
|
|
720.0,
|
|
725.0,
|
|
730.0,
|
|
735.0,
|
|
740.0,
|
|
745.0,
|
|
750.0,
|
|
755.0,
|
|
760.0,
|
|
765.0,
|
|
770.0,
|
|
775.0,
|
|
780.0
|
|
],
|
|
"values": [
|
|
0.91,
|
|
0.63,
|
|
0.46,
|
|
0.37,
|
|
1.29,
|
|
12.68,
|
|
1.59,
|
|
1.79,
|
|
2.46,
|
|
3.33,
|
|
4.49,
|
|
33.94,
|
|
12.13,
|
|
6.95,
|
|
7.19,
|
|
7.12,
|
|
6.72,
|
|
6.13,
|
|
5.46,
|
|
4.79,
|
|
5.66,
|
|
14.29,
|
|
14.96,
|
|
8.97,
|
|
4.72,
|
|
2.33,
|
|
1.47,
|
|
1.1,
|
|
0.89,
|
|
0.83,
|
|
1.18,
|
|
4.9,
|
|
39.59,
|
|
72.84,
|
|
32.61,
|
|
7.52,
|
|
2.83,
|
|
1.96,
|
|
1.67,
|
|
4.43,
|
|
11.28,
|
|
14.76,
|
|
12.73,
|
|
9.74,
|
|
7.33,
|
|
9.72,
|
|
55.27,
|
|
42.58,
|
|
13.18,
|
|
13.16,
|
|
12.26,
|
|
5.11,
|
|
2.07,
|
|
2.34,
|
|
3.58,
|
|
3.01,
|
|
2.48,
|
|
2.14,
|
|
1.54,
|
|
1.33,
|
|
1.46,
|
|
1.94,
|
|
2.0,
|
|
1.2,
|
|
1.35,
|
|
4.1,
|
|
5.58,
|
|
2.51,
|
|
0.57,
|
|
0.27,
|
|
0.23,
|
|
0.21,
|
|
0.24,
|
|
0.24,
|
|
0.2,
|
|
0.24,
|
|
0.32,
|
|
0.26,
|
|
0.16,
|
|
0.12,
|
|
0.09
|
|
],
|
|
"expected": {
|
|
"Rf": 80.14806264977813,
|
|
"Rg": 100.9613884356507,
|
|
"CCT_K": 4000.699316695891,
|
|
"Duv": 0.000154237942531646,
|
|
"bins": [
|
|
{
|
|
"bin": 1,
|
|
"ref_a": 21.534053290620133,
|
|
"ref_b": 5.053585696736461,
|
|
"test_a": 19.940668068850904,
|
|
"test_b": 3.9056279677503465,
|
|
"ref_a_norm": 0.9735505608229065,
|
|
"ref_b_norm": 0.22847167334574373,
|
|
"test_a_norm": 0.9015139100667733,
|
|
"test_b_norm": 0.1765727170381438,
|
|
"Rcs_pct": -8.077747080951433,
|
|
"Rhs": -0.036848079021806986,
|
|
"Rf_h": 81.69864138699103
|
|
},
|
|
{
|
|
"bin": 2,
|
|
"ref_a": 20.62507579605772,
|
|
"ref_b": 14.421738069109516,
|
|
"test_a": 20.519750607150677,
|
|
"test_b": 14.266682021301463,
|
|
"ref_a_norm": 0.8195270337259007,
|
|
"ref_b_norm": 0.5730405229932928,
|
|
"test_a_norm": 0.8153419902140554,
|
|
"test_b_norm": 0.5668794487660803,
|
|
"Rcs_pct": -0.6902645950326755,
|
|
"Rhs": -0.0027976603999945106,
|
|
"Rf_h": 92.69598199966805
|
|
},
|
|
{
|
|
"bin": 3,
|
|
"ref_a": 14.615395277189476,
|
|
"ref_b": 22.321973372539844,
|
|
"test_a": 12.174400800180106,
|
|
"test_b": 23.092771921227527,
|
|
"ref_a_norm": 0.5477811531046525,
|
|
"ref_b_norm": 0.8366216637783996,
|
|
"test_a_norm": 0.4562933251000848,
|
|
"test_b_norm": 0.8655109897120274,
|
|
"Rcs_pct": -2.6807317289239547,
|
|
"Rhs": 0.09211939842208465,
|
|
"Rf_h": 80.9259429275031
|
|
},
|
|
{
|
|
"bin": 4,
|
|
"ref_a": 3.736163971569656,
|
|
"ref_b": 22.134381528835362,
|
|
"test_a": 0.2167285185220803,
|
|
"test_b": 23.917134119728548,
|
|
"ref_a_norm": 0.16644017310603096,
|
|
"ref_b_norm": 0.9860515548268429,
|
|
"test_a_norm": 0.00965491140493863,
|
|
"test_b_norm": 1.0654703523130857,
|
|
"Rcs_pct": 4.730550036918292,
|
|
"Rhs": 0.1692665156363245,
|
|
"Rf_h": 72.34218812453666
|
|
},
|
|
{
|
|
"bin": 5,
|
|
"ref_a": -2.230734277566569,
|
|
"ref_b": 19.11367062435309,
|
|
"test_a": -4.752115175353902,
|
|
"test_b": 20.978184233997446,
|
|
"ref_a_norm": -0.11592202345469897,
|
|
"ref_b_norm": 0.9932583170948874,
|
|
"test_a_norm": -0.2469477482623956,
|
|
"test_b_norm": 1.090149368872052,
|
|
"Rcs_pct": 12.059116823096048,
|
|
"Rhs": 0.10960559575386483,
|
|
"Rf_h": 75.08315104549725
|
|
},
|
|
{
|
|
"bin": 6,
|
|
"ref_a": -11.177820690697972,
|
|
"ref_b": 17.114853916021826,
|
|
"test_a": -12.364802280908782,
|
|
"test_b": 18.726579959041235,
|
|
"ref_a_norm": -0.5468154178172248,
|
|
"ref_b_norm": 0.8372531868182849,
|
|
"test_a_norm": -0.6048821780697502,
|
|
"test_b_norm": 0.9160983100321489,
|
|
"Rcs_pct": 9.78174875547669,
|
|
"Rhs": 0.004476743158446503,
|
|
"Rf_h": 85.35904249030229
|
|
},
|
|
{
|
|
"bin": 7,
|
|
"ref_a": -18.253925799154096,
|
|
"ref_b": 11.16192659417812,
|
|
"test_a": -17.122926190000513,
|
|
"test_b": 13.058162135409987,
|
|
"ref_a_norm": -0.8531414388165253,
|
|
"ref_b_norm": 0.5216796769801074,
|
|
"test_a_norm": -0.8002814324556508,
|
|
"test_b_norm": 0.6103048382622113,
|
|
"Rcs_pct": 0.5286012509711869,
|
|
"Rhs": -0.10305657454281009,
|
|
"Rf_h": 82.92316332807208
|
|
},
|
|
{
|
|
"bin": 8,
|
|
"ref_a": -22.840170261092695,
|
|
"ref_b": 3.4715684003557246,
|
|
"test_a": -21.752493975808783,
|
|
"test_b": 5.01291580860449,
|
|
"ref_a_norm": -0.9886452794682653,
|
|
"ref_b_norm": 0.15026813163513986,
|
|
"test_a_norm": -0.9415648062168337,
|
|
"test_b_norm": 0.21698592847142686,
|
|
"Rcs_pct": -3.315983869042425,
|
|
"Rhs": -0.07462077776525704,
|
|
"Rf_h": 85.36870813324033
|
|
},
|
|
{
|
|
"bin": 9,
|
|
"ref_a": -19.3610990027732,
|
|
"ref_b": -2.2281484175655657,
|
|
"test_a": -18.08673726001779,
|
|
"test_b": -1.1089101146248912,
|
|
"ref_a_norm": -0.9934429234163967,
|
|
"ref_b_norm": -0.11432916475634447,
|
|
"test_a_norm": -0.9280537812488157,
|
|
"test_b_norm": -0.05689960605651412,
|
|
"Rcs_pct": -7.533665923615173,
|
|
"Rhs": -0.043569277031015104,
|
|
"Rf_h": 87.80663399682783
|
|
},
|
|
{
|
|
"bin": 10,
|
|
"ref_a": -20.087697186814637,
|
|
"ref_b": -11.374583960721276,
|
|
"test_a": -15.621827186217237,
|
|
"test_b": -12.309353698821846,
|
|
"ref_a_norm": -0.8701790471937452,
|
|
"ref_b_norm": -0.49273565511842715,
|
|
"test_a_norm": -0.6767220040160047,
|
|
"test_b_norm": -0.5332289497196531,
|
|
"Rcs_pct": -13.835678357085825,
|
|
"Rhs": 0.14114791852047454,
|
|
"Rf_h": 68.28243435650182
|
|
},
|
|
{
|
|
"bin": 11,
|
|
"ref_a": -11.959029103702564,
|
|
"ref_b": -17.411182807601225,
|
|
"test_a": -8.460583147582156,
|
|
"test_b": -18.379475801181744,
|
|
"ref_a_norm": -0.5661700308369788,
|
|
"ref_b_norm": -0.824288478739121,
|
|
"test_a_norm": -0.4005449422380258,
|
|
"test_b_norm": -0.8701298651326856,
|
|
"Rcs_pct": -5.390064929474432,
|
|
"Rhs": 0.16318033792556047,
|
|
"Rf_h": 74.23333672054656
|
|
},
|
|
{
|
|
"bin": 12,
|
|
"ref_a": -7.899904980899336,
|
|
"ref_b": -24.369728820707117,
|
|
"test_a": -4.644222543699326,
|
|
"test_b": -25.723852969842962,
|
|
"ref_a_norm": -0.3083708035356244,
|
|
"ref_b_norm": -0.9512662337783221,
|
|
"test_a_norm": -0.18128605863760472,
|
|
"test_b_norm": -1.0041241292803105,
|
|
"Rcs_pct": 2.7049242055950073,
|
|
"Rhs": 0.13495491101435503,
|
|
"Rf_h": 74.78953391229516
|
|
},
|
|
{
|
|
"bin": 13,
|
|
"ref_a": 3.373263244633737,
|
|
"ref_b": -17.974767350031367,
|
|
"test_a": 3.295124337283678,
|
|
"test_b": -19.652406760902704,
|
|
"ref_a_norm": 0.18444670105795574,
|
|
"ref_b_norm": -0.9828425176338462,
|
|
"test_a_norm": 0.18017414281397068,
|
|
"test_b_norm": -1.0745741829262856,
|
|
"Rcs_pct": 8.913553230204883,
|
|
"Rhs": -0.022086422356343734,
|
|
"Rf_h": 82.31987402636771
|
|
},
|
|
{
|
|
"bin": 14,
|
|
"ref_a": 10.365135926944294,
|
|
"ref_b": -14.459034121252602,
|
|
"test_a": 13.227693524434784,
|
|
"test_b": -14.645456730911656,
|
|
"ref_a_norm": 0.5826239633197431,
|
|
"ref_b_norm": -0.8127418516143946,
|
|
"test_a_norm": 0.7435282355295748,
|
|
"test_b_norm": -0.8232206606196507,
|
|
"Rcs_pct": 9.810643526645837,
|
|
"Rhs": 0.12796529847131397,
|
|
"Rf_h": 80.36990026788312
|
|
},
|
|
{
|
|
"bin": 15,
|
|
"ref_a": 15.527150560160058,
|
|
"ref_b": -10.949892107199762,
|
|
"test_a": 15.138432200943534,
|
|
"test_b": -12.881895991004772,
|
|
"ref_a_norm": 0.8172268926032334,
|
|
"ref_b_norm": -0.5763160643310777,
|
|
"test_a_norm": 0.7967678202467487,
|
|
"test_b_norm": -0.6780015296933117,
|
|
"Rcs_pct": 3.9482320725686884,
|
|
"Rhs": -0.09591482605799767,
|
|
"Rf_h": 82.77297375610138
|
|
},
|
|
{
|
|
"bin": 16,
|
|
"ref_a": 20.16425145845188,
|
|
"ref_b": -3.5016848993407703,
|
|
"test_a": 20.18126357794085,
|
|
"test_b": -5.558316347342718,
|
|
"ref_a_norm": 0.9852541321137537,
|
|
"ref_b_norm": -0.17109732655063342,
|
|
"test_a_norm": 0.9860853685748273,
|
|
"test_b_norm": -0.27158727712252445,
|
|
"Rcs_pct": 2.0419881302010534,
|
|
"Rhs": -0.09839689816049653,
|
|
"Rf_h": 81.23942198536625
|
|
}
|
|
]
|
|
}
|
|
} |