make_pars#
- class make_pars(set_prognoses=False, prog_by_age=True, version=None, **kwargs)[source]#
Create the parameters for the simulation. Typically, this function is used internally rather than called by the user; e.g. typical use would be to do sim = cv.Sim() and then inspect sim.pars, rather than calling this function directly.
- Parameters:
set_prognoses (bool) – whether or not to create prognoses (else, added when the population is created)
prog_by_age (bool) – whether or not to use age-based severity, mortality etc.
kwargs (dict) – any additional kwargs are interpreted as parameter names
version (str) – if supplied, use parameters from this Covasim version
- Returns:
the parameters of the simulation
- Return type:
pars (dict)