pyPhenology.models.ThermalTime¶
-
class
pyPhenology.models.ThermalTime(parameters={})[source]¶ Thermal Time Model
The classic growing degree day model using a fixed threshold above which forcing accumulates. Event happens on \(DOY\) when the following is met:
\[\sum_{t=t_{1}}^{DOY}R_{f}(T_{i})\geq F^{*}\]- t1 : int
- \(t_{1}\) - The DOY which forcing accumulating beings
- T : int
- \(T\) - The threshold above which forcing accumulates
- F : int, > 0
- \(F^{*}\) - The total forcing units required
Methods
__init__([parameters])fit(observations, temperature[, method, …])Estimate the parameters of a model. get_doy_fitting_estimates(**params)get_error(**kargs)get_initial_bounds()get_params()predict([to_predict, temperature, doy_series])Predict the DOY given temperature data and associated site/year info All model parameters must be set either in the initial model call or by running fit(). save_params(filename)Save the parameters for a model score([metric])