bucky.model.parameters
Submodule to handle the model parameterization and randomization
buckyParams
Class holding all the model parameters defined in the par file, also used to reroll them for each MC run
CI_to_std(CI)
CI_to_std
Convert a 95% confidence interval to an equivilent stddev (assuming its normal)
calc_Reff(m, n, Tg, Te, r)
calc_Reff
Calculate the effective reproductive number
calc_Te(Tg, Ts, n, f)
calc_Te
Calculate the latent period
calc_Ti(Te, Tg, n)
calc_Ti
Calcuate the infectious period
calc_beta(Te)
calc_beta
Derive beta from Te
calc_gamma(Ti)
calc_gamma
Derive gamma from Ti
recursive_dict_update(d, u)
recursive_dict_update
bucky.model.parameters.
age_interp
Interpolate parameters define in age groups to a new set of age groups
calc_derived_params
Add the derived params that are calculated from the rerolled ones
generate_params
Generate a new set of params by rerolling, adding the derived params and rejecting invalid sets
preprocess_param_dict
read_yml
Read in the YAML par file
reroll_params
Reroll the parameters defined in the par file
rescale_doubling_rate
Rescale parameters to match the input doubling times
update_params
bucky.model.npi
bucky.model.state