emodpy_typhoid.utility.sweeping module

emodpy_typhoid.utility.sweeping.set_param(simulation: Simulation, param: str, value: Any) Dict[str, Any][source]

Set specific parameter value. :param simulation: idmtools Simulation :param param: parameter :param value: new value

Returns:

dict

emodpy_typhoid.utility.sweeping.sweep_functions(simulation: Simulation, func_list: List) Dict[str, Any][source]

Apply funcs on simulation. :param simulation: idmtools Simulation :param func_list: a list of functions

Returns:

dict of parameters

class emodpy_typhoid.utility.sweeping.ItvFn(func, *args, **kwargs)[source]

Bases: object

Sweeping utility: works for sweeping on interventions. Requirements: - func is a method that takes campaign as first parameter - func return a dict

Returns:

dict

class emodpy_typhoid.utility.sweeping.CfgFn(func, *args, **kwargs)[source]

Bases: object

Sweeping utility: works for sweeping on config parameters. Requirements: - func is a method that takes config as first parameter - func return a dict

Returns:

dict

class emodpy_typhoid.utility.sweeping.SwpFn(func, *args, **kwargs)[source]

Bases: object

Sweeping utility: works for sweeping on report, demographics, migrations and climate, etc. Requirements: - func is a method that takes task as first parameter - func return a dict

Returns:

dict