rTPC icon indicating copy to clipboard operation
rTPC copied to clipboard

Confusion over get_eh in TPCs

Open HaleyAddison opened this issue 1 year ago • 1 comments

Hi Daniel,

I have been using your rTPC package and I am at the point that I have a model and I am aiming to estimate parameters.

My plot is showing that species B clearly has a higher Eh, and when I view my nls linear models, this is reflected. However, when I use either calc_params or get_eh, the eh estimates are dramatically different and B is no longer higher than other species. Can you explain why this is? would it be accurate to just show the eh values reflected when viewing my models??

Thank you

HaleyAddison avatar Sep 27 '24 20:09 HaleyAddison

Hi Haley

Was the model you were using explicitly modelling the deactivation energy (eh). If so then that is going to be a much better estimate than that from get_eh().

get_eh() estimates the deactivation energy by subsetting all the raw data for points beyond the optimum, and then fitting a Boltzmann equation to it. This means sometimes there may be only 1 or 2 points beyond the optimum, which would likely result in a poor fit.

If you want values for the deactivation energy, I would generally recommend fitting a model that estimates it explicitly.

padpadpadpad avatar Sep 30 '24 08:09 padpadpadpad