Expand description
Calibration formulas stored with archived channel data.
Calibrations come from the calibrations map in the dashboard sensor settings.
The archiver writes the channel’s CalibrationSpec as JSON into each Parquet
file’s key-value metadata under the key calibration. The exporter reads that
metadata back and applies the formula while generating CSV rows, so an export
uses the calibration that was in force when the file was written.
The JSON shape is the formula’s fields plus an optional id and an optional
unit, tagged by type:
{"type":"identity"}
{"type":"linear","a":70.1,"b":-8.1,"unit":"kPa"}
{"id":"tp3505","type":"linear","a":2.0,"b":-1.0}
{"type":"polynomial","coeffs":[0.1,2.0,0.03],"unit":"µε"}Structs§
- Calibration
Spec - Calibration definition for one channel.
Enums§
- Calibration
Formula - Formula used to convert a raw LabJack reading into a calibrated value.