emodpy_measles.interventions.targeted_outbreak module

emodpy_measles.interventions.targeted_outbreak.seed(camp, timestep, coverage=0.01, node_ids=None)[source]

Seed an outbreak at a particular time, in selected nodes, based on coverage. This infects existing individuals.

Parameters:
  • camp – emod_api.campaign ‘module object’. Provides centralized source of schema.

  • timestep – time(step) at which outbreak should be seeded.

  • coverage – Percentage of individuals to be infected.

  • node_ids – Nodes to target with outbreak. Leave empty to hit all nodes.

Returns:

Configured campaign event ready to be added to campaign.