InverseThermocoupleSensor#

class InverseThermocoupleSensor(
type: TC_TYPE,
cjc_temp: float,
)[source]#

Bases: Scaler

Temperature (°C) → voltage with cold-junction compensation — inverse of ThermocoupleSensor.

>>> InverseThermocoupleSensor(TC_TYPE.K, cjc_temp=25.0)  # Type K, 25 °C reference junction

Initialize the inverse thermocouple sensor.

Parameters:
  • type – Thermocouple type (B/E/J/K/N/R/S/T).

  • cjc_temp – Cold-junction reference temperature in °C.

Attributes

units

Physical units of the scaled output (e.g. "V", "degC", "psi").

Methods

scale

Temperature (°C) → voltage with cold-junction compensation.