Record sensor temp alongside raw, apply different noise compensation depending on temp in post. A Peltier can help build the profiles - by heating and cooling to a range of temperatures as needed.