//paip/script/util/thermal_linear.py