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_FL7",
|
|
"source": "colour.SDS_ILLUMINANTS['FL7'] (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": [
|
|
2.56,
|
|
3.18,
|
|
3.84,
|
|
4.53,
|
|
6.15,
|
|
19.37,
|
|
7.37,
|
|
7.05,
|
|
7.71,
|
|
8.41,
|
|
9.15,
|
|
44.14,
|
|
17.52,
|
|
11.35,
|
|
12.0,
|
|
12.58,
|
|
13.08,
|
|
13.45,
|
|
13.71,
|
|
13.88,
|
|
13.95,
|
|
13.93,
|
|
13.82,
|
|
13.64,
|
|
13.43,
|
|
13.25,
|
|
13.08,
|
|
12.93,
|
|
12.78,
|
|
12.6,
|
|
12.44,
|
|
12.33,
|
|
12.26,
|
|
29.52,
|
|
17.05,
|
|
12.44,
|
|
12.58,
|
|
12.72,
|
|
12.83,
|
|
15.46,
|
|
16.75,
|
|
12.83,
|
|
12.67,
|
|
12.45,
|
|
12.19,
|
|
11.89,
|
|
11.6,
|
|
11.35,
|
|
11.12,
|
|
10.95,
|
|
10.76,
|
|
10.42,
|
|
10.11,
|
|
10.04,
|
|
10.02,
|
|
10.11,
|
|
9.87,
|
|
8.65,
|
|
7.27,
|
|
6.44,
|
|
5.83,
|
|
5.41,
|
|
5.04,
|
|
4.57,
|
|
4.12,
|
|
3.77,
|
|
3.46,
|
|
3.08,
|
|
2.73,
|
|
2.47,
|
|
2.25,
|
|
2.06,
|
|
1.9,
|
|
1.75,
|
|
1.62,
|
|
1.54,
|
|
1.45,
|
|
1.32,
|
|
1.17,
|
|
0.99,
|
|
0.81
|
|
],
|
|
"expected": {
|
|
"Rf": 91.50869346468996,
|
|
"Rg": 98.87497602816629,
|
|
"CCT_K": 6489.960061083189,
|
|
"Duv": 0.003264676588044968,
|
|
"bins": [
|
|
{
|
|
"bin": 1,
|
|
"ref_a": 23.825015547519147,
|
|
"ref_b": 4.881654598476364,
|
|
"test_a": 22.6516177651795,
|
|
"test_b": 4.210286137009446,
|
|
"ref_a_norm": 0.9796474204886955,
|
|
"ref_b_norm": 0.20072601109433985,
|
|
"test_a_norm": 0.9313991367306649,
|
|
"test_b_norm": 0.17312038875332883,
|
|
"Rcs_pct": -5.270679626655804,
|
|
"Rhs": -0.01766241483335448,
|
|
"Rf_h": 90.06087358388218
|
|
},
|
|
{
|
|
"bin": 2,
|
|
"ref_a": 18.626798446208436,
|
|
"ref_b": 11.893394281714265,
|
|
"test_a": 17.53944289937631,
|
|
"test_b": 11.831547345432073,
|
|
"ref_a_norm": 0.8428411721886541,
|
|
"ref_b_norm": 0.53816239042101,
|
|
"test_a_norm": 0.7936395862948434,
|
|
"test_b_norm": 0.5353638878000204,
|
|
"Rcs_pct": -4.24643883010463,
|
|
"Rhs": 0.025008066650656448,
|
|
"Rf_h": 92.2602668733799
|
|
},
|
|
{
|
|
"bin": 3,
|
|
"ref_a": 13.416515030615493,
|
|
"ref_b": 20.70775418776164,
|
|
"test_a": 11.68510710763039,
|
|
"test_b": 21.18550410114834,
|
|
"ref_a_norm": 0.5437476847674886,
|
|
"ref_b_norm": 0.8392487445984032,
|
|
"test_a_norm": 0.4735767761997332,
|
|
"test_b_norm": 0.8586111057413004,
|
|
"Rcs_pct": -2.2885653111438464,
|
|
"Rhs": 0.06910212963371802,
|
|
"Rf_h": 87.73050857457427
|
|
},
|
|
{
|
|
"bin": 4,
|
|
"ref_a": 4.497732194468745,
|
|
"ref_b": 22.856648188462042,
|
|
"test_a": 2.9777220871568804,
|
|
"test_b": 23.534744487354903,
|
|
"ref_a_norm": 0.1930773385970052,
|
|
"ref_b_norm": 0.9811835410973307,
|
|
"test_a_norm": 0.12782678710324563,
|
|
"test_b_norm": 1.0102926616589603,
|
|
"Rcs_pct": 1.5820045869681665,
|
|
"Rhs": 0.069675688147247,
|
|
"Rf_h": 88.53755230038237
|
|
},
|
|
{
|
|
"bin": 5,
|
|
"ref_a": -1.5564921163978616,
|
|
"ref_b": 21.49654049251981,
|
|
"test_a": -2.747187202526903,
|
|
"test_b": 22.502536949132164,
|
|
"ref_a_norm": -0.07221757211737939,
|
|
"ref_b_norm": 0.9973889022229349,
|
|
"test_a_norm": -0.12746302267021295,
|
|
"test_b_norm": 1.044064770921431,
|
|
"Rcs_pct": 5.655685770779722,
|
|
"Rhs": 0.04507791445669155,
|
|
"Rf_h": 89.02101722683231
|
|
},
|
|
{
|
|
"bin": 6,
|
|
"ref_a": -10.216553964629892,
|
|
"ref_b": 16.758257946109868,
|
|
"test_a": -10.352388481198771,
|
|
"test_b": 17.394801155071843,
|
|
"ref_a_norm": -0.5205370027417338,
|
|
"ref_b_norm": 0.8538391117632478,
|
|
"test_a_norm": -0.5274578189355724,
|
|
"test_b_norm": 0.8862712112026281,
|
|
"Rcs_pct": 3.0811304612515866,
|
|
"Rhs": -0.012263860685343214,
|
|
"Rf_h": 95.04935272594383
|
|
},
|
|
{
|
|
"bin": 7,
|
|
"ref_a": -17.900885124314406,
|
|
"ref_b": 11.619945883088482,
|
|
"test_a": -17.408242555551602,
|
|
"test_b": 12.075728814475376,
|
|
"ref_a_norm": -0.8387780978069008,
|
|
"ref_b_norm": 0.5444734177528203,
|
|
"test_a_norm": -0.8156944461407436,
|
|
"test_b_norm": 0.5658299449606443,
|
|
"Rcs_pct": -0.7328304104046548,
|
|
"Rhs": -0.030581893132728483,
|
|
"Rf_h": 95.15602484621732
|
|
},
|
|
{
|
|
"bin": 8,
|
|
"ref_a": -24.005640425956276,
|
|
"ref_b": 2.9794232616988148,
|
|
"test_a": -23.09040277042542,
|
|
"test_b": 3.7437224982272013,
|
|
"ref_a_norm": -0.9923857795497559,
|
|
"ref_b_norm": 0.12316843973771517,
|
|
"test_a_norm": -0.9545501368365873,
|
|
"test_b_norm": 0.15476433471043977,
|
|
"Rcs_pct": -3.0944588123054926,
|
|
"Rhs": -0.03837015643101397,
|
|
"Rf_h": 91.91991305647048
|
|
},
|
|
{
|
|
"bin": 9,
|
|
"ref_a": -15.681738097110351,
|
|
"ref_b": -2.597786790941883,
|
|
"test_a": -14.905298900248942,
|
|
"test_b": -2.316965597372676,
|
|
"ref_a_norm": -0.98655500547319,
|
|
"ref_b_norm": -0.16342956028758726,
|
|
"test_a_norm": -0.9377083807326355,
|
|
"test_b_norm": -0.145762797047248,
|
|
"Rcs_pct": -5.13546650724566,
|
|
"Rhs": -0.007797797588457849,
|
|
"Rf_h": 93.87609522663926
|
|
},
|
|
{
|
|
"bin": 10,
|
|
"ref_a": -19.75796450515429,
|
|
"ref_b": -11.977979598701992,
|
|
"test_a": -18.493445265528035,
|
|
"test_b": -12.19380808293665,
|
|
"ref_a_norm": -0.8551315311295581,
|
|
"ref_b_norm": -0.5184110960116667,
|
|
"test_a_norm": -0.8004027014850723,
|
|
"test_b_norm": -0.5277522273886771,
|
|
"Rcs_pct": -4.031570423048023,
|
|
"Rhs": 0.03817257552298703,
|
|
"Rf_h": 90.65971842930655
|
|
},
|
|
{
|
|
"bin": 11,
|
|
"ref_a": -12.860910077714637,
|
|
"ref_b": -18.94000009671232,
|
|
"test_a": -11.510994893966597,
|
|
"test_b": -19.430537611464484,
|
|
"ref_a_norm": -0.5617636012945685,
|
|
"ref_b_norm": -0.8272978038533385,
|
|
"test_a_norm": -0.5027994058774372,
|
|
"test_b_norm": -0.8487244462287302,
|
|
"Rcs_pct": -1.4943149758896752,
|
|
"Rhs": 0.06093094140053765,
|
|
"Rf_h": 89.54655981386743
|
|
},
|
|
{
|
|
"bin": 12,
|
|
"ref_a": -3.745028714574225,
|
|
"ref_b": -20.755288084882153,
|
|
"test_a": -2.740833936195919,
|
|
"test_b": -21.31126020711961,
|
|
"ref_a_norm": -0.177569853430874,
|
|
"ref_b_norm": -0.9841081989052514,
|
|
"test_a_norm": -0.129956141173141,
|
|
"test_b_norm": -1.0104695156751766,
|
|
"Rcs_pct": 1.6565817003245082,
|
|
"Rhs": 0.051841665905153274,
|
|
"Rf_h": 91.84358886625594
|
|
},
|
|
{
|
|
"bin": 13,
|
|
"ref_a": 1.9079141173395253,
|
|
"ref_b": -15.819274038988182,
|
|
"test_a": 2.282215652025648,
|
|
"test_b": -16.400980309623545,
|
|
"ref_a_norm": 0.11973921144181265,
|
|
"ref_b_norm": -0.9928053793384144,
|
|
"test_a_norm": 0.14323008568895826,
|
|
"test_b_norm": -1.029312814082785,
|
|
"Rcs_pct": 4.038879684387614,
|
|
"Rhs": 0.015917256485141695,
|
|
"Rf_h": 94.52465661008777
|
|
},
|
|
{
|
|
"bin": 14,
|
|
"ref_a": 12.614288986715366,
|
|
"ref_b": -18.76992516605142,
|
|
"test_a": 12.523626755624798,
|
|
"test_b": -19.693893162587337,
|
|
"ref_a_norm": 0.5577884486420331,
|
|
"ref_b_norm": -0.8299831604083988,
|
|
"test_a_norm": 0.5537794755414731,
|
|
"test_b_norm": -0.8708398964420685,
|
|
"Rcs_pct": 3.1743868350215356,
|
|
"Rhs": -0.026032125668300272,
|
|
"Rf_h": 92.4034214021567
|
|
},
|
|
{
|
|
"bin": 15,
|
|
"ref_a": 12.096137752427511,
|
|
"ref_b": -8.347212669849775,
|
|
"test_a": 11.652622397162306,
|
|
"test_b": -9.196689321296702,
|
|
"ref_a_norm": 0.8230522006493847,
|
|
"ref_b_norm": -0.5679657340070834,
|
|
"test_a_norm": 0.7928742796762572,
|
|
"test_b_norm": -0.6257663015670347,
|
|
"Rcs_pct": 0.7020250536324284,
|
|
"Rhs": -0.06482537008702735,
|
|
"Rf_h": 92.56961452295765
|
|
},
|
|
{
|
|
"bin": 16,
|
|
"ref_a": 22.588599076378774,
|
|
"ref_b": -3.8857026585061076,
|
|
"test_a": 22.071100044653353,
|
|
"test_b": -4.82548561063591,
|
|
"ref_a_norm": 0.9855249382501239,
|
|
"ref_b_norm": -0.16953051668383864,
|
|
"test_a_norm": 0.9629468137917985,
|
|
"test_b_norm": -0.21053259621672843,
|
|
"Rcs_pct": -1.4145183228435354,
|
|
"Rhs": -0.04461900964287579,
|
|
"Rf_h": 92.18821746212613
|
|
}
|
|
]
|
|
}
|
|
} |