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_LED_B3",
|
|
"source": "colour.SDS_ILLUMINANTS['LED-B3'] (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.0,
|
|
0.0,
|
|
0.01,
|
|
0.02,
|
|
0.05,
|
|
0.11,
|
|
0.25,
|
|
0.56,
|
|
1.2,
|
|
2.37,
|
|
4.24,
|
|
7.17,
|
|
12.11,
|
|
17.7,
|
|
18.87,
|
|
14.58,
|
|
9.9,
|
|
7.53,
|
|
6.02,
|
|
5.11,
|
|
5.17,
|
|
5.82,
|
|
6.77,
|
|
7.88,
|
|
8.94,
|
|
9.82,
|
|
10.52,
|
|
11.06,
|
|
11.51,
|
|
11.93,
|
|
12.37,
|
|
12.83,
|
|
13.31,
|
|
13.79,
|
|
14.26,
|
|
14.68,
|
|
15.08,
|
|
15.42,
|
|
15.72,
|
|
15.97,
|
|
16.18,
|
|
16.37,
|
|
16.5,
|
|
16.55,
|
|
16.5,
|
|
16.32,
|
|
16.0,
|
|
15.54,
|
|
14.96,
|
|
14.27,
|
|
13.48,
|
|
12.62,
|
|
11.71,
|
|
10.78,
|
|
9.85,
|
|
8.93,
|
|
8.04,
|
|
7.2,
|
|
6.42,
|
|
5.69,
|
|
5.02,
|
|
4.42,
|
|
3.88,
|
|
3.39,
|
|
2.95,
|
|
2.56,
|
|
2.22,
|
|
1.92,
|
|
1.65,
|
|
1.43,
|
|
1.23,
|
|
1.06,
|
|
0.91,
|
|
0.78,
|
|
0.68,
|
|
0.58,
|
|
0.5,
|
|
0.43,
|
|
0.37,
|
|
0.32,
|
|
0.28
|
|
],
|
|
"expected": {
|
|
"Rf": 85.38454466499574,
|
|
"Rg": 97.80916983177697,
|
|
"CCT_K": 4102.468462648342,
|
|
"Duv": -0.0006011925463278111,
|
|
"bins": [
|
|
{
|
|
"bin": 1,
|
|
"ref_a": 21.493700038778744,
|
|
"ref_b": 4.988242897626086,
|
|
"test_a": 19.411233459420643,
|
|
"test_b": 4.23669712832581,
|
|
"ref_a_norm": 0.9741108355243191,
|
|
"ref_b_norm": 0.2260709625628928,
|
|
"test_a_norm": 0.8797318660630308,
|
|
"test_b_norm": 0.1920103366144972,
|
|
"Rcs_pct": -9.921040251160099,
|
|
"Rhs": -0.014993737027753664,
|
|
"Rf_h": 83.4297296336035
|
|
},
|
|
{
|
|
"bin": 2,
|
|
"ref_a": 20.632629880562934,
|
|
"ref_b": 14.362498686856105,
|
|
"test_a": 18.45702290929628,
|
|
"test_b": 14.547321804053496,
|
|
"ref_a_norm": 0.8207305308064994,
|
|
"ref_b_norm": 0.5713154958532822,
|
|
"test_a_norm": 0.734188627292972,
|
|
"test_b_norm": 0.5786674415800666,
|
|
"Rcs_pct": -6.787244076173993,
|
|
"Rhs": 0.05419302496408906,
|
|
"Rf_h": 85.10699708123433
|
|
},
|
|
{
|
|
"bin": 3,
|
|
"ref_a": 14.624451736408473,
|
|
"ref_b": 22.296146038282902,
|
|
"test_a": 11.639461010289333,
|
|
"test_b": 23.24160604115465,
|
|
"ref_a_norm": 0.548462599352322,
|
|
"ref_b_norm": 0.8361750875933188,
|
|
"test_a_norm": 0.4365161276350898,
|
|
"test_b_norm": 0.8716327895369569,
|
|
"Rcs_pct": -3.2712125689449016,
|
|
"Rhs": 0.11277933316853155,
|
|
"Rf_h": 78.25955648281744
|
|
},
|
|
{
|
|
"bin": 4,
|
|
"ref_a": 3.7835162288529713,
|
|
"ref_b": 22.124812911061632,
|
|
"test_a": 1.9767958833820278,
|
|
"test_b": 22.820844592301984,
|
|
"ref_a_norm": 0.16856091893229183,
|
|
"ref_b_norm": 0.9856912379689197,
|
|
"test_a_norm": 0.08806901054193811,
|
|
"test_b_norm": 1.0167004190320679,
|
|
"Rcs_pct": 1.471015601652765,
|
|
"Rhs": 0.08499487005989027,
|
|
"Rf_h": 86.27543627383668
|
|
},
|
|
{
|
|
"bin": 5,
|
|
"ref_a": -2.2119448982587593,
|
|
"ref_b": 19.128112735900892,
|
|
"test_a": -3.291537129347195,
|
|
"test_b": 19.62157489511573,
|
|
"ref_a_norm": -0.1148729246833131,
|
|
"ref_b_norm": 0.9933801946760877,
|
|
"test_a_norm": -0.17093938327734817,
|
|
"test_b_norm": 1.0190071628226152,
|
|
"Rcs_pct": 3.607257660089089,
|
|
"Rhs": 0.04998958384536367,
|
|
"Rf_h": 89.60652362320151
|
|
},
|
|
{
|
|
"bin": 6,
|
|
"ref_a": -11.148284468239948,
|
|
"ref_b": 17.1677040233428,
|
|
"test_a": -11.39696704723814,
|
|
"test_b": 18.065201098368796,
|
|
"ref_a_norm": -0.5446200371740401,
|
|
"ref_b_norm": 0.8386829049817024,
|
|
"test_a_norm": -0.5567687687393653,
|
|
"test_b_norm": 0.8825277576813949,
|
|
"Rcs_pct": 4.320513630231583,
|
|
"Rhs": -0.014257593906489615,
|
|
"Rf_h": 92.82495255458217
|
|
},
|
|
{
|
|
"bin": 7,
|
|
"ref_a": -18.22992331946901,
|
|
"ref_b": 11.24691605814716,
|
|
"test_a": -17.466247703984767,
|
|
"test_b": 11.849761625225947,
|
|
"ref_a_norm": -0.851063853070619,
|
|
"ref_b_norm": 0.5250622039307264,
|
|
"test_a_norm": -0.8154116618671606,
|
|
"test_b_norm": 0.5532060453574581,
|
|
"Rcs_pct": -1.400783305815979,
|
|
"Rhs": -0.043208045094353754,
|
|
"Rf_h": 92.60981186463823
|
|
},
|
|
{
|
|
"bin": 8,
|
|
"ref_a": -22.791094414999094,
|
|
"ref_b": 3.5783056508914783,
|
|
"test_a": -21.63679053114567,
|
|
"test_b": 3.972900051049529,
|
|
"ref_a_norm": -0.9878980690861981,
|
|
"ref_b_norm": 0.1551044973421503,
|
|
"test_a_norm": -0.9378638514556913,
|
|
"test_b_norm": 0.17220850467458537,
|
|
"Rcs_pct": -4.5735997870242,
|
|
"Rhs": -0.026536550256921917,
|
|
"Rf_h": 90.99812250246637
|
|
},
|
|
{
|
|
"bin": 9,
|
|
"ref_a": -19.358695818866227,
|
|
"ref_b": -2.138550289677423,
|
|
"test_a": -18.04586460164093,
|
|
"test_b": -2.3804357614617597,
|
|
"ref_a_norm": -0.9939535028340915,
|
|
"ref_b_norm": -0.10980179508477993,
|
|
"test_a_norm": -0.9265474544514658,
|
|
"test_b_norm": -0.12222117055378294,
|
|
"Rcs_pct": -6.368796010434018,
|
|
"Rhs": 0.02533100833660028,
|
|
"Rf_h": 89.70008985728177
|
|
},
|
|
{
|
|
"bin": 10,
|
|
"ref_a": -20.13938161720979,
|
|
"ref_b": -11.276882541572865,
|
|
"test_a": -17.656286839488484,
|
|
"test_b": -12.150025595206047,
|
|
"ref_a_norm": -0.8725276460495388,
|
|
"ref_b_norm": -0.48856474174795994,
|
|
"test_a_norm": -0.7649489287630226,
|
|
"test_b_norm": -0.5263931849311432,
|
|
"Rcs_pct": -6.8432077360174866,
|
|
"Rhs": 0.09122073401834997,
|
|
"Rf_h": 81.03131409186874
|
|
},
|
|
{
|
|
"bin": 11,
|
|
"ref_a": -12.058765085586693,
|
|
"ref_b": -17.35832814592787,
|
|
"test_a": -9.731732854037412,
|
|
"test_b": -19.17316472214909,
|
|
"ref_a_norm": -0.5705353071141365,
|
|
"ref_b_norm": -0.8212730747663521,
|
|
"test_a_norm": -0.46043663287440445,
|
|
"test_b_norm": -0.9071382803680387,
|
|
"Rcs_pct": 1.0226763109395476,
|
|
"Rhs": 0.1392478542695392,
|
|
"Rf_h": 79.16884516152162
|
|
},
|
|
{
|
|
"bin": 12,
|
|
"ref_a": -5.355869302207186,
|
|
"ref_b": -23.677128262453852,
|
|
"test_a": -3.7674158046964528,
|
|
"test_b": -25.27491515765099,
|
|
"ref_a_norm": -0.22063011639956076,
|
|
"ref_b_norm": -0.9753575507153858,
|
|
"test_a_norm": -0.15519523360534182,
|
|
"test_b_norm": -1.0411769142543283,
|
|
"Rcs_pct": 5.178895056909215,
|
|
"Rhs": 0.07701829069718949,
|
|
"Rf_h": 83.80246099547927
|
|
},
|
|
{
|
|
"bin": 13,
|
|
"ref_a": 3.6851177309438863,
|
|
"ref_b": -15.344206524702424,
|
|
"test_a": 3.3244804449878362,
|
|
"test_b": -16.79067652102979,
|
|
"ref_a_norm": 0.23352323391202867,
|
|
"ref_b_norm": -0.9723512221534295,
|
|
"test_a_norm": 0.21066991105112162,
|
|
"test_b_norm": -1.0640129751722587,
|
|
"Rcs_pct": 8.544203602075124,
|
|
"Rhs": -0.04029652358328651,
|
|
"Rf_h": 87.94260428346455
|
|
},
|
|
{
|
|
"bin": 14,
|
|
"ref_a": 14.029630985391613,
|
|
"ref_b": -18.584341686033618,
|
|
"test_a": 13.751613797545424,
|
|
"test_b": -20.18083538621383,
|
|
"ref_a_norm": 0.6025084842906558,
|
|
"ref_b_norm": -0.7981124772598013,
|
|
"test_a_norm": 0.5905689176241928,
|
|
"test_b_norm": -0.866674579889353,
|
|
"Rcs_pct": 5.037403705700088,
|
|
"Rhs": -0.04801845020143831,
|
|
"Rf_h": 87.73068838779997
|
|
},
|
|
{
|
|
"bin": 15,
|
|
"ref_a": 15.409151371662551,
|
|
"ref_b": -11.033295046254093,
|
|
"test_a": 14.09068326252373,
|
|
"test_b": -13.348982703712437,
|
|
"ref_a_norm": 0.8130651404504684,
|
|
"ref_b_norm": -0.5821727212642827,
|
|
"test_a_norm": 0.7434960621488671,
|
|
"test_b_norm": -0.7043601711139392,
|
|
"Rcs_pct": 1.003913542136679,
|
|
"Rhs": -0.14024566059771024,
|
|
"Rf_h": 81.36354336083727
|
|
},
|
|
{
|
|
"bin": 16,
|
|
"ref_a": 20.095720713781855,
|
|
"ref_b": -3.5916327530650496,
|
|
"test_a": 18.894048104618967,
|
|
"test_b": -5.809030994271718,
|
|
"ref_a_norm": 0.9844011904551454,
|
|
"ref_b_norm": -0.1759383307596512,
|
|
"test_a_norm": 0.9255365215116712,
|
|
"test_b_norm": -0.2845589420552688,
|
|
"Rcs_pct": -3.654277080031794,
|
|
"Rhs": -0.11801742392669783,
|
|
"Rf_h": 80.91962503699635
|
|
}
|
|
]
|
|
}
|
|
} |