edges_cal.receiver_calibration_func.temperature_thermistor

edges_cal.receiver_calibration_func.temperature_thermistor(resistance: float | ndarray, coeffs: str | Sequence = 'oven_industries_TR136_170', kelvin: bool = True)[source]

Convert resistance of a thermistor to temperature.

Uses a pre-defined set of standard coefficients.

Parameters:
  • resistance (float or array_like) – The measured resistance (Ohms).

  • coeffs (str or len-3 iterable of floats, optional) – If str, should be an identifier of a standard set of coefficients, otherwise, should specify the coefficients.

  • kelvin (bool, optional) – Whether to return the temperature in K or C.

Returns:

float or array_like – The temperature for each resistance given.