catalight.equipment.heating.watlow.convert_temp

catalight.equipment.heating.watlow.convert_temp(old_unit, new_unit, temp)

Converts temp in old_unit to temp in new_unit

Parameters:
  • old_unit (str) – Units to switch from (C, K, or F)

  • new_unit (str) – Units to switch to (C, K, or F)

  • temp (float or int) – Temperature in current units.

Returns:

Current temperature in new units.

Return type:

float