Files
HPCS6500/tests/golden/format_r02_spectrum.txt
T
grabowski 54242da04b Rewrite the driver in Rust; move the testbench tools out
The repository is now only the HPCS 6500 driver: a Rust library (serial
transport, every protocol command, block parsing, USBPcap captures, a
simulated instrument) and the hpcs6500 CLI with the flags of the former
hpcs6500.py, plus dump/capture for reverse engineering.

The lamp station, lamp export, TM-30, label printer and LED calibration
move to B4L/lamp-testbench. Golden tests pin the Rust output to the Python
driver's: parsed values bit-exact, report text, CSV and number formatting.
The Python driver is at tag python-final.
2026-10-22 17:01:47 +07:00

218 lines
5.1 KiB
Plaintext

Device: HPCS6500
Date: 2026-02-04 Time: 16:29:39
--- Photometric ---
Phi (lm): 479.59
eta (lm/W): 57.04
CCT (K): 5661
Duv: 0.00550
--- Chromaticity ---
x: 0.3287 y: 0.3486
u: 0.2015 v: 0.3205
u': 0.2015 v': 0.4808
--- CRI ---
Ra: 83.0 SDCM: 4.66
R1=82, R2=94, R3=93, R4=77, R5=82, R6=90, R7=83, R8=64
R9=5, R10=84, R11=76, R12=60, R13=86, R14=97, R15=76
--- CIE 1931 ---
X: 662.004 Y: 702.182 Z: 649.858
TLCI-2012: 68
--- Radiometric ---
Phi_e (mW): 1492.026
Phi_eb (mW): 470.266
Phi_ey (mW): 679.672
Phi_er (mW): 330.604
Phi_efr (mW): 11.206
--- Electrical ---
Voltage (V): 230.29
Current (A): 0.0653
Power (W): 8.405
Frequency (Hz): 50.02
Power Factor: 0.5586
UThd (%): 0.8113
AThd (%): 109.0115
--- Voltage Harmonics (%) ---
H 1: 100.0000
H 2: 0.3370
H 3: 0.4587
H 4: 0.1953
H 5: 0.1626
H 6: 0.1061
H 7: 0.1800
H 8: 0.0513
H 9: 0.2902
H10: 0.0447
H11: 0.2477
H12: 0.0023
H13: 0.1861
H14: 0.0063
H15: 0.1183
H16: 0.0155
H17: 0.1239
H18: 0.0149
H19: 0.0590
H20: 0.0080
H21: 0.0465
H23: 0.0217
H24: 0.0079
H25: 0.0185
H26: 0.0076
H27: 0.0265
H28: 0.0027
H29: 0.0136
H30: 0.0066
H31: 0.0275
H32: 0.0042
H33: 0.0146
H34: 0.0129
H35: 0.0164
H36: 0.0080
H37: 0.0128
H38: 0.0066
H39: 0.0194
H40: 0.0092
H41: 0.0086
H42: 0.0019
H43: 0.0170
H44: 0.0057
H45: 0.0138
H46: 0.0013
H47: 0.0083
H48: 0.0043
H49: 0.0266
H50: 0.0067
--- Current Harmonics (%) ---
H 1: 100.0000
H 2: 1.1245
H 3: 77.3376
H 4: 1.3714
H 5: 54.7943
H 6: 1.2291
H 7: 35.3840
H 8: 1.1566
H 9: 25.6305
H10: 1.3803
H11: 20.6588
H12: 1.3435
H13: 14.4722
H14: 0.8883
H15: 8.2279
H16: 0.4150
H17: 5.8570
H18: 0.4188
H19: 5.5059
H20: 0.6645
H21: 5.3454
H22: 0.5912
H23: 5.7325
H24: 0.5132
H25: 5.0631
H26: 0.5359
H27: 4.0568
H28: 0.6665
H29: 3.8878
H30: 0.6506
H31: 3.9866
H32: 0.6108
H33: 3.3681
H34: 0.5727
H35: 2.7296
H36: 0.6597
H37: 2.9302
H38: 0.6761
H39: 2.9201
H40: 0.5632
H41: 2.7267
H42: 0.5785
H43: 2.7861
H44: 0.6036
H45: 2.7887
H46: 0.6251
H47: 2.5635
H48: 0.5767
H49: 2.3997
H50: 0.5808
--- Sensor ---
Peak Signal: 53165
Dark Signal: 2310
Compensate: 2834
--- Spectrum (380-1050nm) ---
380.0nm: 0.0001 []
389.6nm: 0.0770 []
399.2nm: 0.3100 []
408.8nm: 0.7661 [##]
418.4nm: 1.6114 [####]
428.0nm: 3.0064 [########]
437.6nm: 5.1990 [###############]
447.2nm: 8.6082 [########################]
456.8nm: 12.6327 [####################################]
466.4nm: 13.6560 [#######################################]
476.0nm: 10.8536 [###############################]
485.6nm: 8.3290 [########################]
495.2nm: 6.7889 [###################]
504.8nm: 5.5147 [###############]
514.4nm: 4.7041 [#############]
524.0nm: 4.4857 [############]
533.6nm: 4.6031 [#############]
543.2nm: 4.8814 [##############]
552.8nm: 5.2789 [###############]
562.4nm: 5.6901 [################]
572.0nm: 6.0276 [#################]
581.6nm: 6.2592 [##################]
591.2nm: 6.4122 [##################]
600.8nm: 6.5277 [##################]
610.4nm: 6.6358 [###################]
620.0nm: 6.7792 [###################]
629.6nm: 6.9254 [###################]
639.2nm: 7.0578 [####################]
648.8nm: 7.1569 [####################]
658.4nm: 7.2319 [####################]
668.0nm: 7.2977 [#####################]
677.6nm: 7.3732 [#####################]
687.2nm: 7.4891 [#####################]
696.8nm: 7.5217 [#####################]
706.4nm: 7.4749 [#####################]
716.0nm: 7.3825 [#####################]
725.6nm: 7.2120 [####################]
735.2nm: 7.0133 [####################]
744.8nm: 6.7207 [###################]
754.4nm: 6.3674 [##################]
764.0nm: 5.9602 [#################]
773.6nm: 5.5667 [################]
783.2nm: 5.1329 [##############]
792.8nm: 4.7013 [#############]
802.3nm: 4.2745 [############]
811.9nm: 3.8716 [###########]
821.5nm: 3.4390 [#########]
831.1nm: 3.0240 [########]
840.7nm: 2.6514 [#######]
850.3nm: 2.2870 [######]
859.9nm: 1.9779 [#####]
869.5nm: 1.7045 [####]
879.1nm: 1.4498 [####]
888.7nm: 1.2401 [###]
898.3nm: 1.0367 [##]
907.9nm: 0.8554 [##]
917.5nm: 0.7071 [##]
927.1nm: 0.5781 [#]
936.7nm: 0.4678 [#]
946.3nm: 0.3798 [#]
955.9nm: 0.3085 []
965.5nm: 0.2315 []
975.1nm: 0.1769 []
984.7nm: 0.1405 []
994.3nm: 0.1102 []
1003.9nm: 0.0810 []
1013.5nm: 0.0582 []
1023.1nm: 0.0389 []
1032.7nm: 0.0225 []
1042.3nm: 0.0079 []