bourque / lasp_exercise

1 stars 0 forks source link

Improve the way temperature corrections are done #2

Open bourque opened 2 years ago

bourque commented 2 years ago

Currently the code applies the temperature correction (count_rate_corr = count_rate * (1.0 + detectorTemperatureCorr * (20.0 - detectorTemp))) by finding the detectorTemp that is closest in time to the count measurement. This temperature may not be very accurate or reflective of the true detector temperature at the time of measurement. Perhaps a better way is to fit an equation to the temperature profile and interpolate the detectorTemp.