emod_api.interventions.utils module

emod_api.interventions.utils.do_nodes(schema_path, node_ids)

Create and return a NodeSetConfig based on node_ids list.

emod_api.interventions.utils.get_waning_from_params(schema_path, initial=1.0, box_duration=365, decay_rate=0)

Get well configured waning structure. Default is 1-year full efficacy box. Note that an infinite decay rate (0 or even -1) is same as Box. Note that an infinite box duration (-1) is same as constant. Note that a zero box duration is same as Exponential.