Files
lamp-testbench/tests/golden/bundles/harmonics_single/metrics.json
T
grabowski 2a3f28001c 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.
2026-10-22 17:26:14 +07:00

85 lines
2.1 KiB
JSON

{
"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
}
}