[docs]
MODEL_NAMES = {
'easy_linear': '"Easy linear" method',
'logistic': 'Logistic model',
'baranyi_roberts': 'Baranyi-Roberts model',
}
"The human-readable names of the supported models/methods"
[docs]
SHORT_MODEL_NAMES = {
'easy_linear': 'EL',
'logistic': 'Log.',
'baranyi_roberts': 'B.-R.',
}
"Shortened model names to show in charts"
[docs]
MODEL_DESCRIPTIONS = {
'easy_linear': 'A phenomenological method that estimates growth rate based on a regression line between observed points.',
'logistic': 'A model that describes exponential growth limited by a carrying capacity.',
'baranyi_roberts': 'A mechanistic model that aims to quantify the lag phase.',
}
"One-sentence descriptions of the supported models/methods"
[docs]
COMMON_COEFFICIENTS = {
"mumax": {
"name_html": "μ<sub>max</sub>",
"description_html": "Maximum growth rate (in h<sup>-1</sup>)"
},
"lag": {
"name_html": "lag",
"description_html": "Time duration of the lag phase (in hours)"
},
"y0": {
"name_html": "y<sub>0</sub>",
"description_html": "Initial value of abundance"
},
"K": {
"name_html": "K",
"description_html": "Carrying capacity (maximum abundance)"
},
}
"Names and descriptions for common model parameters (growth rate, lag time, etc)"
[docs]
ALL_COEFFICIENTS = {
**COMMON_COEFFICIENTS,
"y0_lm": {
"name_html": "y<sub>0</sub>_lm",
"description_html": "y<sub>0</sub> calculated as the intersection of the fit with the abscissa, the initial abundance if there was no lag"
},
"h0": {
"name_html": "h<sub>0</sub>",
"description_html": "parameter specifying the initial physiological state of organisms (e.g. cells) and in consequence the lag phase (h<sub>0</sub> = max growth rate × lag phase)"
},
}
"Names and descriptions for all model parameters used by models we know of"
[docs]
FIT_PARAMETERS = {
'r2': {
'name_html': 'R<sup>2</sup>',
'description_html': 'Coefficient of determination',
},
'rss': {
'name_html': 'RSS',
'description_html': 'Residual sum of squares',
},
}