get_version_pars#

class get_version_pars(version, verbose=True)[source]#

Function for loading parameters from the specified version.

Parameters will be loaded for Covasim ‘as at’ the requested version i.e. the most recent set of parameters that is <= the requested version. Available parameter values are stored in the regression folder. If parameters are available for versions 1.3, and 1.4, then this function will return the following

  • If parameters for version ‘1.3’ are requested, parameters will be returned from ‘1.3’

  • If parameters for version ‘1.3.5’ are requested, parameters will be returned from ‘1.3’, since Covasim at version 1.3.5 would have been using the parameters defined at version 1.3.

  • If parameters for version ‘1.4’ are requested, parameters will be returned from ‘1.4’

Parameters:

version (str) – the version to load parameters from

Returns:

Dictionary of parameters from that version