Lamp testbench in Rust around the HPCS 6500
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.
This commit is contained in:
commit
2a3f28001c
241 files changed
+46390
No files matched your search
@@ -0,0 +1,74 @@
|
||||
{
|
||||
"name": "philips-a60",
|
||||
"manufacturer": "Philips",
|
||||
"model": "A60 8W 927",
|
||||
"notes": "",
|
||||
"instrument": "HPCS6500",
|
||||
"measured_at": "2026-07-09T16:22:57+07:00",
|
||||
"instrument_date": "2026-02-04",
|
||||
"instrument_time": "15:38:14",
|
||||
"readings_averaged": 5,
|
||||
"tm30": {
|
||||
"Rf": 82.8,
|
||||
"Rg": 102.6
|
||||
},
|
||||
"cri": {
|
||||
"Ra": 83.00858001708984,
|
||||
"R1": 82.17662658691407,
|
||||
"R2": 93.99931488037109,
|
||||
"R3": 93.30018768310546,
|
||||
"R4": 76.5554412841797,
|
||||
"R5": 81.44241180419922,
|
||||
"R6": 89.34300079345704,
|
||||
"R7": 83.15747680664063,
|
||||
"R8": 64.09416198730469,
|
||||
"R9": 4.789063262939453,
|
||||
"R10": 84.07984313964843,
|
||||
"R11": 76.13002166748046,
|
||||
"R12": 60.050942993164064,
|
||||
"R13": 86.5272430419922,
|
||||
"R14": 96.78124694824218,
|
||||
"R15": 75.97555694580078
|
||||
},
|
||||
"photometric": {
|
||||
"Phi_lm": 480.47785034179685,
|
||||
"eta_lm_W": 57.135939025878905,
|
||||
"CCT_K": 5652.32763671875,
|
||||
"Duv": 0.0055332078598439695,
|
||||
"SDCM": 4.718670845031738,
|
||||
"TLCI": 67.89999389648438
|
||||
},
|
||||
"chromaticity": {
|
||||
"x": 0.3289025008678436,
|
||||
"y": 0.3489073276519775,
|
||||
"u": 0.20149995386600494,
|
||||
"v": 0.3206336498260498,
|
||||
"u_prime": 0.20149995386600494,
|
||||
"v_prime": 0.48095048069953916,
|
||||
"CIE_X": 663.1466796875,
|
||||
"CIE_Y": 703.4814453125,
|
||||
"CIE_Z": 649.60947265625
|
||||
},
|
||||
"radiometric": {
|
||||
"Phi_e_mW": 1493.6589111328126,
|
||||
"Phi_euv_mW": 0.0,
|
||||
"Phi_eb_mW": 470.34068603515624,
|
||||
"Phi_ey_mW": 681.030615234375,
|
||||
"Phi_er_mW": 331.6043762207031,
|
||||
"Phi_efr_mW": 11.389583778381347,
|
||||
"Phi_eir_mW": 0.0,
|
||||
"Phi_e_total": 1494.364990234375
|
||||
},
|
||||
"electrical": {
|
||||
"Voltage_V": 230.29462585449218,
|
||||
"Current_A": 0.06532531827688218,
|
||||
"Power_W": 8.404675102233886,
|
||||
"Freq_Hz": 50.02176513671875,
|
||||
"PF": 0.5586463570594787
|
||||
},
|
||||
"sensor": {
|
||||
"PeakSignal": 53125.4,
|
||||
"DarkSignal": 2234.8,
|
||||
"Compensate": 2834.0
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,351 @@
|
||||
wavelength_nm,value
|
||||
380.00,0.000349989
|
||||
381.92,0.00483611
|
||||
383.84,0.0160743
|
||||
385.76,0.0344528
|
||||
387.68,0.0595032
|
||||
389.60,0.0884034
|
||||
391.52,0.125467
|
||||
393.44,0.167817
|
||||
395.36,0.211468
|
||||
397.28,0.261103
|
||||
399.20,0.318486
|
||||
401.12,0.385365
|
||||
403.04,0.463185
|
||||
404.96,0.552476
|
||||
406.88,0.653943
|
||||
408.80,0.769326
|
||||
410.72,0.901583
|
||||
412.64,1.05217
|
||||
414.56,1.22158
|
||||
416.48,1.41013
|
||||
418.40,1.61743
|
||||
420.32,1.84663
|
||||
422.23,2.09922
|
||||
424.15,2.37704
|
||||
426.07,2.68042
|
||||
427.99,3.00916
|
||||
429.91,3.36805
|
||||
431.83,3.75894
|
||||
433.75,4.18192
|
||||
435.67,4.64312
|
||||
437.59,5.2016
|
||||
439.51,5.81317
|
||||
441.43,6.42468
|
||||
443.35,7.09671
|
||||
445.27,7.82733
|
||||
447.19,8.61316
|
||||
449.11,9.44029
|
||||
451.03,10.2881
|
||||
452.95,11.1289
|
||||
454.87,11.9291
|
||||
456.79,12.6465
|
||||
458.71,13.2365
|
||||
460.63,13.6597
|
||||
462.55,13.8732
|
||||
464.47,13.8675
|
||||
466.39,13.6584
|
||||
468.31,13.2731
|
||||
470.23,12.7559
|
||||
472.15,12.1477
|
||||
474.07,11.4941
|
||||
475.99,10.8423
|
||||
477.91,10.2226
|
||||
479.83,9.65732
|
||||
481.75,9.15363
|
||||
483.67,8.70812
|
||||
485.59,8.31637
|
||||
487.51,7.96727
|
||||
489.43,7.64964
|
||||
491.35,7.35193
|
||||
493.27,7.06379
|
||||
495.19,6.77947
|
||||
497.11,6.49952
|
||||
499.03,6.22794
|
||||
500.95,5.96942
|
||||
502.87,5.72682
|
||||
504.79,5.50173
|
||||
506.70,5.28802
|
||||
508.62,5.09988
|
||||
510.54,4.93933
|
||||
512.46,4.80644
|
||||
514.38,4.7008
|
||||
516.30,4.62154
|
||||
518.22,4.5641
|
||||
520.14,4.52692
|
||||
522.06,4.49814
|
||||
523.98,4.48688
|
||||
525.90,4.49522
|
||||
527.82,4.51233
|
||||
529.74,4.53681
|
||||
531.66,4.56752
|
||||
533.58,4.60427
|
||||
535.50,4.64767
|
||||
537.42,4.69671
|
||||
539.34,4.75317
|
||||
541.26,4.81654
|
||||
543.18,4.88506
|
||||
545.10,4.95903
|
||||
547.02,5.03626
|
||||
548.94,5.11667
|
||||
550.86,5.19991
|
||||
552.78,5.28579
|
||||
554.70,5.37357
|
||||
556.62,5.46053
|
||||
558.54,5.54453
|
||||
560.46,5.62461
|
||||
562.38,5.7017
|
||||
564.30,5.77487
|
||||
566.22,5.84592
|
||||
568.14,5.91392
|
||||
570.06,5.97812
|
||||
571.98,6.0385
|
||||
573.90,6.09349
|
||||
575.82,6.14387
|
||||
577.74,6.19034
|
||||
579.66,6.23339
|
||||
581.58,6.27306
|
||||
583.50,6.30817
|
||||
585.42,6.33993
|
||||
587.34,6.36943
|
||||
589.26,6.39663
|
||||
591.17,6.42233
|
||||
593.09,6.45112
|
||||
595.01,6.47876
|
||||
596.93,6.50223
|
||||
598.85,6.52435
|
||||
600.77,6.54392
|
||||
602.69,6.56168
|
||||
604.61,6.57953
|
||||
606.53,6.59926
|
||||
608.45,6.62242
|
||||
610.37,6.64727
|
||||
612.29,6.67315
|
||||
614.21,6.70048
|
||||
616.13,6.72931
|
||||
618.05,6.76
|
||||
619.97,6.79003
|
||||
621.89,6.81868
|
||||
623.81,6.8474
|
||||
625.73,6.87624
|
||||
627.65,6.90616
|
||||
629.57,6.93676
|
||||
631.49,6.96569
|
||||
633.41,6.9938
|
||||
635.33,7.02035
|
||||
637.25,7.04539
|
||||
639.17,7.06939
|
||||
641.09,7.09232
|
||||
643.01,7.1142
|
||||
644.93,7.13482
|
||||
646.85,7.15419
|
||||
648.77,7.17269
|
||||
650.69,7.18928
|
||||
652.61,7.20383
|
||||
654.53,7.21743
|
||||
656.45,7.23071
|
||||
658.37,7.24443
|
||||
660.29,7.25858
|
||||
662.21,7.2721
|
||||
664.13,7.28552
|
||||
666.05,7.29919
|
||||
667.97,7.31272
|
||||
669.89,7.32712
|
||||
671.81,7.34178
|
||||
673.72,7.35729
|
||||
675.64,7.3732
|
||||
677.56,7.38921
|
||||
679.48,7.4075
|
||||
681.40,7.42868
|
||||
683.32,7.45557
|
||||
685.24,7.4829
|
||||
687.16,7.50422
|
||||
689.08,7.52079
|
||||
691.00,7.53258
|
||||
692.92,7.53913
|
||||
694.84,7.54075
|
||||
696.76,7.53737
|
||||
698.68,7.52993
|
||||
700.60,7.52091
|
||||
702.52,7.51073
|
||||
704.44,7.501
|
||||
706.36,7.49162
|
||||
708.28,7.48149
|
||||
710.20,7.46878
|
||||
712.12,7.4511
|
||||
714.04,7.42755
|
||||
715.96,7.39964
|
||||
717.88,7.36925
|
||||
719.80,7.33708
|
||||
721.72,7.30326
|
||||
723.64,7.26723
|
||||
725.56,7.22859
|
||||
727.48,7.18722
|
||||
729.40,7.14517
|
||||
731.32,7.11295
|
||||
733.24,7.07867
|
||||
735.16,7.03047
|
||||
737.08,6.9773
|
||||
739.00,6.91969
|
||||
740.92,6.85961
|
||||
742.84,6.79838
|
||||
744.76,6.73534
|
||||
746.68,6.67011
|
||||
748.60,6.60305
|
||||
750.52,6.53246
|
||||
752.44,6.45886
|
||||
754.36,6.38241
|
||||
756.28,6.30303
|
||||
758.19,6.22218
|
||||
760.11,6.13986
|
||||
762.03,6.05723
|
||||
763.95,5.9751
|
||||
765.87,5.89259
|
||||
767.79,5.80988
|
||||
769.71,5.74033
|
||||
771.63,5.66936
|
||||
773.55,5.58306
|
||||
775.47,5.49582
|
||||
777.39,5.40821
|
||||
779.31,5.32035
|
||||
781.23,5.23302
|
||||
783.15,5.14594
|
||||
785.07,5.05858
|
||||
786.99,4.97164
|
||||
788.91,4.8848
|
||||
790.83,4.7984
|
||||
792.75,4.71309
|
||||
794.67,4.62851
|
||||
796.59,4.54414
|
||||
798.51,4.45922
|
||||
800.43,4.37354
|
||||
802.35,4.28697
|
||||
804.27,4.21402
|
||||
806.19,4.14114
|
||||
808.11,4.05526
|
||||
810.03,3.96973
|
||||
811.95,3.88399
|
||||
813.87,3.79771
|
||||
815.79,3.7112
|
||||
817.71,3.62492
|
||||
819.63,3.53892
|
||||
821.55,3.45354
|
||||
823.47,3.36889
|
||||
825.39,3.28476
|
||||
827.31,3.20083
|
||||
829.23,3.11759
|
||||
831.15,3.03488
|
||||
833.07,2.96454
|
||||
834.99,2.89571
|
||||
836.91,2.81655
|
||||
838.83,2.73836
|
||||
840.74,2.66171
|
||||
842.66,2.58579
|
||||
844.58,2.51105
|
||||
846.50,2.43775
|
||||
848.42,2.36543
|
||||
850.34,2.29522
|
||||
852.26,2.22704
|
||||
854.18,2.16095
|
||||
856.10,2.09742
|
||||
858.02,2.03556
|
||||
859.94,1.9836
|
||||
861.86,1.93296
|
||||
863.78,1.8752
|
||||
865.70,1.81864
|
||||
867.62,1.7636
|
||||
869.54,1.70956
|
||||
871.46,1.65632
|
||||
873.38,1.60399
|
||||
875.30,1.55222
|
||||
877.22,1.50169
|
||||
879.14,1.45317
|
||||
881.06,1.4066
|
||||
882.98,1.36233
|
||||
884.90,1.32519
|
||||
886.82,1.28854
|
||||
888.74,1.24646
|
||||
890.66,1.20447
|
||||
892.58,1.16263
|
||||
894.50,1.12119
|
||||
896.42,1.08057
|
||||
898.34,1.04128
|
||||
900.26,1.00357
|
||||
902.18,0.966894
|
||||
904.10,0.931244
|
||||
906.02,0.896543
|
||||
907.94,0.862263
|
||||
909.86,0.83332
|
||||
911.78,0.804874
|
||||
913.70,0.772641
|
||||
915.62,0.741735
|
||||
917.54,0.711998
|
||||
919.46,0.683282
|
||||
921.38,0.655367
|
||||
923.30,0.628354
|
||||
925.21,0.602323
|
||||
927.13,0.577235
|
||||
929.05,0.552911
|
||||
930.97,0.532575
|
||||
932.89,0.51299
|
||||
934.81,0.491135
|
||||
936.73,0.470223
|
||||
938.65,0.450316
|
||||
940.57,0.431547
|
||||
942.49,0.413897
|
||||
944.41,0.397301
|
||||
946.33,0.381468
|
||||
948.25,0.366205
|
||||
950.17,0.351438
|
||||
952.09,0.336986
|
||||
954.01,0.324354
|
||||
955.93,0.311324
|
||||
957.85,0.295755
|
||||
959.77,0.279619
|
||||
961.69,0.263628
|
||||
963.61,0.248491
|
||||
965.53,0.234237
|
||||
967.45,0.221016
|
||||
969.37,0.209104
|
||||
971.29,0.198092
|
||||
973.21,0.189503
|
||||
975.13,0.181538
|
||||
977.05,0.172594
|
||||
978.97,0.164553
|
||||
980.89,0.157496
|
||||
982.81,0.150827
|
||||
984.73,0.144015
|
||||
986.65,0.137052
|
||||
988.57,0.129869
|
||||
990.49,0.123145
|
||||
992.41,0.117916
|
||||
994.33,0.112869
|
||||
996.25,0.107184
|
||||
998.17,0.101477
|
||||
1000.09,0.0955527
|
||||
1002.01,0.0894594
|
||||
1003.93,0.0835585
|
||||
1005.85,0.0781945
|
||||
1007.77,0.0733733
|
||||
1009.68,0.0689658
|
||||
1011.60,0.0653379
|
||||
1013.52,0.0616523
|
||||
1015.44,0.0575474
|
||||
1017.36,0.0538378
|
||||
1019.28,0.0503168
|
||||
1021.20,0.0468593
|
||||
1023.12,0.0431563
|
||||
1025.04,0.0391101
|
||||
1026.96,0.0348429
|
||||
1028.88,0.0309126
|
||||
1030.80,0.0279664
|
||||
1032.72,0.0252084
|
||||
1034.64,0.0222505
|
||||
1036.56,0.0194355
|
||||
1038.48,0.0165936
|
||||
1040.40,0.0136962
|
||||
1042.32,0.0105769
|
||||
1044.24,0.00740189
|
||||
1046.16,0.00445013
|
||||
1048.08,0.0025752
|
||||
1050.00,0.00133693
|
||||
|
@@ -0,0 +1,17 @@
|
||||
bin,ref_a,ref_b,test_a,test_b,ref_a_norm,ref_b_norm,test_a_norm,test_b_norm,Rcs_pct,Rhs,Rf_h
|
||||
1,23.8371,4.89622,25.5118,6.79164,0.97955,0.201203,1.04837,0.279093,8.26956,0.0629661,76.4852
|
||||
2,18.6336,11.9013,19.8407,13.1208,0.842769,0.538276,0.897363,0.593431,7.60361,0.0155293,82.0527
|
||||
3,13.4292,20.7065,15.7389,20.9186,0.544131,0.839,0.637718,0.847591,5.91377,-0.0730423,81.9168
|
||||
4,4.49918,22.8528,6.4235,22.2737,0.193169,0.981166,0.275788,0.956302,-0.826745,-0.0858824,85.2916
|
||||
5,-1.54991,21.4849,0.327296,19.7631,-0.0719522,0.997408,0.0151943,0.917475,-9.53987,-0.0698778,81.6785
|
||||
6,-10.215,16.7447,-9.43817,15.3233,-0.520787,0.853686,-0.48118,0.78122,-8.22583,0.00732842,85.7358
|
||||
7,-17.9011,11.6016,-17.8302,9.70021,-0.839174,0.543863,-0.835848,0.454728,-5.22859,0.0722652,84.9754
|
||||
8,-24.0121,2.95328,-25.6462,-0.439301,-0.992521,0.122071,-1.06006,-0.0181582,3.88881,0.150712,72.8266
|
||||
9,-15.6784,-2.61717,-16.5964,-4.97434,-0.986352,-0.16465,-1.04411,-0.312943,8.55747,0.134176,81.8404
|
||||
10,-19.7479,-12.0004,-21.0779,-14.0434,-0.854584,-0.519313,-0.91214,-0.607722,9.69735,0.041533,82.0481
|
||||
11,-12.8522,-18.9505,-14.4627,-19.9885,-0.561291,-0.827618,-0.631625,-0.87295,7.6767,-0.0332958,85.8973
|
||||
12,-3.73426,-20.7558,-5.06453,-20.7655,-0.177071,-0.984198,-0.24015,-0.984656,1.27551,-0.0617776,90.7988
|
||||
13,1.9222,-15.8157,1.9317,-15.5901,0.12065,-0.992695,0.121246,-0.978535,-1.37717,0.00334723,91.2131
|
||||
14,12.6319,-18.7554,13.1674,-17.2585,0.558623,-0.829422,0.582304,-0.763226,-4.1883,0.0564666,86.4487
|
||||
15,12.1191,-8.33928,13.7307,-8.1159,0.823807,-0.56687,0.93336,-0.551686,8.26541,0.0734899,81.0217
|
||||
16,22.5965,-3.86726,23.3155,-1.51365,0.985669,-0.168691,1.01703,-0.0660258,1.07311,0.106812,79.2261
|
||||
|
Reference in new issue
Block a user