Context
Part of the temperature calibration harmonization (#103).
The WSEN-PADS has an internal temperature sensor used for pressure compensation. A two-point software calibration mechanism is needed for per-board fine-tuning, consistent with the harmonized interface defined in #103.
TODO
Related
Context
Part of the temperature calibration harmonization (#103).
The WSEN-PADS has an internal temperature sensor used for pressure compensation. A two-point software calibration mechanism is needed for per-board fine-tuning, consistent with the harmonized interface defined in #103.
TODO
self._temp_gain = 1.0andself._temp_offset = 0.0in__init__set_temp_offset(self, offset_c)method (simple offset, gain=1.0)calibrate_temperature(self, ref_low, measured_low, ref_high, measured_high)methodtemperature():return self._temp_gain * raw_value + self._temp_offsetRelated