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:
grabowski committed 2026-10-22 17:26:14 +07:00
commit 2a3f28001c
241 files changed
+46390

No files matched your search

+89
View File
@@ -0,0 +1,89 @@
{
"measured_at": "2026-07-09T16:22:57+07:00",
"cases": [
{
"case": "export_avg5",
"readings": [
"r01",
"r04",
"r05",
"r06",
"r02"
],
"meta": {
"name": "philips-a60",
"manufacturer": "Philips",
"model": "A60 8W 927",
"notes": ""
},
"supply": null
},
{
"case": "station_full",
"readings": [
"r05",
"r06",
"r04"
],
"meta": {
"name": "L0042",
"ean": "8718696844984",
"type": "led",
"dimmable": false,
"variant": "cool white",
"manufacturer": "Philips",
"model": "MyCare 9.5W Caf\u00e9 \u00fc \u0e44\u0e1f",
"notes": "box says \"warm\"\tok",
"rated": {
"Phi_lm": 1050,
"Power_W": 9.5,
"lifetime_h": 15000
}
},
"supply": {
"ac_voltage": 230.0,
"ac_frequency": 50.0,
"dc_voltage": 24.0,
"dc_current": 5.0,
"mode": "AC"
}
},
{
"case": "harmonics_single",
"readings": [
"r02"
],
"meta": {
"name": "L0007",
"ean": "",
"type": "halogen",
"dimmable": true,
"variant": "",
"manufacturer": "",
"model": "",
"notes": "",
"rated": {}
},
"supply": {
"ac_voltage": 230.0,
"ac_frequency": 50.0,
"dc_voltage": 24.0,
"dc_current": 5.0,
"mode": "AC"
}
},
{
"case": "external_power",
"readings": [
"r07"
],
"meta": {
"name": "dc-strip",
"manufacturer": "",
"model": "",
"notes": "powered externally"
},
"supply": null
}
]
}
@@ -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
}
}
+351
View File
@@ -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
1 wavelength_nm value
2 380.00 0.000349989
3 381.92 0.00483611
4 383.84 0.0160743
5 385.76 0.0344528
6 387.68 0.0595032
7 389.60 0.0884034
8 391.52 0.125467
9 393.44 0.167817
10 395.36 0.211468
11 397.28 0.261103
12 399.20 0.318486
13 401.12 0.385365
14 403.04 0.463185
15 404.96 0.552476
16 406.88 0.653943
17 408.80 0.769326
18 410.72 0.901583
19 412.64 1.05217
20 414.56 1.22158
21 416.48 1.41013
22 418.40 1.61743
23 420.32 1.84663
24 422.23 2.09922
25 424.15 2.37704
26 426.07 2.68042
27 427.99 3.00916
28 429.91 3.36805
29 431.83 3.75894
30 433.75 4.18192
31 435.67 4.64312
32 437.59 5.2016
33 439.51 5.81317
34 441.43 6.42468
35 443.35 7.09671
36 445.27 7.82733
37 447.19 8.61316
38 449.11 9.44029
39 451.03 10.2881
40 452.95 11.1289
41 454.87 11.9291
42 456.79 12.6465
43 458.71 13.2365
44 460.63 13.6597
45 462.55 13.8732
46 464.47 13.8675
47 466.39 13.6584
48 468.31 13.2731
49 470.23 12.7559
50 472.15 12.1477
51 474.07 11.4941
52 475.99 10.8423
53 477.91 10.2226
54 479.83 9.65732
55 481.75 9.15363
56 483.67 8.70812
57 485.59 8.31637
58 487.51 7.96727
59 489.43 7.64964
60 491.35 7.35193
61 493.27 7.06379
62 495.19 6.77947
63 497.11 6.49952
64 499.03 6.22794
65 500.95 5.96942
66 502.87 5.72682
67 504.79 5.50173
68 506.70 5.28802
69 508.62 5.09988
70 510.54 4.93933
71 512.46 4.80644
72 514.38 4.7008
73 516.30 4.62154
74 518.22 4.5641
75 520.14 4.52692
76 522.06 4.49814
77 523.98 4.48688
78 525.90 4.49522
79 527.82 4.51233
80 529.74 4.53681
81 531.66 4.56752
82 533.58 4.60427
83 535.50 4.64767
84 537.42 4.69671
85 539.34 4.75317
86 541.26 4.81654
87 543.18 4.88506
88 545.10 4.95903
89 547.02 5.03626
90 548.94 5.11667
91 550.86 5.19991
92 552.78 5.28579
93 554.70 5.37357
94 556.62 5.46053
95 558.54 5.54453
96 560.46 5.62461
97 562.38 5.7017
98 564.30 5.77487
99 566.22 5.84592
100 568.14 5.91392
101 570.06 5.97812
102 571.98 6.0385
103 573.90 6.09349
104 575.82 6.14387
105 577.74 6.19034
106 579.66 6.23339
107 581.58 6.27306
108 583.50 6.30817
109 585.42 6.33993
110 587.34 6.36943
111 589.26 6.39663
112 591.17 6.42233
113 593.09 6.45112
114 595.01 6.47876
115 596.93 6.50223
116 598.85 6.52435
117 600.77 6.54392
118 602.69 6.56168
119 604.61 6.57953
120 606.53 6.59926
121 608.45 6.62242
122 610.37 6.64727
123 612.29 6.67315
124 614.21 6.70048
125 616.13 6.72931
126 618.05 6.76
127 619.97 6.79003
128 621.89 6.81868
129 623.81 6.8474
130 625.73 6.87624
131 627.65 6.90616
132 629.57 6.93676
133 631.49 6.96569
134 633.41 6.9938
135 635.33 7.02035
136 637.25 7.04539
137 639.17 7.06939
138 641.09 7.09232
139 643.01 7.1142
140 644.93 7.13482
141 646.85 7.15419
142 648.77 7.17269
143 650.69 7.18928
144 652.61 7.20383
145 654.53 7.21743
146 656.45 7.23071
147 658.37 7.24443
148 660.29 7.25858
149 662.21 7.2721
150 664.13 7.28552
151 666.05 7.29919
152 667.97 7.31272
153 669.89 7.32712
154 671.81 7.34178
155 673.72 7.35729
156 675.64 7.3732
157 677.56 7.38921
158 679.48 7.4075
159 681.40 7.42868
160 683.32 7.45557
161 685.24 7.4829
162 687.16 7.50422
163 689.08 7.52079
164 691.00 7.53258
165 692.92 7.53913
166 694.84 7.54075
167 696.76 7.53737
168 698.68 7.52993
169 700.60 7.52091
170 702.52 7.51073
171 704.44 7.501
172 706.36 7.49162
173 708.28 7.48149
174 710.20 7.46878
175 712.12 7.4511
176 714.04 7.42755
177 715.96 7.39964
178 717.88 7.36925
179 719.80 7.33708
180 721.72 7.30326
181 723.64 7.26723
182 725.56 7.22859
183 727.48 7.18722
184 729.40 7.14517
185 731.32 7.11295
186 733.24 7.07867
187 735.16 7.03047
188 737.08 6.9773
189 739.00 6.91969
190 740.92 6.85961
191 742.84 6.79838
192 744.76 6.73534
193 746.68 6.67011
194 748.60 6.60305
195 750.52 6.53246
196 752.44 6.45886
197 754.36 6.38241
198 756.28 6.30303
199 758.19 6.22218
200 760.11 6.13986
201 762.03 6.05723
202 763.95 5.9751
203 765.87 5.89259
204 767.79 5.80988
205 769.71 5.74033
206 771.63 5.66936
207 773.55 5.58306
208 775.47 5.49582
209 777.39 5.40821
210 779.31 5.32035
211 781.23 5.23302
212 783.15 5.14594
213 785.07 5.05858
214 786.99 4.97164
215 788.91 4.8848
216 790.83 4.7984
217 792.75 4.71309
218 794.67 4.62851
219 796.59 4.54414
220 798.51 4.45922
221 800.43 4.37354
222 802.35 4.28697
223 804.27 4.21402
224 806.19 4.14114
225 808.11 4.05526
226 810.03 3.96973
227 811.95 3.88399
228 813.87 3.79771
229 815.79 3.7112
230 817.71 3.62492
231 819.63 3.53892
232 821.55 3.45354
233 823.47 3.36889
234 825.39 3.28476
235 827.31 3.20083
236 829.23 3.11759
237 831.15 3.03488
238 833.07 2.96454
239 834.99 2.89571
240 836.91 2.81655
241 838.83 2.73836
242 840.74 2.66171
243 842.66 2.58579
244 844.58 2.51105
245 846.50 2.43775
246 848.42 2.36543
247 850.34 2.29522
248 852.26 2.22704
249 854.18 2.16095
250 856.10 2.09742
251 858.02 2.03556
252 859.94 1.9836
253 861.86 1.93296
254 863.78 1.8752
255 865.70 1.81864
256 867.62 1.7636
257 869.54 1.70956
258 871.46 1.65632
259 873.38 1.60399
260 875.30 1.55222
261 877.22 1.50169
262 879.14 1.45317
263 881.06 1.4066
264 882.98 1.36233
265 884.90 1.32519
266 886.82 1.28854
267 888.74 1.24646
268 890.66 1.20447
269 892.58 1.16263
270 894.50 1.12119
271 896.42 1.08057
272 898.34 1.04128
273 900.26 1.00357
274 902.18 0.966894
275 904.10 0.931244
276 906.02 0.896543
277 907.94 0.862263
278 909.86 0.83332
279 911.78 0.804874
280 913.70 0.772641
281 915.62 0.741735
282 917.54 0.711998
283 919.46 0.683282
284 921.38 0.655367
285 923.30 0.628354
286 925.21 0.602323
287 927.13 0.577235
288 929.05 0.552911
289 930.97 0.532575
290 932.89 0.51299
291 934.81 0.491135
292 936.73 0.470223
293 938.65 0.450316
294 940.57 0.431547
295 942.49 0.413897
296 944.41 0.397301
297 946.33 0.381468
298 948.25 0.366205
299 950.17 0.351438
300 952.09 0.336986
301 954.01 0.324354
302 955.93 0.311324
303 957.85 0.295755
304 959.77 0.279619
305 961.69 0.263628
306 963.61 0.248491
307 965.53 0.234237
308 967.45 0.221016
309 969.37 0.209104
310 971.29 0.198092
311 973.21 0.189503
312 975.13 0.181538
313 977.05 0.172594
314 978.97 0.164553
315 980.89 0.157496
316 982.81 0.150827
317 984.73 0.144015
318 986.65 0.137052
319 988.57 0.129869
320 990.49 0.123145
321 992.41 0.117916
322 994.33 0.112869
323 996.25 0.107184
324 998.17 0.101477
325 1000.09 0.0955527
326 1002.01 0.0894594
327 1003.93 0.0835585
328 1005.85 0.0781945
329 1007.77 0.0733733
330 1009.68 0.0689658
331 1011.60 0.0653379
332 1013.52 0.0616523
333 1015.44 0.0575474
334 1017.36 0.0538378
335 1019.28 0.0503168
336 1021.20 0.0468593
337 1023.12 0.0431563
338 1025.04 0.0391101
339 1026.96 0.0348429
340 1028.88 0.0309126
341 1030.80 0.0279664
342 1032.72 0.0252084
343 1034.64 0.0222505
344 1036.56 0.0194355
345 1038.48 0.0165936
346 1040.40 0.0136962
347 1042.32 0.0105769
348 1044.24 0.00740189
349 1046.16 0.00445013
350 1048.08 0.0025752
351 1050.00 0.00133693
+17
View File
@@ -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
1 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
2 1 23.8371 4.89622 25.5118 6.79164 0.97955 0.201203 1.04837 0.279093 8.26956 0.0629661 76.4852
3 2 18.6336 11.9013 19.8407 13.1208 0.842769 0.538276 0.897363 0.593431 7.60361 0.0155293 82.0527
4 3 13.4292 20.7065 15.7389 20.9186 0.544131 0.839 0.637718 0.847591 5.91377 -0.0730423 81.9168
5 4 4.49918 22.8528 6.4235 22.2737 0.193169 0.981166 0.275788 0.956302 -0.826745 -0.0858824 85.2916
6 5 -1.54991 21.4849 0.327296 19.7631 -0.0719522 0.997408 0.0151943 0.917475 -9.53987 -0.0698778 81.6785
7 6 -10.215 16.7447 -9.43817 15.3233 -0.520787 0.853686 -0.48118 0.78122 -8.22583 0.00732842 85.7358
8 7 -17.9011 11.6016 -17.8302 9.70021 -0.839174 0.543863 -0.835848 0.454728 -5.22859 0.0722652 84.9754
9 8 -24.0121 2.95328 -25.6462 -0.439301 -0.992521 0.122071 -1.06006 -0.0181582 3.88881 0.150712 72.8266
10 9 -15.6784 -2.61717 -16.5964 -4.97434 -0.986352 -0.16465 -1.04411 -0.312943 8.55747 0.134176 81.8404
11 10 -19.7479 -12.0004 -21.0779 -14.0434 -0.854584 -0.519313 -0.91214 -0.607722 9.69735 0.041533 82.0481
12 11 -12.8522 -18.9505 -14.4627 -19.9885 -0.561291 -0.827618 -0.631625 -0.87295 7.6767 -0.0332958 85.8973
13 12 -3.73426 -20.7558 -5.06453 -20.7655 -0.177071 -0.984198 -0.24015 -0.984656 1.27551 -0.0617776 90.7988
14 13 1.9222 -15.8157 1.9317 -15.5901 0.12065 -0.992695 0.121246 -0.978535 -1.37717 0.00334723 91.2131
15 14 12.6319 -18.7554 13.1674 -17.2585 0.558623 -0.829422 0.582304 -0.763226 -4.1883 0.0564666 86.4487
16 15 12.1191 -8.33928 13.7307 -8.1159 0.823807 -0.56687 0.93336 -0.551686 8.26541 0.0734899 81.0217
17 16 22.5965 -3.86726 23.3155 -1.51365 0.985669 -0.168691 1.01703 -0.0660258 1.07311 0.106812 79.2261
@@ -0,0 +1,74 @@
{
"name": "dc-strip",
"manufacturer": "",
"model": "",
"notes": "powered externally",
"instrument": "HPCS6500",
"measured_at": "2026-07-09T16:22:57+07:00",
"instrument_date": "2026-02-05",
"instrument_time": "17:57:56",
"readings_averaged": 1,
"tm30": {
"Rf": 82.1,
"Rg": 109.9
},
"cri": {
"Ra": 83.53800201416016,
"R1": 81.74681854248047,
"R2": 89.89591979980469,
"R3": 94.66126251220703,
"R4": 81.88838958740234,
"R5": 81.9393081665039,
"R6": 84.4315185546875,
"R7": 86.51227569580078,
"R8": 67.2285385131836,
"R9": 12.525043487548828,
"R10": 75.23241424560547,
"R11": 80.69010925292969,
"R12": 53.97742462158203,
"R13": 84.02236938476562,
"R14": 97.37865447998047,
"R15": 76.29852294921875
},
"photometric": {
"Phi_lm": 182.61920166015625,
"eta_lm_W": 0.0,
"CCT_K": 4936.84375,
"Duv": 0.002135422546416521,
"SDCM": 1.5234547853469849,
"TLCI": 71.05938720703125
},
"chromaticity": {
"x": 0.3473931849002838,
"y": 0.35774698853492737,
"u": 0.21059946715831757,
"v": 0.32531434297561646,
"u_prime": 0.21059946715831757,
"v_prime": 0.4879715144634247,
"CIE_X": 259.6396484375,
"CIE_Y": 267.3780212402344,
"CIE_Z": 220.3765106201172
},
"radiometric": {
"Phi_e_mW": 558.6363525390625,
"Phi_euv_mW": 0.0,
"Phi_eb_mW": 152.54922485351562,
"Phi_ey_mW": 257.9691162109375,
"Phi_er_mW": 144.27931213378906,
"Phi_efr_mW": 5.738129138946533,
"Phi_eir_mW": 0.0,
"Phi_e_total": 560.5353393554688
},
"electrical": {
"Voltage_V": 0.0,
"Current_A": 0.0,
"Power_W": 0.0,
"Freq_Hz": 0.0,
"PF": 0.0
},
"sensor": {
"PeakSignal": 55124.0,
"DarkSignal": 2518.0,
"Compensate": 2834.0
}
}
+351
View File
@@ -0,0 +1,351 @@
wavelength_nm,value
380.00,0.0127516
381.92,0.0198729
383.84,0.0280456
385.76,0.0372354
387.68,0.0458637
389.60,0.0555703
391.52,0.0694203
393.44,0.0877175
395.36,0.10759
397.28,0.130742
399.20,0.156692
401.12,0.188518
403.04,0.225401
404.96,0.266486
406.88,0.311904
408.80,0.361827
410.72,0.418749
412.64,0.483755
414.56,0.557749
416.48,0.642327
418.40,0.736962
420.32,0.842222
422.23,0.959372
424.15,1.08748
426.07,1.22694
427.99,1.38257
429.91,1.55662
431.83,1.75592
433.75,1.98427
435.67,2.24307
437.59,2.56713
439.51,2.92726
441.43,3.2811
443.35,3.65163
445.27,4.02356
447.19,4.3754
449.11,4.68466
451.03,4.92422
452.95,5.07375
454.87,5.11863
456.79,5.05461
458.71,4.88937
460.63,4.63875
462.55,4.32859
464.47,3.98765
466.39,3.64831
468.31,3.33287
470.23,3.05645
472.15,2.82354
474.07,2.63151
475.99,2.47483
477.91,2.34741
479.83,2.24
481.75,2.14338
483.67,2.05061
485.59,1.95662
487.51,1.8595
489.43,1.7598
491.35,1.65877
493.27,1.55951
495.19,1.46615
497.11,1.38368
499.03,1.31492
500.95,1.26071
502.87,1.22134
504.79,1.19592
506.70,1.18122
508.62,1.17779
510.54,1.18258
512.46,1.19369
514.38,1.20931
516.30,1.22792
518.22,1.24908
520.14,1.27239
522.06,1.29921
523.98,1.32894
525.90,1.3587
527.82,1.39036
529.74,1.42475
531.66,1.46217
533.58,1.5025
535.50,1.54596
537.42,1.59038
539.34,1.63591
541.26,1.68198
543.18,1.72764
545.10,1.77328
547.02,1.81797
548.94,1.86176
550.86,1.9039
552.78,1.94394
554.70,1.98124
556.62,2.0167
558.54,2.05074
560.46,2.08357
562.38,2.11449
564.30,2.14278
566.22,2.16894
568.14,2.19369
570.06,2.21677
571.98,2.23732
573.90,2.25624
575.82,2.27366
577.74,2.29117
579.66,2.30806
581.58,2.32423
583.50,2.33864
585.42,2.35112
587.34,2.36317
589.26,2.37417
591.17,2.38517
593.09,2.39768
595.01,2.41045
596.93,2.42181
598.85,2.43301
600.77,2.44349
602.69,2.45349
604.61,2.46461
606.53,2.47648
608.45,2.48869
610.37,2.50104
612.29,2.51299
614.21,2.52617
616.13,2.53985
618.05,2.5535
619.97,2.56653
621.89,2.57811
623.81,2.58981
625.73,2.60193
627.65,2.61388
629.57,2.6256
631.49,2.63668
633.41,2.6478
635.33,2.65996
637.25,2.67304
639.17,2.68592
641.09,2.69685
643.01,2.70641
644.93,2.71465
646.85,2.72281
648.77,2.7312
650.69,2.7388
652.61,2.74545
654.53,2.75114
656.45,2.75604
658.37,2.76051
660.29,2.76554
662.21,2.77136
664.13,2.77754
666.05,2.78302
667.97,2.78749
669.89,2.7914
671.81,2.79575
673.72,2.80097
675.64,2.80645
677.56,2.81169
679.48,2.81677
681.40,2.82234
683.32,2.83039
685.24,2.83891
687.16,2.84523
689.08,2.85039
691.00,2.85423
692.92,2.85698
694.84,2.85957
696.76,2.86154
698.68,2.86338
700.60,2.8655
702.52,2.86739
704.44,2.86921
706.36,2.87048
708.28,2.87029
710.20,2.86925
712.12,2.86762
714.04,2.86576
715.96,2.8641
717.88,2.86255
719.80,2.85972
721.72,2.85585
723.64,2.85035
725.56,2.84321
727.48,2.83524
729.40,2.82621
731.32,2.81981
733.24,2.81334
735.16,2.80323
737.08,2.79262
739.00,2.78091
740.92,2.76763
742.84,2.75346
744.76,2.7383
746.68,2.72258
748.60,2.70553
750.52,2.68694
752.44,2.66699
754.36,2.64509
756.28,2.62182
758.19,2.59794
760.11,2.57342
762.03,2.54894
763.95,2.52412
765.87,2.49834
767.79,2.47207
769.71,2.45007
771.63,2.42686
773.55,2.39592
775.47,2.363
777.39,2.32998
779.31,2.2978
781.23,2.26722
783.15,2.23668
785.07,2.20501
786.99,2.17199
788.91,2.13793
790.83,2.10306
792.75,2.06789
794.67,2.03309
796.59,1.99925
798.51,1.96579
800.43,1.93148
802.35,1.89608
804.27,1.8651
806.19,1.83338
808.11,1.79629
810.03,1.75975
811.95,1.72458
813.87,1.69014
815.79,1.65543
817.71,1.61992
819.63,1.58289
821.55,1.5452
823.47,1.50805
825.39,1.47259
827.31,1.43832
829.23,1.40479
831.15,1.37059
833.07,1.34079
834.99,1.31092
836.91,1.27587
838.83,1.24079
840.74,1.20603
842.66,1.17184
844.58,1.13899
846.50,1.10735
848.42,1.07693
850.34,1.04731
852.26,1.01788
854.18,0.98953
856.10,0.961995
858.02,0.934597
859.94,0.91109
861.86,0.887674
863.78,0.86015
865.70,0.833833
867.62,0.8094
869.54,0.785552
871.46,0.762468
873.38,0.739331
875.30,0.716612
877.22,0.694622
879.14,0.673412
881.06,0.653047
882.98,0.632791
884.90,0.615673
886.82,0.598679
888.74,0.57915
890.66,0.559961
892.58,0.540537
894.50,0.520535
896.42,0.500454
898.34,0.481064
900.26,0.463466
902.18,0.447636
904.10,0.432509
906.02,0.417203
907.94,0.401882
909.86,0.388718
911.78,0.376504
913.70,0.36322
915.62,0.35017
917.54,0.336774
919.46,0.322679
921.38,0.308847
923.30,0.295478
925.21,0.283027
927.13,0.271487
929.05,0.260827
930.97,0.252124
932.89,0.243437
934.81,0.233065
936.73,0.222627
938.65,0.212282
940.57,0.202949
942.49,0.194291
944.41,0.186002
946.33,0.178649
948.25,0.17138
950.17,0.165025
952.09,0.158829
954.01,0.153046
955.93,0.147216
957.85,0.139798
959.77,0.132409
961.69,0.125687
963.61,0.11935
965.53,0.113866
967.45,0.109203
969.37,0.104639
971.29,0.100141
973.21,0.095685
975.13,0.0909515
977.05,0.0862067
978.97,0.0823861
980.89,0.0786927
982.81,0.0746361
984.73,0.0705994
986.65,0.0668975
988.57,0.0642885
990.49,0.0623986
992.41,0.0605949
994.33,0.058452
996.25,0.0554474
998.17,0.0525455
1000.09,0.0499588
1002.01,0.0474978
1003.93,0.0451222
1005.85,0.0427836
1007.77,0.040732
1009.68,0.0395093
1011.60,0.0388028
1013.52,0.0379491
1015.44,0.0367954
1017.36,0.0348648
1019.28,0.0330665
1021.20,0.0313772
1023.12,0.0298331
1025.04,0.0286528
1026.96,0.0268847
1028.88,0.024801
1030.80,0.0227592
1032.72,0.0206606
1034.64,0.0185722
1036.56,0.0172613
1038.48,0.0168033
1040.40,0.0161983
1042.32,0.0150743
1044.24,0.013724
1046.16,0.012221
1048.08,0.0112937
1050.00,0.0107075
1 wavelength_nm value
2 380.00 0.0127516
3 381.92 0.0198729
4 383.84 0.0280456
5 385.76 0.0372354
6 387.68 0.0458637
7 389.60 0.0555703
8 391.52 0.0694203
9 393.44 0.0877175
10 395.36 0.10759
11 397.28 0.130742
12 399.20 0.156692
13 401.12 0.188518
14 403.04 0.225401
15 404.96 0.266486
16 406.88 0.311904
17 408.80 0.361827
18 410.72 0.418749
19 412.64 0.483755
20 414.56 0.557749
21 416.48 0.642327
22 418.40 0.736962
23 420.32 0.842222
24 422.23 0.959372
25 424.15 1.08748
26 426.07 1.22694
27 427.99 1.38257
28 429.91 1.55662
29 431.83 1.75592
30 433.75 1.98427
31 435.67 2.24307
32 437.59 2.56713
33 439.51 2.92726
34 441.43 3.2811
35 443.35 3.65163
36 445.27 4.02356
37 447.19 4.3754
38 449.11 4.68466
39 451.03 4.92422
40 452.95 5.07375
41 454.87 5.11863
42 456.79 5.05461
43 458.71 4.88937
44 460.63 4.63875
45 462.55 4.32859
46 464.47 3.98765
47 466.39 3.64831
48 468.31 3.33287
49 470.23 3.05645
50 472.15 2.82354
51 474.07 2.63151
52 475.99 2.47483
53 477.91 2.34741
54 479.83 2.24
55 481.75 2.14338
56 483.67 2.05061
57 485.59 1.95662
58 487.51 1.8595
59 489.43 1.7598
60 491.35 1.65877
61 493.27 1.55951
62 495.19 1.46615
63 497.11 1.38368
64 499.03 1.31492
65 500.95 1.26071
66 502.87 1.22134
67 504.79 1.19592
68 506.70 1.18122
69 508.62 1.17779
70 510.54 1.18258
71 512.46 1.19369
72 514.38 1.20931
73 516.30 1.22792
74 518.22 1.24908
75 520.14 1.27239
76 522.06 1.29921
77 523.98 1.32894
78 525.90 1.3587
79 527.82 1.39036
80 529.74 1.42475
81 531.66 1.46217
82 533.58 1.5025
83 535.50 1.54596
84 537.42 1.59038
85 539.34 1.63591
86 541.26 1.68198
87 543.18 1.72764
88 545.10 1.77328
89 547.02 1.81797
90 548.94 1.86176
91 550.86 1.9039
92 552.78 1.94394
93 554.70 1.98124
94 556.62 2.0167
95 558.54 2.05074
96 560.46 2.08357
97 562.38 2.11449
98 564.30 2.14278
99 566.22 2.16894
100 568.14 2.19369
101 570.06 2.21677
102 571.98 2.23732
103 573.90 2.25624
104 575.82 2.27366
105 577.74 2.29117
106 579.66 2.30806
107 581.58 2.32423
108 583.50 2.33864
109 585.42 2.35112
110 587.34 2.36317
111 589.26 2.37417
112 591.17 2.38517
113 593.09 2.39768
114 595.01 2.41045
115 596.93 2.42181
116 598.85 2.43301
117 600.77 2.44349
118 602.69 2.45349
119 604.61 2.46461
120 606.53 2.47648
121 608.45 2.48869
122 610.37 2.50104
123 612.29 2.51299
124 614.21 2.52617
125 616.13 2.53985
126 618.05 2.5535
127 619.97 2.56653
128 621.89 2.57811
129 623.81 2.58981
130 625.73 2.60193
131 627.65 2.61388
132 629.57 2.6256
133 631.49 2.63668
134 633.41 2.6478
135 635.33 2.65996
136 637.25 2.67304
137 639.17 2.68592
138 641.09 2.69685
139 643.01 2.70641
140 644.93 2.71465
141 646.85 2.72281
142 648.77 2.7312
143 650.69 2.7388
144 652.61 2.74545
145 654.53 2.75114
146 656.45 2.75604
147 658.37 2.76051
148 660.29 2.76554
149 662.21 2.77136
150 664.13 2.77754
151 666.05 2.78302
152 667.97 2.78749
153 669.89 2.7914
154 671.81 2.79575
155 673.72 2.80097
156 675.64 2.80645
157 677.56 2.81169
158 679.48 2.81677
159 681.40 2.82234
160 683.32 2.83039
161 685.24 2.83891
162 687.16 2.84523
163 689.08 2.85039
164 691.00 2.85423
165 692.92 2.85698
166 694.84 2.85957
167 696.76 2.86154
168 698.68 2.86338
169 700.60 2.8655
170 702.52 2.86739
171 704.44 2.86921
172 706.36 2.87048
173 708.28 2.87029
174 710.20 2.86925
175 712.12 2.86762
176 714.04 2.86576
177 715.96 2.8641
178 717.88 2.86255
179 719.80 2.85972
180 721.72 2.85585
181 723.64 2.85035
182 725.56 2.84321
183 727.48 2.83524
184 729.40 2.82621
185 731.32 2.81981
186 733.24 2.81334
187 735.16 2.80323
188 737.08 2.79262
189 739.00 2.78091
190 740.92 2.76763
191 742.84 2.75346
192 744.76 2.7383
193 746.68 2.72258
194 748.60 2.70553
195 750.52 2.68694
196 752.44 2.66699
197 754.36 2.64509
198 756.28 2.62182
199 758.19 2.59794
200 760.11 2.57342
201 762.03 2.54894
202 763.95 2.52412
203 765.87 2.49834
204 767.79 2.47207
205 769.71 2.45007
206 771.63 2.42686
207 773.55 2.39592
208 775.47 2.363
209 777.39 2.32998
210 779.31 2.2978
211 781.23 2.26722
212 783.15 2.23668
213 785.07 2.20501
214 786.99 2.17199
215 788.91 2.13793
216 790.83 2.10306
217 792.75 2.06789
218 794.67 2.03309
219 796.59 1.99925
220 798.51 1.96579
221 800.43 1.93148
222 802.35 1.89608
223 804.27 1.8651
224 806.19 1.83338
225 808.11 1.79629
226 810.03 1.75975
227 811.95 1.72458
228 813.87 1.69014
229 815.79 1.65543
230 817.71 1.61992
231 819.63 1.58289
232 821.55 1.5452
233 823.47 1.50805
234 825.39 1.47259
235 827.31 1.43832
236 829.23 1.40479
237 831.15 1.37059
238 833.07 1.34079
239 834.99 1.31092
240 836.91 1.27587
241 838.83 1.24079
242 840.74 1.20603
243 842.66 1.17184
244 844.58 1.13899
245 846.50 1.10735
246 848.42 1.07693
247 850.34 1.04731
248 852.26 1.01788
249 854.18 0.98953
250 856.10 0.961995
251 858.02 0.934597
252 859.94 0.91109
253 861.86 0.887674
254 863.78 0.86015
255 865.70 0.833833
256 867.62 0.8094
257 869.54 0.785552
258 871.46 0.762468
259 873.38 0.739331
260 875.30 0.716612
261 877.22 0.694622
262 879.14 0.673412
263 881.06 0.653047
264 882.98 0.632791
265 884.90 0.615673
266 886.82 0.598679
267 888.74 0.57915
268 890.66 0.559961
269 892.58 0.540537
270 894.50 0.520535
271 896.42 0.500454
272 898.34 0.481064
273 900.26 0.463466
274 902.18 0.447636
275 904.10 0.432509
276 906.02 0.417203
277 907.94 0.401882
278 909.86 0.388718
279 911.78 0.376504
280 913.70 0.36322
281 915.62 0.35017
282 917.54 0.336774
283 919.46 0.322679
284 921.38 0.308847
285 923.30 0.295478
286 925.21 0.283027
287 927.13 0.271487
288 929.05 0.260827
289 930.97 0.252124
290 932.89 0.243437
291 934.81 0.233065
292 936.73 0.222627
293 938.65 0.212282
294 940.57 0.202949
295 942.49 0.194291
296 944.41 0.186002
297 946.33 0.178649
298 948.25 0.17138
299 950.17 0.165025
300 952.09 0.158829
301 954.01 0.153046
302 955.93 0.147216
303 957.85 0.139798
304 959.77 0.132409
305 961.69 0.125687
306 963.61 0.11935
307 965.53 0.113866
308 967.45 0.109203
309 969.37 0.104639
310 971.29 0.100141
311 973.21 0.095685
312 975.13 0.0909515
313 977.05 0.0862067
314 978.97 0.0823861
315 980.89 0.0786927
316 982.81 0.0746361
317 984.73 0.0705994
318 986.65 0.0668975
319 988.57 0.0642885
320 990.49 0.0623986
321 992.41 0.0605949
322 994.33 0.058452
323 996.25 0.0554474
324 998.17 0.0525455
325 1000.09 0.0499588
326 1002.01 0.0474978
327 1003.93 0.0451222
328 1005.85 0.0427836
329 1007.77 0.040732
330 1009.68 0.0395093
331 1011.60 0.0388028
332 1013.52 0.0379491
333 1015.44 0.0367954
334 1017.36 0.0348648
335 1019.28 0.0330665
336 1021.20 0.0313772
337 1023.12 0.0298331
338 1025.04 0.0286528
339 1026.96 0.0268847
340 1028.88 0.024801
341 1030.80 0.0227592
342 1032.72 0.0206606
343 1034.64 0.0185722
344 1036.56 0.0172613
345 1038.48 0.0168033
346 1040.40 0.0161983
347 1042.32 0.0150743
348 1044.24 0.013724
349 1046.16 0.012221
350 1048.08 0.0112937
351 1050.00 0.0107075
@@ -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,24.194,5.30758,25.3877,6.89524,0.976772,0.21428,1.02497,0.278378,5.97734,0.0534641,78.0536
2,18.8368,12.1186,18.7172,13.7904,0.840992,0.541048,0.835654,0.615689,3.70297,0.065027,78.9914
3,13.7918,20.6633,13.3499,22.5585,0.555152,0.831749,0.537366,0.908034,5.35474,0.0571707,79.3008
4,4.00106,22.1466,2.64982,23.2262,0.177784,0.984069,0.117743,1.03204,3.53358,0.0682465,86.4029
5,-1.7494,19.9855,-2.77389,20.545,-0.0871999,0.996191,-0.138266,1.02408,3.73111,0.0446452,87.6302
6,-10.1887,17.3743,-10.838,17.7509,-0.505861,0.862615,-0.538097,0.881312,3.34557,0.0164162,90.2709
7,-17.7969,12.2543,-18.4508,11.5209,-0.823633,0.567123,-0.853896,0.533181,0.630543,0.0450353,86.2201
8,-24.2144,2.21301,-25.5951,0.165895,-0.99585,0.0910129,-1.05263,0.00682266,3.92658,0.0936501,78.5718
9,-15.5974,-3.15957,-15.625,-4.89775,-0.980093,-0.198538,-0.981828,-0.30776,2.301,0.106785,84.4575
10,-19.953,-11.5419,-19.1744,-13.9822,-0.865611,-0.500716,-0.831835,-0.606582,3.07318,0.10679,77.2816
11,-13.1113,-19.0908,-11.439,-21.3903,-0.56613,-0.824316,-0.493921,-0.923604,4.2438,0.115201,79.1803
12,-3.41035,-20.7596,-0.905198,-21.7942,-0.162105,-0.986773,-0.0430271,-1.03595,2.50039,0.126385,81.5547
13,2.34978,-15.6965,5.13967,-16.0504,0.148051,-0.98898,0.323832,-1.01128,5.61605,0.168053,80.7737
14,13.1602,-18.321,16.2522,-17.6607,0.583402,-0.812183,0.720469,-0.782909,5.18091,0.130231,77.8198
15,12.769,-8.09612,15.5862,-8.15662,0.844546,-0.535482,1.03088,-0.539484,15.7154,0.100194,78.1031
16,22.8351,-3.34293,23.9488,-1.92221,0.989454,-0.14485,1.03771,-0.08329,3.5317,0.0697912,81.5972
1 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
2 1 24.194 5.30758 25.3877 6.89524 0.976772 0.21428 1.02497 0.278378 5.97734 0.0534641 78.0536
3 2 18.8368 12.1186 18.7172 13.7904 0.840992 0.541048 0.835654 0.615689 3.70297 0.065027 78.9914
4 3 13.7918 20.6633 13.3499 22.5585 0.555152 0.831749 0.537366 0.908034 5.35474 0.0571707 79.3008
5 4 4.00106 22.1466 2.64982 23.2262 0.177784 0.984069 0.117743 1.03204 3.53358 0.0682465 86.4029
6 5 -1.7494 19.9855 -2.77389 20.545 -0.0871999 0.996191 -0.138266 1.02408 3.73111 0.0446452 87.6302
7 6 -10.1887 17.3743 -10.838 17.7509 -0.505861 0.862615 -0.538097 0.881312 3.34557 0.0164162 90.2709
8 7 -17.7969 12.2543 -18.4508 11.5209 -0.823633 0.567123 -0.853896 0.533181 0.630543 0.0450353 86.2201
9 8 -24.2144 2.21301 -25.5951 0.165895 -0.99585 0.0910129 -1.05263 0.00682266 3.92658 0.0936501 78.5718
10 9 -15.5974 -3.15957 -15.625 -4.89775 -0.980093 -0.198538 -0.981828 -0.30776 2.301 0.106785 84.4575
11 10 -19.953 -11.5419 -19.1744 -13.9822 -0.865611 -0.500716 -0.831835 -0.606582 3.07318 0.10679 77.2816
12 11 -13.1113 -19.0908 -11.439 -21.3903 -0.56613 -0.824316 -0.493921 -0.923604 4.2438 0.115201 79.1803
13 12 -3.41035 -20.7596 -0.905198 -21.7942 -0.162105 -0.986773 -0.0430271 -1.03595 2.50039 0.126385 81.5547
14 13 2.34978 -15.6965 5.13967 -16.0504 0.148051 -0.98898 0.323832 -1.01128 5.61605 0.168053 80.7737
15 14 13.1602 -18.321 16.2522 -17.6607 0.583402 -0.812183 0.720469 -0.782909 5.18091 0.130231 77.8198
16 15 12.769 -8.09612 15.5862 -8.15662 0.844546 -0.535482 1.03088 -0.539484 15.7154 0.100194 78.1031
17 16 22.8351 -3.34293 23.9488 -1.92221 0.989454 -0.14485 1.03771 -0.08329 3.5317 0.0697912 81.5972
@@ -0,0 +1,85 @@
{
"name": "L0007",
"type": "halogen",
"dimmable": true,
"manufacturer": "",
"model": "",
"notes": "",
"instrument": "HPCS6500",
"measured_at": "2026-07-09T16:22:57+07:00",
"instrument_date": "2026-02-04",
"instrument_time": "16:29:39",
"readings_averaged": 1,
"tm30": {
"Rf": 82.8,
"Rg": 102.6
},
"cri": {
"Ra": 83.03077697753906,
"R1": 82.11673736572266,
"R2": 93.9566421508789,
"R3": 93.32406616210938,
"R4": 76.64042663574219,
"R5": 81.5961685180664,
"R6": 89.55091094970703,
"R7": 83.03118896484375,
"R8": 64.03005981445312,
"R9": 4.829061031341553,
"R10": 84.0609130859375,
"R11": 76.2067642211914,
"R12": 60.158180236816406,
"R13": 86.46263885498047,
"R14": 96.80621337890625,
"R15": 75.96227264404297
},
"supply": {
"ac_voltage": 230.0,
"ac_frequency": 50.0,
"dc_voltage": 24.0,
"dc_current": 5.0,
"mode": "AC"
},
"photometric": {
"Phi_lm": 479.5904235839844,
"eta_lm_W": 57.03839111328125,
"CCT_K": 5661.3740234375,
"Duv": 0.005495334509760141,
"SDCM": 4.661009311676025,
"TLCI": 67.88436889648438
},
"chromaticity": {
"x": 0.3286939859390259,
"y": 0.34864285588264465,
"u": 0.20145727694034576,
"v": 0.32052600383758545,
"u_prime": 0.20145727694034576,
"v_prime": 0.4807890057563782,
"CIE_X": 662.0042114257812,
"CIE_Y": 702.18212890625,
"CIE_Z": 649.8577880859375
},
"radiometric": {
"Phi_e_mW": 1492.0255126953125,
"Phi_euv_mW": 0.0,
"Phi_eb_mW": 470.2662658691406,
"Phi_ey_mW": 679.6720581054688,
"Phi_er_mW": 330.6041564941406,
"Phi_efr_mW": 11.205649375915527,
"Phi_eir_mW": 0.0,
"Phi_e_total": 1491.7479248046875
},
"electrical": {
"Voltage_V": 230.289794921875,
"Current_A": 0.06533221900463104,
"Power_W": 8.404895782470703,
"Freq_Hz": 50.02182388305664,
"PF": 0.5585951805114746,
"UThd": 0.8112547993659973,
"AThd": 109.011474609375
},
"sensor": {
"PeakSignal": 53165.0,
"DarkSignal": 2310.0,
"Compensate": 2834.0
}
}
@@ -0,0 +1,351 @@
wavelength_nm,value
380.00,0.00012437
381.92,0.00325128
383.84,0.0121374
385.76,0.0277415
387.68,0.0499055
389.60,0.0770335
391.52,0.113006
393.44,0.155736
395.36,0.200766
397.28,0.251532
399.20,0.309992
401.12,0.378357
403.04,0.457739
404.96,0.549033
406.88,0.651834
408.80,0.766103
410.72,0.89645
412.64,1.04439
414.56,1.21227
416.48,1.40185
418.40,1.61142
420.32,1.84377
422.23,2.09783
424.15,2.37553
426.07,2.67843
427.99,3.00636
429.91,3.36508
431.83,3.7554
433.75,4.17804
435.67,4.63919
437.59,5.19895
439.51,5.81118
441.43,6.42285
443.35,7.09515
445.27,7.82478
447.19,8.60823
449.11,9.43156
451.03,10.2756
452.95,11.1145
454.87,11.9149
456.79,12.6327
458.71,13.223
460.63,13.6467
462.55,13.8619
464.47,13.8602
466.39,13.656
468.31,13.276
470.23,12.7626
472.15,12.1576
474.07,11.505
475.99,10.8536
477.91,10.2334
479.83,9.66753
481.75,9.16456
483.67,8.72063
485.59,8.32902
487.51,7.97934
489.43,7.66042
491.35,7.36116
493.27,7.07295
495.19,6.78887
497.11,6.50904
499.03,6.23842
500.95,5.98105
502.87,5.73951
504.79,5.5147
506.70,5.30024
508.62,5.11031
510.54,4.94715
512.46,4.81164
514.38,4.70412
516.30,4.6232
518.22,4.56477
520.14,4.52716
522.06,4.49757
523.98,4.48574
525.90,4.49328
527.82,4.50975
529.74,4.53441
531.66,4.56592
533.58,4.60312
535.50,4.64601
537.42,4.69397
539.34,4.74984
541.26,4.8129
543.18,4.88137
545.10,4.95458
547.02,5.03094
548.94,5.11027
550.86,5.19323
552.78,5.27894
554.70,5.36574
556.62,5.45106
558.54,5.53401
560.46,5.61319
562.38,5.69013
564.30,5.76408
566.22,5.83525
568.14,5.90377
570.06,5.96844
571.98,6.02758
573.90,6.08097
575.82,6.12977
577.74,6.17567
579.66,6.21891
581.58,6.25922
583.50,6.29479
585.42,6.32698
587.34,6.35762
589.26,6.38562
591.17,6.41223
593.09,6.44115
595.01,6.46769
596.93,6.48953
598.85,6.50949
600.77,6.52767
602.69,6.54609
604.61,6.56516
606.53,6.58662
608.45,6.61081
610.37,6.63582
612.29,6.66216
614.21,6.68962
616.13,6.71879
618.05,6.74956
619.97,6.77916
621.89,6.80681
623.81,6.83487
625.73,6.86371
627.65,6.89415
629.57,6.92539
631.49,6.95379
633.41,6.98066
635.33,7.00707
637.25,7.03273
639.17,7.05778
641.09,7.08091
643.01,7.10164
644.93,7.12056
646.85,7.13904
648.77,7.15693
650.69,7.17338
652.61,7.18816
654.53,7.20251
656.45,7.21699
658.37,7.23194
660.29,7.24629
662.21,7.25935
664.13,7.272
666.05,7.28479
667.97,7.29768
669.89,7.31153
671.81,7.32651
673.72,7.34241
675.64,7.35813
677.56,7.3732
679.48,7.38972
681.40,7.41038
683.32,7.4381
685.24,7.46643
687.16,7.4891
689.08,7.50523
691.00,7.51547
692.92,7.52156
694.84,7.52337
696.76,7.52165
698.68,7.51663
700.60,7.50879
702.52,7.49846
704.44,7.48704
706.36,7.47491
708.28,7.46264
710.20,7.44957
712.12,7.43222
714.04,7.40958
715.96,7.38246
717.88,7.35219
719.80,7.32075
721.72,7.28764
723.64,7.25152
725.56,7.21202
727.48,7.16895
729.40,7.12555
731.32,7.09348
733.24,7.06023
735.16,7.0133
737.08,6.96061
739.00,6.90334
740.92,6.84409
742.84,6.78359
744.76,6.72074
746.68,6.65452
748.60,6.58609
750.52,6.51548
752.44,6.44292
754.36,6.36742
756.28,6.28835
758.19,6.20696
760.11,6.12408
762.03,6.04174
763.95,5.96018
765.87,5.87764
767.79,5.79497
769.71,5.72498
771.63,5.65348
773.55,5.56674
775.47,5.47926
777.39,5.39248
779.31,5.30597
781.23,5.21974
783.15,5.13292
785.07,5.04519
786.99,4.95836
788.91,4.87262
790.83,4.78664
792.75,4.70125
794.67,4.61637
796.59,4.53143
798.51,4.44683
800.43,4.36164
802.35,4.2745
804.27,4.20141
806.19,4.12886
808.11,4.04329
810.03,3.95809
811.95,3.87164
813.87,3.78356
815.79,3.69546
817.71,3.60807
819.63,3.52274
821.55,3.43901
823.47,3.35653
825.39,3.27403
827.31,3.19068
829.23,3.10716
831.15,3.02401
833.07,2.95399
834.99,2.8852
836.91,2.80614
838.83,2.728
840.74,2.6514
842.66,2.57594
844.58,2.50181
846.50,2.42922
848.42,2.35736
850.34,2.28699
852.26,2.21866
854.18,2.15275
856.10,2.08984
858.02,2.029
859.94,1.97794
861.86,1.92754
863.78,1.86968
865.70,1.81322
867.62,1.75827
869.54,1.70454
871.46,1.65163
873.38,1.5998
875.30,1.5483
877.22,1.49811
879.14,1.44982
881.06,1.40312
882.98,1.35849
884.90,1.3205
886.82,1.28288
888.74,1.24007
890.66,1.19758
892.58,1.15609
894.50,1.11548
896.42,1.07556
898.34,1.03672
900.26,0.998743
902.18,0.961315
904.10,0.924942
906.02,0.889715
907.94,0.855423
909.86,0.826954
911.78,0.798934
913.70,0.767269
915.62,0.736874
917.54,0.707128
919.46,0.678713
921.38,0.651975
923.30,0.626551
925.21,0.602139
927.13,0.57811
929.05,0.553469
930.97,0.532404
932.89,0.512057
934.81,0.489179
936.73,0.467825
938.65,0.447807
940.57,0.429395
942.49,0.412061
944.41,0.395608
946.33,0.379753
948.25,0.364275
950.17,0.349777
952.09,0.334972
954.01,0.321767
955.93,0.308504
957.85,0.292831
959.77,0.276846
961.69,0.261265
963.61,0.246135
965.53,0.231452
967.45,0.217818
969.37,0.205109
971.29,0.193366
973.21,0.18465
975.13,0.176894
977.05,0.168529
978.97,0.160908
980.89,0.154111
982.81,0.147506
984.73,0.140508
986.65,0.133633
988.57,0.126815
990.49,0.12034
992.41,0.11526
994.33,0.110217
996.25,0.104319
998.17,0.0986741
1000.09,0.0931682
1002.01,0.0872736
1003.93,0.0809993
1005.85,0.07483
1007.77,0.069364
1009.68,0.064749
1011.60,0.0614614
1013.52,0.0582413
1015.44,0.0541198
1017.36,0.0501878
1019.28,0.0461407
1021.20,0.0425238
1023.12,0.0389367
1025.04,0.0348234
1026.96,0.0307412
1028.88,0.02715
1030.80,0.0247482
1032.72,0.0224838
1034.64,0.0198648
1036.56,0.0171769
1038.48,0.0140465
1040.40,0.0110774
1042.32,0.00785347
1044.24,0.00472714
1046.16,0.00212014
1048.08,0.000720481
1050.00,8.16882e-05
1 wavelength_nm value
2 380.00 0.00012437
3 381.92 0.00325128
4 383.84 0.0121374
5 385.76 0.0277415
6 387.68 0.0499055
7 389.60 0.0770335
8 391.52 0.113006
9 393.44 0.155736
10 395.36 0.200766
11 397.28 0.251532
12 399.20 0.309992
13 401.12 0.378357
14 403.04 0.457739
15 404.96 0.549033
16 406.88 0.651834
17 408.80 0.766103
18 410.72 0.89645
19 412.64 1.04439
20 414.56 1.21227
21 416.48 1.40185
22 418.40 1.61142
23 420.32 1.84377
24 422.23 2.09783
25 424.15 2.37553
26 426.07 2.67843
27 427.99 3.00636
28 429.91 3.36508
29 431.83 3.7554
30 433.75 4.17804
31 435.67 4.63919
32 437.59 5.19895
33 439.51 5.81118
34 441.43 6.42285
35 443.35 7.09515
36 445.27 7.82478
37 447.19 8.60823
38 449.11 9.43156
39 451.03 10.2756
40 452.95 11.1145
41 454.87 11.9149
42 456.79 12.6327
43 458.71 13.223
44 460.63 13.6467
45 462.55 13.8619
46 464.47 13.8602
47 466.39 13.656
48 468.31 13.276
49 470.23 12.7626
50 472.15 12.1576
51 474.07 11.505
52 475.99 10.8536
53 477.91 10.2334
54 479.83 9.66753
55 481.75 9.16456
56 483.67 8.72063
57 485.59 8.32902
58 487.51 7.97934
59 489.43 7.66042
60 491.35 7.36116
61 493.27 7.07295
62 495.19 6.78887
63 497.11 6.50904
64 499.03 6.23842
65 500.95 5.98105
66 502.87 5.73951
67 504.79 5.5147
68 506.70 5.30024
69 508.62 5.11031
70 510.54 4.94715
71 512.46 4.81164
72 514.38 4.70412
73 516.30 4.6232
74 518.22 4.56477
75 520.14 4.52716
76 522.06 4.49757
77 523.98 4.48574
78 525.90 4.49328
79 527.82 4.50975
80 529.74 4.53441
81 531.66 4.56592
82 533.58 4.60312
83 535.50 4.64601
84 537.42 4.69397
85 539.34 4.74984
86 541.26 4.8129
87 543.18 4.88137
88 545.10 4.95458
89 547.02 5.03094
90 548.94 5.11027
91 550.86 5.19323
92 552.78 5.27894
93 554.70 5.36574
94 556.62 5.45106
95 558.54 5.53401
96 560.46 5.61319
97 562.38 5.69013
98 564.30 5.76408
99 566.22 5.83525
100 568.14 5.90377
101 570.06 5.96844
102 571.98 6.02758
103 573.90 6.08097
104 575.82 6.12977
105 577.74 6.17567
106 579.66 6.21891
107 581.58 6.25922
108 583.50 6.29479
109 585.42 6.32698
110 587.34 6.35762
111 589.26 6.38562
112 591.17 6.41223
113 593.09 6.44115
114 595.01 6.46769
115 596.93 6.48953
116 598.85 6.50949
117 600.77 6.52767
118 602.69 6.54609
119 604.61 6.56516
120 606.53 6.58662
121 608.45 6.61081
122 610.37 6.63582
123 612.29 6.66216
124 614.21 6.68962
125 616.13 6.71879
126 618.05 6.74956
127 619.97 6.77916
128 621.89 6.80681
129 623.81 6.83487
130 625.73 6.86371
131 627.65 6.89415
132 629.57 6.92539
133 631.49 6.95379
134 633.41 6.98066
135 635.33 7.00707
136 637.25 7.03273
137 639.17 7.05778
138 641.09 7.08091
139 643.01 7.10164
140 644.93 7.12056
141 646.85 7.13904
142 648.77 7.15693
143 650.69 7.17338
144 652.61 7.18816
145 654.53 7.20251
146 656.45 7.21699
147 658.37 7.23194
148 660.29 7.24629
149 662.21 7.25935
150 664.13 7.272
151 666.05 7.28479
152 667.97 7.29768
153 669.89 7.31153
154 671.81 7.32651
155 673.72 7.34241
156 675.64 7.35813
157 677.56 7.3732
158 679.48 7.38972
159 681.40 7.41038
160 683.32 7.4381
161 685.24 7.46643
162 687.16 7.4891
163 689.08 7.50523
164 691.00 7.51547
165 692.92 7.52156
166 694.84 7.52337
167 696.76 7.52165
168 698.68 7.51663
169 700.60 7.50879
170 702.52 7.49846
171 704.44 7.48704
172 706.36 7.47491
173 708.28 7.46264
174 710.20 7.44957
175 712.12 7.43222
176 714.04 7.40958
177 715.96 7.38246
178 717.88 7.35219
179 719.80 7.32075
180 721.72 7.28764
181 723.64 7.25152
182 725.56 7.21202
183 727.48 7.16895
184 729.40 7.12555
185 731.32 7.09348
186 733.24 7.06023
187 735.16 7.0133
188 737.08 6.96061
189 739.00 6.90334
190 740.92 6.84409
191 742.84 6.78359
192 744.76 6.72074
193 746.68 6.65452
194 748.60 6.58609
195 750.52 6.51548
196 752.44 6.44292
197 754.36 6.36742
198 756.28 6.28835
199 758.19 6.20696
200 760.11 6.12408
201 762.03 6.04174
202 763.95 5.96018
203 765.87 5.87764
204 767.79 5.79497
205 769.71 5.72498
206 771.63 5.65348
207 773.55 5.56674
208 775.47 5.47926
209 777.39 5.39248
210 779.31 5.30597
211 781.23 5.21974
212 783.15 5.13292
213 785.07 5.04519
214 786.99 4.95836
215 788.91 4.87262
216 790.83 4.78664
217 792.75 4.70125
218 794.67 4.61637
219 796.59 4.53143
220 798.51 4.44683
221 800.43 4.36164
222 802.35 4.2745
223 804.27 4.20141
224 806.19 4.12886
225 808.11 4.04329
226 810.03 3.95809
227 811.95 3.87164
228 813.87 3.78356
229 815.79 3.69546
230 817.71 3.60807
231 819.63 3.52274
232 821.55 3.43901
233 823.47 3.35653
234 825.39 3.27403
235 827.31 3.19068
236 829.23 3.10716
237 831.15 3.02401
238 833.07 2.95399
239 834.99 2.8852
240 836.91 2.80614
241 838.83 2.728
242 840.74 2.6514
243 842.66 2.57594
244 844.58 2.50181
245 846.50 2.42922
246 848.42 2.35736
247 850.34 2.28699
248 852.26 2.21866
249 854.18 2.15275
250 856.10 2.08984
251 858.02 2.029
252 859.94 1.97794
253 861.86 1.92754
254 863.78 1.86968
255 865.70 1.81322
256 867.62 1.75827
257 869.54 1.70454
258 871.46 1.65163
259 873.38 1.5998
260 875.30 1.5483
261 877.22 1.49811
262 879.14 1.44982
263 881.06 1.40312
264 882.98 1.35849
265 884.90 1.3205
266 886.82 1.28288
267 888.74 1.24007
268 890.66 1.19758
269 892.58 1.15609
270 894.50 1.11548
271 896.42 1.07556
272 898.34 1.03672
273 900.26 0.998743
274 902.18 0.961315
275 904.10 0.924942
276 906.02 0.889715
277 907.94 0.855423
278 909.86 0.826954
279 911.78 0.798934
280 913.70 0.767269
281 915.62 0.736874
282 917.54 0.707128
283 919.46 0.678713
284 921.38 0.651975
285 923.30 0.626551
286 925.21 0.602139
287 927.13 0.57811
288 929.05 0.553469
289 930.97 0.532404
290 932.89 0.512057
291 934.81 0.489179
292 936.73 0.467825
293 938.65 0.447807
294 940.57 0.429395
295 942.49 0.412061
296 944.41 0.395608
297 946.33 0.379753
298 948.25 0.364275
299 950.17 0.349777
300 952.09 0.334972
301 954.01 0.321767
302 955.93 0.308504
303 957.85 0.292831
304 959.77 0.276846
305 961.69 0.261265
306 963.61 0.246135
307 965.53 0.231452
308 967.45 0.217818
309 969.37 0.205109
310 971.29 0.193366
311 973.21 0.18465
312 975.13 0.176894
313 977.05 0.168529
314 978.97 0.160908
315 980.89 0.154111
316 982.81 0.147506
317 984.73 0.140508
318 986.65 0.133633
319 988.57 0.126815
320 990.49 0.12034
321 992.41 0.11526
322 994.33 0.110217
323 996.25 0.104319
324 998.17 0.0986741
325 1000.09 0.0931682
326 1002.01 0.0872736
327 1003.93 0.0809993
328 1005.85 0.07483
329 1007.77 0.069364
330 1009.68 0.064749
331 1011.60 0.0614614
332 1013.52 0.0582413
333 1015.44 0.0541198
334 1017.36 0.0501878
335 1019.28 0.0461407
336 1021.20 0.0425238
337 1023.12 0.0389367
338 1025.04 0.0348234
339 1026.96 0.0307412
340 1028.88 0.02715
341 1030.80 0.0247482
342 1032.72 0.0224838
343 1034.64 0.0198648
344 1036.56 0.0171769
345 1038.48 0.0140465
346 1040.40 0.0110774
347 1042.32 0.00785347
348 1044.24 0.00472714
349 1046.16 0.00212014
350 1048.08 0.000720481
351 1050.00 8.16882e-05
@@ -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.8322,4.89044,25.5143,6.78835,0.979588,0.201015,1.04873,0.279026,8.30334,0.0630229,76.4441
2,18.6309,11.8982,19.8479,13.1157,0.842797,0.538232,0.897851,0.593308,7.63743,0.015208,82.0393
3,13.4241,20.707,15.7508,20.9107,0.543979,0.839099,0.638262,0.847352,5.92434,-0.0738084,81.8363
4,4.49861,22.8543,6.44068,22.2658,0.193133,0.981173,0.276509,0.955907,-0.851417,-0.0867033,85.1735
5,-1.55246,21.4895,0.339439,19.7562,-0.0720553,0.997401,0.0157546,0.916955,-9.60308,-0.0704284,81.5541
6,-10.2156,16.75,-9.43359,15.3207,-0.520687,0.853748,-0.480829,0.780893,-8.27205,0.00733577,85.6792
7,-17.901,11.6088,-17.832,9.70121,-0.839017,0.544105,-0.835783,0.454695,-5.23628,0.0725445,84.9471
8,-24.0094,2.96356,-25.6481,-0.43544,-0.992468,0.122504,-1.0602,-0.0179996,3.90235,0.151018,72.7844
9,-15.6797,-2.60957,-16.6033,-4.96949,-0.986432,-0.164172,-1.04454,-0.312638,8.59555,0.134277,81.8143
10,-19.7518,-11.9916,-21.0921,-14.0327,-0.854798,-0.518961,-0.912802,-0.607292,9.73027,0.0412196,82.0354
11,-12.8556,-18.9464,-14.4795,-19.9788,-0.561476,-0.827493,-0.632401,-0.872584,7.6896,-0.033921,85.838
12,-3.73856,-20.7556,-5.08464,-20.7591,-0.17727,-0.984162,-0.241097,-0.984329,1.26154,-0.0625677,90.6907
13,1.91647,-15.8171,1.91568,-15.5877,0.120285,-0.992739,0.120235,-0.978341,-1.41314,0.00276032,91.1775
14,12.6248,-18.7612,13.1529,-17.2582,0.558288,-0.829647,0.581642,-0.763184,-4.22874,0.0563433,86.4173
15,12.1099,-8.34251,13.7213,-8.11653,0.823504,-0.56731,0.93308,-0.551943,8.25711,0.0736542,80.9915
16,22.5933,-3.87457,23.3147,-1.51543,0.985612,-0.169025,1.01708,-0.0661093,1.07904,0.107078,79.1926
1 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
2 1 23.8322 4.89044 25.5143 6.78835 0.979588 0.201015 1.04873 0.279026 8.30334 0.0630229 76.4441
3 2 18.6309 11.8982 19.8479 13.1157 0.842797 0.538232 0.897851 0.593308 7.63743 0.015208 82.0393
4 3 13.4241 20.707 15.7508 20.9107 0.543979 0.839099 0.638262 0.847352 5.92434 -0.0738084 81.8363
5 4 4.49861 22.8543 6.44068 22.2658 0.193133 0.981173 0.276509 0.955907 -0.851417 -0.0867033 85.1735
6 5 -1.55246 21.4895 0.339439 19.7562 -0.0720553 0.997401 0.0157546 0.916955 -9.60308 -0.0704284 81.5541
7 6 -10.2156 16.75 -9.43359 15.3207 -0.520687 0.853748 -0.480829 0.780893 -8.27205 0.00733577 85.6792
8 7 -17.901 11.6088 -17.832 9.70121 -0.839017 0.544105 -0.835783 0.454695 -5.23628 0.0725445 84.9471
9 8 -24.0094 2.96356 -25.6481 -0.43544 -0.992468 0.122504 -1.0602 -0.0179996 3.90235 0.151018 72.7844
10 9 -15.6797 -2.60957 -16.6033 -4.96949 -0.986432 -0.164172 -1.04454 -0.312638 8.59555 0.134277 81.8143
11 10 -19.7518 -11.9916 -21.0921 -14.0327 -0.854798 -0.518961 -0.912802 -0.607292 9.73027 0.0412196 82.0354
12 11 -12.8556 -18.9464 -14.4795 -19.9788 -0.561476 -0.827493 -0.632401 -0.872584 7.6896 -0.033921 85.838
13 12 -3.73856 -20.7556 -5.08464 -20.7591 -0.17727 -0.984162 -0.241097 -0.984329 1.26154 -0.0625677 90.6907
14 13 1.91647 -15.8171 1.91568 -15.5877 0.120285 -0.992739 0.120235 -0.978341 -1.41314 0.00276032 91.1775
15 14 12.6248 -18.7612 13.1529 -17.2582 0.558288 -0.829647 0.581642 -0.763184 -4.22874 0.0563433 86.4173
16 15 12.1099 -8.34251 13.7213 -8.11653 0.823504 -0.56731 0.93308 -0.551943 8.25711 0.0736542 80.9915
17 16 22.5933 -3.87457 23.3147 -1.51543 0.985612 -0.169025 1.01708 -0.0661093 1.07904 0.107078 79.1926
@@ -0,0 +1,90 @@
{
"name": "L0042",
"ean": "8718696844984",
"type": "led",
"dimmable": false,
"variant": "cool white",
"rated": {
"Phi_lm": 1050,
"Power_W": 9.5,
"lifetime_h": 15000
},
"manufacturer": "Philips",
"model": "MyCare 9.5W Caf\u00e9 \u00fc \u0e44\u0e1f",
"notes": "box says \"warm\"\tok",
"instrument": "HPCS6500",
"measured_at": "2026-07-09T16:22:57+07:00",
"instrument_date": "2026-02-04",
"instrument_time": "16:04:22",
"readings_averaged": 3,
"tm30": {
"Rf": 82.8,
"Rg": 102.5
},
"cri": {
"Ra": 83.03523508707683,
"R1": 82.2739028930664,
"R2": 94.10517883300781,
"R3": 93.21258036295573,
"R4": 76.49050394694011,
"R5": 81.4281005859375,
"R6": 89.39029439290364,
"R7": 83.1925786336263,
"R8": 64.188720703125,
"R9": 4.96781063079834,
"R10": 84.26158396402995,
"R11": 76.07496897379558,
"R12": 60.12171173095703,
"R13": 86.65864817301433,
"R14": 96.72717539469402,
"R15": 76.09520975748698
},
"supply": {
"ac_voltage": 230.0,
"ac_frequency": 50.0,
"dc_voltage": 24.0,
"dc_current": 5.0,
"mode": "AC"
},
"photometric": {
"Phi_lm": 479.6871032714844,
"eta_lm_W": 57.07930119832357,
"CCT_K": 5654.930013020833,
"Duv": 0.00552134479706486,
"SDCM": 4.698563575744629,
"TLCI": 67.9216817220052
},
"chromaticity": {
"x": 0.32883302370707196,
"y": 0.3488210042317708,
"u": 0.20148508747418722,
"v": 0.32059840361277264,
"u_prime": 0.20148508747418722,
"v_prime": 0.4808976153532664,
"CIE_X": 662.0794474283854,
"CIE_Y": 702.3236897786459,
"CIE_Z": 649.0183308919271
},
"radiometric": {
"Phi_e_mW": 1491.6316731770833,
"Phi_euv_mW": 0.0,
"Phi_eb_mW": 469.9439392089844,
"Phi_ey_mW": 679.7555135091146,
"Phi_er_mW": 331.15210978190106,
"Phi_efr_mW": 11.503878593444824,
"Phi_eir_mW": 0.0,
"Phi_e_total": 1492.3549397786458
},
"electrical": {
"Voltage_V": 230.29657999674478,
"Current_A": 0.06530716021855672,
"Power_W": 8.4038724899292,
"Freq_Hz": 50.021812438964844,
"PF": 0.5587416887283325
},
"sensor": {
"PeakSignal": 53061.0,
"DarkSignal": 2236.6666666666665,
"Compensate": 2834.0
}
}
+351
View File
@@ -0,0 +1,351 @@
wavelength_nm,value
380.00,0.000365606
381.92,0.0052701
383.84,0.0174624
385.76,0.0369744
387.68,0.0630038
389.60,0.0924528
391.52,0.129915
393.44,0.17215
395.36,0.215405
397.28,0.264549
399.20,0.321514
401.12,0.388303
403.04,0.466088
404.96,0.555115
406.88,0.656321
408.80,0.771487
410.72,0.903509
412.64,1.05381
414.56,1.22285
416.48,1.41098
418.40,1.61749
420.32,1.84539
422.23,2.09653
424.15,2.373
426.07,2.67501
427.99,3.0024
429.91,3.36028
431.83,3.75018
433.75,4.17195
435.67,4.63166
437.59,5.18756
439.51,5.79644
441.43,6.40441
443.35,7.07131
445.27,7.79616
447.19,8.57664
449.11,9.3994
451.03,10.2441
452.95,11.0834
454.87,11.8836
456.79,12.603
458.71,13.1972
460.63,13.6254
462.55,13.8458
464.47,13.8481
466.39,13.6468
468.31,13.2686
470.23,12.7571
472.15,12.1536
474.07,11.5036
475.99,10.8538
477.91,10.2349
479.83,9.66925
481.75,9.16429
483.67,8.7167
485.59,8.32288
487.51,7.97234
489.43,7.65421
491.35,7.35693
493.27,7.06942
495.19,6.78593
497.11,6.50668
499.03,6.23555
500.95,5.9772
502.87,5.73427
504.79,5.50867
506.70,5.29416
508.62,5.10508
510.54,4.94335
512.46,4.80941
514.38,4.70291
516.30,4.62301
518.22,4.56511
520.14,4.52752
522.06,4.4981
523.98,4.48587
525.90,4.49319
527.82,4.50912
529.74,4.53248
531.66,4.56252
533.58,4.59904
535.50,4.64247
537.42,4.69146
539.34,4.747
541.26,4.80906
543.18,4.87636
545.10,4.9496
547.02,5.02659
548.94,5.10692
550.86,5.18972
552.78,5.27489
554.70,5.36223
556.62,5.44919
558.54,5.53354
560.46,5.61387
562.38,5.69069
564.30,5.76287
566.22,5.83302
568.14,5.90044
570.06,5.96431
571.98,6.02501
573.90,6.08041
575.82,6.13156
577.74,6.17863
579.66,6.22191
581.58,6.26121
583.50,6.29569
585.42,6.32684
587.34,6.35555
589.26,6.38227
591.17,6.4077
593.09,6.43663
595.01,6.46485
596.93,6.48889
598.85,6.51145
600.77,6.53127
602.69,6.54893
604.61,6.56654
606.53,6.58564
608.45,6.60829
610.37,6.63313
612.29,6.65904
614.21,6.68654
616.13,6.71518
618.05,6.74523
619.97,6.77501
621.89,6.8038
623.81,6.83309
625.73,6.86293
627.65,6.89347
629.57,6.92434
631.49,6.95343
633.41,6.98175
635.33,7.00832
637.25,7.03308
639.17,7.05641
641.09,7.07872
643.01,7.1005
644.93,7.12156
646.85,7.1415
648.77,7.16026
650.69,7.17672
652.61,7.19094
654.53,7.20409
656.45,7.21726
658.37,7.23105
660.29,7.24528
662.21,7.25866
664.13,7.27171
666.05,7.28519
667.97,7.29889
669.89,7.31371
671.81,7.32813
673.72,7.34297
675.64,7.35832
677.56,7.37432
679.48,7.39331
681.40,7.41502
683.32,7.44201
685.24,7.46915
687.16,7.49027
689.08,7.50719
691.00,7.51955
692.92,7.5266
694.84,7.52866
696.76,7.52509
698.68,7.51701
700.60,7.5076
702.52,7.49724
704.44,7.4881
706.36,7.47958
708.28,7.46992
710.20,7.45709
712.12,7.43947
714.04,7.41602
715.96,7.38839
717.88,7.35827
719.80,7.32592
721.72,7.29185
723.64,7.2557
725.56,7.21711
727.48,7.17589
729.40,7.13404
731.32,7.10174
733.24,7.06725
735.16,7.01878
737.08,6.96538
739.00,6.90749
740.92,6.84683
742.84,6.78526
744.76,6.72237
746.68,6.65787
748.60,6.59162
750.52,6.52145
752.44,6.44783
754.36,6.37136
756.28,6.2922
758.19,6.21157
760.11,6.1295
762.03,6.04717
763.95,5.96545
765.87,5.88354
767.79,5.80118
769.71,5.73171
771.63,5.66075
773.55,5.57428
775.47,5.48691
777.39,5.39926
779.31,5.31135
781.23,5.22406
783.15,5.1373
785.07,5.05031
786.99,4.96372
788.91,4.87709
790.83,4.7909
792.75,4.70567
794.67,4.62128
796.59,4.53732
798.51,4.45255
800.43,4.36692
802.35,4.2806
804.27,4.2077
806.19,4.13485
808.11,4.04907
810.03,3.96349
811.95,3.87812
813.87,3.79244
815.79,3.70668
817.71,3.62118
819.63,3.53542
821.55,3.45007
823.47,3.36513
825.39,3.28073
827.31,3.19686
829.23,3.11396
831.15,3.03173
833.07,2.96166
834.99,2.89317
836.91,2.81428
838.83,2.73634
840.74,2.65972
842.66,2.58348
844.58,2.50853
846.50,2.43512
848.42,2.36289
850.34,2.29287
852.26,2.22463
854.18,2.1583
856.10,2.09442
858.02,2.03205
859.94,1.97967
861.86,1.92886
863.78,1.87128
865.70,1.8152
867.62,1.76081
869.54,1.70742
871.46,1.65477
873.38,1.6029
875.30,1.55129
877.22,1.50061
879.14,1.45181
881.06,1.40512
882.98,1.36101
884.90,1.3243
886.82,1.28827
888.74,1.24682
890.66,1.20538
892.58,1.16375
894.50,1.12204
896.42,1.08097
898.34,1.04122
900.26,1.00321
902.18,0.966682
904.10,0.931466
906.02,0.897212
907.94,0.863274
909.86,0.834488
911.78,0.806232
913.70,0.77413
915.62,0.743313
917.54,0.713611
919.46,0.684714
921.38,0.656447
923.30,0.629011
925.21,0.602572
927.13,0.577308
929.05,0.553133
930.97,0.532903
932.89,0.51344
934.81,0.491842
936.73,0.471207
938.65,0.451653
940.57,0.433122
942.49,0.41551
944.41,0.398834
946.33,0.382978
948.25,0.367794
950.17,0.352984
952.09,0.338755
954.01,0.326487
955.93,0.313683
957.85,0.298334
959.77,0.282348
961.69,0.266334
963.61,0.251037
965.53,0.236595
967.45,0.223076
969.37,0.211188
971.29,0.200452
973.21,0.192062
975.13,0.184205
977.05,0.175077
978.97,0.166767
980.89,0.159442
982.81,0.152627
984.73,0.145832
986.65,0.138907
988.57,0.131661
990.49,0.124845
992.41,0.119552
994.33,0.1145
996.25,0.108742
998.17,0.102876
1000.09,0.0967195
1002.01,0.0904836
1003.93,0.0847852
1005.85,0.0797888
1007.77,0.0751852
1009.68,0.0708111
1011.60,0.0669758
1013.52,0.0630191
1015.44,0.0588567
1017.36,0.0552771
1019.28,0.0520897
1021.20,0.0489097
1023.12,0.0454581
1025.04,0.0417723
1026.96,0.0376737
1028.88,0.0336676
1030.80,0.0305725
1032.72,0.0275745
1034.64,0.0244492
1036.56,0.0215368
1038.48,0.0185852
1040.40,0.0154897
1042.32,0.0121245
1044.24,0.00879848
1046.16,0.0056708
1048.08,0.00352862
1050.00,0.00202557
1 wavelength_nm value
2 380.00 0.000365606
3 381.92 0.0052701
4 383.84 0.0174624
5 385.76 0.0369744
6 387.68 0.0630038
7 389.60 0.0924528
8 391.52 0.129915
9 393.44 0.17215
10 395.36 0.215405
11 397.28 0.264549
12 399.20 0.321514
13 401.12 0.388303
14 403.04 0.466088
15 404.96 0.555115
16 406.88 0.656321
17 408.80 0.771487
18 410.72 0.903509
19 412.64 1.05381
20 414.56 1.22285
21 416.48 1.41098
22 418.40 1.61749
23 420.32 1.84539
24 422.23 2.09653
25 424.15 2.373
26 426.07 2.67501
27 427.99 3.0024
28 429.91 3.36028
29 431.83 3.75018
30 433.75 4.17195
31 435.67 4.63166
32 437.59 5.18756
33 439.51 5.79644
34 441.43 6.40441
35 443.35 7.07131
36 445.27 7.79616
37 447.19 8.57664
38 449.11 9.3994
39 451.03 10.2441
40 452.95 11.0834
41 454.87 11.8836
42 456.79 12.603
43 458.71 13.1972
44 460.63 13.6254
45 462.55 13.8458
46 464.47 13.8481
47 466.39 13.6468
48 468.31 13.2686
49 470.23 12.7571
50 472.15 12.1536
51 474.07 11.5036
52 475.99 10.8538
53 477.91 10.2349
54 479.83 9.66925
55 481.75 9.16429
56 483.67 8.7167
57 485.59 8.32288
58 487.51 7.97234
59 489.43 7.65421
60 491.35 7.35693
61 493.27 7.06942
62 495.19 6.78593
63 497.11 6.50668
64 499.03 6.23555
65 500.95 5.9772
66 502.87 5.73427
67 504.79 5.50867
68 506.70 5.29416
69 508.62 5.10508
70 510.54 4.94335
71 512.46 4.80941
72 514.38 4.70291
73 516.30 4.62301
74 518.22 4.56511
75 520.14 4.52752
76 522.06 4.4981
77 523.98 4.48587
78 525.90 4.49319
79 527.82 4.50912
80 529.74 4.53248
81 531.66 4.56252
82 533.58 4.59904
83 535.50 4.64247
84 537.42 4.69146
85 539.34 4.747
86 541.26 4.80906
87 543.18 4.87636
88 545.10 4.9496
89 547.02 5.02659
90 548.94 5.10692
91 550.86 5.18972
92 552.78 5.27489
93 554.70 5.36223
94 556.62 5.44919
95 558.54 5.53354
96 560.46 5.61387
97 562.38 5.69069
98 564.30 5.76287
99 566.22 5.83302
100 568.14 5.90044
101 570.06 5.96431
102 571.98 6.02501
103 573.90 6.08041
104 575.82 6.13156
105 577.74 6.17863
106 579.66 6.22191
107 581.58 6.26121
108 583.50 6.29569
109 585.42 6.32684
110 587.34 6.35555
111 589.26 6.38227
112 591.17 6.4077
113 593.09 6.43663
114 595.01 6.46485
115 596.93 6.48889
116 598.85 6.51145
117 600.77 6.53127
118 602.69 6.54893
119 604.61 6.56654
120 606.53 6.58564
121 608.45 6.60829
122 610.37 6.63313
123 612.29 6.65904
124 614.21 6.68654
125 616.13 6.71518
126 618.05 6.74523
127 619.97 6.77501
128 621.89 6.8038
129 623.81 6.83309
130 625.73 6.86293
131 627.65 6.89347
132 629.57 6.92434
133 631.49 6.95343
134 633.41 6.98175
135 635.33 7.00832
136 637.25 7.03308
137 639.17 7.05641
138 641.09 7.07872
139 643.01 7.1005
140 644.93 7.12156
141 646.85 7.1415
142 648.77 7.16026
143 650.69 7.17672
144 652.61 7.19094
145 654.53 7.20409
146 656.45 7.21726
147 658.37 7.23105
148 660.29 7.24528
149 662.21 7.25866
150 664.13 7.27171
151 666.05 7.28519
152 667.97 7.29889
153 669.89 7.31371
154 671.81 7.32813
155 673.72 7.34297
156 675.64 7.35832
157 677.56 7.37432
158 679.48 7.39331
159 681.40 7.41502
160 683.32 7.44201
161 685.24 7.46915
162 687.16 7.49027
163 689.08 7.50719
164 691.00 7.51955
165 692.92 7.5266
166 694.84 7.52866
167 696.76 7.52509
168 698.68 7.51701
169 700.60 7.5076
170 702.52 7.49724
171 704.44 7.4881
172 706.36 7.47958
173 708.28 7.46992
174 710.20 7.45709
175 712.12 7.43947
176 714.04 7.41602
177 715.96 7.38839
178 717.88 7.35827
179 719.80 7.32592
180 721.72 7.29185
181 723.64 7.2557
182 725.56 7.21711
183 727.48 7.17589
184 729.40 7.13404
185 731.32 7.10174
186 733.24 7.06725
187 735.16 7.01878
188 737.08 6.96538
189 739.00 6.90749
190 740.92 6.84683
191 742.84 6.78526
192 744.76 6.72237
193 746.68 6.65787
194 748.60 6.59162
195 750.52 6.52145
196 752.44 6.44783
197 754.36 6.37136
198 756.28 6.2922
199 758.19 6.21157
200 760.11 6.1295
201 762.03 6.04717
202 763.95 5.96545
203 765.87 5.88354
204 767.79 5.80118
205 769.71 5.73171
206 771.63 5.66075
207 773.55 5.57428
208 775.47 5.48691
209 777.39 5.39926
210 779.31 5.31135
211 781.23 5.22406
212 783.15 5.1373
213 785.07 5.05031
214 786.99 4.96372
215 788.91 4.87709
216 790.83 4.7909
217 792.75 4.70567
218 794.67 4.62128
219 796.59 4.53732
220 798.51 4.45255
221 800.43 4.36692
222 802.35 4.2806
223 804.27 4.2077
224 806.19 4.13485
225 808.11 4.04907
226 810.03 3.96349
227 811.95 3.87812
228 813.87 3.79244
229 815.79 3.70668
230 817.71 3.62118
231 819.63 3.53542
232 821.55 3.45007
233 823.47 3.36513
234 825.39 3.28073
235 827.31 3.19686
236 829.23 3.11396
237 831.15 3.03173
238 833.07 2.96166
239 834.99 2.89317
240 836.91 2.81428
241 838.83 2.73634
242 840.74 2.65972
243 842.66 2.58348
244 844.58 2.50853
245 846.50 2.43512
246 848.42 2.36289
247 850.34 2.29287
248 852.26 2.22463
249 854.18 2.1583
250 856.10 2.09442
251 858.02 2.03205
252 859.94 1.97967
253 861.86 1.92886
254 863.78 1.87128
255 865.70 1.8152
256 867.62 1.76081
257 869.54 1.70742
258 871.46 1.65477
259 873.38 1.6029
260 875.30 1.55129
261 877.22 1.50061
262 879.14 1.45181
263 881.06 1.40512
264 882.98 1.36101
265 884.90 1.3243
266 886.82 1.28827
267 888.74 1.24682
268 890.66 1.20538
269 892.58 1.16375
270 894.50 1.12204
271 896.42 1.08097
272 898.34 1.04122
273 900.26 1.00321
274 902.18 0.966682
275 904.10 0.931466
276 906.02 0.897212
277 907.94 0.863274
278 909.86 0.834488
279 911.78 0.806232
280 913.70 0.77413
281 915.62 0.743313
282 917.54 0.713611
283 919.46 0.684714
284 921.38 0.656447
285 923.30 0.629011
286 925.21 0.602572
287 927.13 0.577308
288 929.05 0.553133
289 930.97 0.532903
290 932.89 0.51344
291 934.81 0.491842
292 936.73 0.471207
293 938.65 0.451653
294 940.57 0.433122
295 942.49 0.41551
296 944.41 0.398834
297 946.33 0.382978
298 948.25 0.367794
299 950.17 0.352984
300 952.09 0.338755
301 954.01 0.326487
302 955.93 0.313683
303 957.85 0.298334
304 959.77 0.282348
305 961.69 0.266334
306 963.61 0.251037
307 965.53 0.236595
308 967.45 0.223076
309 969.37 0.211188
310 971.29 0.200452
311 973.21 0.192062
312 975.13 0.184205
313 977.05 0.175077
314 978.97 0.166767
315 980.89 0.159442
316 982.81 0.152627
317 984.73 0.145832
318 986.65 0.138907
319 988.57 0.131661
320 990.49 0.124845
321 992.41 0.119552
322 994.33 0.1145
323 996.25 0.108742
324 998.17 0.102876
325 1000.09 0.0967195
326 1002.01 0.0904836
327 1003.93 0.0847852
328 1005.85 0.0797888
329 1007.77 0.0751852
330 1009.68 0.0708111
331 1011.60 0.0669758
332 1013.52 0.0630191
333 1015.44 0.0588567
334 1017.36 0.0552771
335 1019.28 0.0520897
336 1021.20 0.0489097
337 1023.12 0.0454581
338 1025.04 0.0417723
339 1026.96 0.0376737
340 1028.88 0.0336676
341 1030.80 0.0305725
342 1032.72 0.0275745
343 1034.64 0.0244492
344 1036.56 0.0215368
345 1038.48 0.0185852
346 1040.40 0.0154897
347 1042.32 0.0121245
348 1044.24 0.00879848
349 1046.16 0.0056708
350 1048.08 0.00352862
351 1050.00 0.00202557
@@ -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.8357,4.89461,25.5144,6.7909,0.97956,0.20115,1.04855,0.279081,8.28657,0.0629746,76.4786
2,18.6329,11.9004,19.8481,13.1165,0.842777,0.538263,0.897739,0.593268,7.62587,0.0151991,82.0646
3,13.4278,20.7067,15.7532,20.9087,0.544088,0.839028,0.638313,0.847214,5.9155,-0.0737974,81.8536
4,4.49902,22.8532,6.4428,22.2638,0.193158,0.981168,0.276612,0.955863,-0.85372,-0.0867864,85.1654
5,-1.55064,21.4862,0.342398,19.7527,-0.0719818,0.997406,0.0158943,0.916933,-9.607,-0.0704882,81.5458
6,-10.2152,16.7462,-9.43137,15.3167,-0.520759,0.853703,-0.4808,0.780825,-8.27966,0.00726374,85.6756
7,-17.9011,11.6037,-17.8305,9.69668,-0.83913,0.543931,-0.835818,0.45454,-5.24169,0.072486,84.9545
8,-24.0114,2.95619,-25.6477,-0.440784,-0.992506,0.122194,-1.06014,-0.0182197,3.89417,0.15091,72.8073
9,-15.6788,-2.61501,-16.6028,-4.97269,-0.986375,-0.164514,-1.0445,-0.312839,8.59478,0.134135,81.8305
10,-19.749,-11.9979,-21.092,-14.035,-0.854645,-0.519213,-0.912761,-0.607367,9.72975,0.0410105,82.054
11,-12.8532,-18.9493,-14.4815,-19.9774,-0.561344,-0.827583,-0.632459,-0.872483,7.6843,-0.0341847,85.8291
12,-3.73546,-20.7558,-5.08623,-20.7576,-0.177126,-0.984188,-0.241176,-0.984273,1.2579,-0.062803,90.6592
13,1.92061,-15.8161,1.9149,-15.5855,0.120549,-0.992707,0.12019,-0.978234,-1.42652,0.00247188,91.1834
14,12.63,-18.757,13.1517,-17.2546,0.55853,-0.829484,0.581603,-0.763042,-4.2426,0.0560974,86.4346
15,12.1165,-8.34016,13.7212,-8.11295,0.823723,-0.566992,0.932812,-0.551545,8.21223,0.0734496,81.0338
16,22.5956,-3.86931,23.3134,-1.5113,0.985653,-0.168785,1.01696,-0.0659251,1.06421,0.106992,79.2134
1 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
2 1 23.8357 4.89461 25.5144 6.7909 0.97956 0.20115 1.04855 0.279081 8.28657 0.0629746 76.4786
3 2 18.6329 11.9004 19.8481 13.1165 0.842777 0.538263 0.897739 0.593268 7.62587 0.0151991 82.0646
4 3 13.4278 20.7067 15.7532 20.9087 0.544088 0.839028 0.638313 0.847214 5.9155 -0.0737974 81.8536
5 4 4.49902 22.8532 6.4428 22.2638 0.193158 0.981168 0.276612 0.955863 -0.85372 -0.0867864 85.1654
6 5 -1.55064 21.4862 0.342398 19.7527 -0.0719818 0.997406 0.0158943 0.916933 -9.607 -0.0704882 81.5458
7 6 -10.2152 16.7462 -9.43137 15.3167 -0.520759 0.853703 -0.4808 0.780825 -8.27966 0.00726374 85.6756
8 7 -17.9011 11.6037 -17.8305 9.69668 -0.83913 0.543931 -0.835818 0.45454 -5.24169 0.072486 84.9545
9 8 -24.0114 2.95619 -25.6477 -0.440784 -0.992506 0.122194 -1.06014 -0.0182197 3.89417 0.15091 72.8073
10 9 -15.6788 -2.61501 -16.6028 -4.97269 -0.986375 -0.164514 -1.0445 -0.312839 8.59478 0.134135 81.8305
11 10 -19.749 -11.9979 -21.092 -14.035 -0.854645 -0.519213 -0.912761 -0.607367 9.72975 0.0410105 82.054
12 11 -12.8532 -18.9493 -14.4815 -19.9774 -0.561344 -0.827583 -0.632459 -0.872483 7.6843 -0.0341847 85.8291
13 12 -3.73546 -20.7558 -5.08623 -20.7576 -0.177126 -0.984188 -0.241176 -0.984273 1.2579 -0.062803 90.6592
14 13 1.92061 -15.8161 1.9149 -15.5855 0.120549 -0.992707 0.12019 -0.978234 -1.42652 0.00247188 91.1834
15 14 12.63 -18.757 13.1517 -17.2546 0.55853 -0.829484 0.581603 -0.763042 -4.2426 0.0560974 86.4346
16 15 12.1165 -8.34016 13.7212 -8.11295 0.823723 -0.566992 0.932812 -0.551545 8.21223 0.0734496 81.0338
17 16 22.5956 -3.86931 23.3134 -1.5113 0.985653 -0.168785 1.01696 -0.0659251 1.06421 0.106992 79.2134
+203
View File
@@ -0,0 +1,203 @@
//! The station end to end: scripted answers on stdin, the simulated
//! instrument, a throwaway comparison-data repository.
use std::io::Write;
use std::path::Path;
use std::process::{Command, Stdio};
fn git(dir: &Path, args: &[&str]) -> String {
let o = Command::new("git")
.arg("-C")
.arg(dir)
.args(args)
.output()
.unwrap();
assert!(
o.status.success(),
"git {args:?}: {}",
String::from_utf8_lossy(&o.stderr)
);
String::from_utf8_lossy(&o.stdout).to_string()
}
/// A valid EAN-13 with the given 12 leading digits.
fn ean(d12: &str) -> String {
let sum: u32 = d12
.chars()
.enumerate()
.map(|(i, c)| c.to_digit(10).unwrap() * if i % 2 == 1 { 3 } else { 1 })
.sum();
format!("{d12}{}", (10 - sum % 10) % 10)
}
#[test]
fn station_measures_commits_and_re_measures() {
let tmp = std::env::temp_dir().join(format!("lampbench-station-{}", std::process::id()));
let _ = std::fs::remove_dir_all(&tmp);
let repo = tmp.join("comparison-data");
std::fs::create_dir_all(repo.join("lamps")).unwrap();
git(&repo, &["init", "-q"]);
git(&repo, &["config", "user.name", "Test"]);
git(&repo, &["config", "user.email", "test@example.com"]);
std::fs::write(repo.join("README.md"), "data\n").unwrap();
git(&repo, &["add", "."]);
git(&repo, &["commit", "-qm", "init"]);
// --interval 0.5 keeps the runs in different seconds, so the re-measure changes measured_at
let internal = ean("200123456789");
let answers = [
// lamp 1: no barcode
"",
"philips", // manufacturer -> canonical "Philips"
"Test A60", // model
"", // type: led
"y", // dimmable
"Warm White", // variant -> lower case
"", // notes
"806",
"2700",
"8.5",
"",
"",
"60", // rated: flux, CCT, W, Ra, lifetime, equivalent
"", // insert the lamp
// lamp 2: retailer-internal EAN (no online lookup)
&internal,
"",
"Shop bulb",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
// re-measure lamp 1, everything pre-filled
"L0001",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
// a bad barcode, then quit
"12345",
"q",
]
.join("\n")
+ "\n";
let mut child = Command::new(env!("CARGO_BIN_EXE_lampbench"))
.args([
"station",
"--simulate",
"--settle",
"0",
"--readings",
"2",
"--interval",
"0.5",
"--no-push",
"--no-labels",
"--no-lookup",
])
.arg("--data-repo")
.arg(&repo)
.arg("--cache")
.arg(tmp.join("ean-cache.json"))
.env_remove("HPCS_LABEL_PRINTER")
.stdin(Stdio::piped())
.stdout(Stdio::piped())
.stderr(Stdio::piped())
.spawn()
.unwrap();
child
.stdin
.take()
.unwrap()
.write_all(answers.as_bytes())
.unwrap();
let out = child.wait_with_output().unwrap();
let text = String::from_utf8_lossy(&out.stdout);
assert!(
out.status.success(),
"{text}\n{}",
String::from_utf8_lossy(&out.stderr)
);
assert!(text.contains("--- New lamp L0001 ---"), "{text}");
assert!(
text.contains("Using canonical brand name: Philips") || text.contains("Manufacturer"),
"{text}"
);
assert!(
text.contains("Lookup: ? / ? (retailer-internal barcode, not resolvable)"),
"{text}"
);
assert!(text.contains("Re-measuring L0001"), "{text}");
assert!(text.contains("Not a valid EAN-13/UPC-A: '12345'"), "{text}");
assert!(text.contains("PSU off"), "{text}");
assert!(text.trim_end().ends_with("Bye."), "{text}");
let m: serde_json::Value = serde_json::from_str(
&std::fs::read_to_string(repo.join("lamps/L0001/metrics.json")).unwrap(),
)
.unwrap();
assert_eq!(m["manufacturer"], "Philips");
assert_eq!(m["variant"], "warm white");
assert_eq!(m["dimmable"], true);
assert_eq!(m["type"], "led");
assert_eq!(
m["rated"],
serde_json::json!({"Phi_lm": 806, "CCT_K": 2700, "Power_W": 8.5, "W_equiv": 60})
);
assert_eq!(m["readings_averaged"], 2);
assert_eq!(m["supply"]["ac_voltage"], 230.0);
let m2: serde_json::Value = serde_json::from_str(
&std::fs::read_to_string(repo.join("lamps/L0002/metrics.json")).unwrap(),
)
.unwrap();
assert_eq!(m2["ean"], internal.as_str());
assert_eq!(m2["notes"], "retailer-internal barcode, brand unknown");
assert_eq!(
std::fs::read_to_string(repo.join("lamps/L0001/spd.csv"))
.unwrap()
.lines()
.count(),
351
);
assert_eq!(
std::fs::read_to_string(repo.join("lamps/L0001/tm30.csv"))
.unwrap()
.lines()
.count(),
17
);
let log = git(&repo, &["log", "--format=%s"]);
let subjects: Vec<&str> = log.lines().collect();
assert_eq!(
subjects[0], "Re-measure lamp L0001 (Philips, Test A60, warm white)",
"{log}"
);
assert_eq!(
subjects[1],
format!("Add lamp L0002 (Shop bulb, EAN {internal})"),
"{log}"
);
assert_eq!(
subjects[2], "Add lamp L0001 (Philips, Test A60, warm white)",
"{log}"
);
let _ = std::fs::remove_dir_all(&tmp);
}