emodpy_hiv.interventions.outbreak module

emodpy_hiv.interventions.outbreak.new_intervention(timestep, camp, coverage=0.01)[source]

Seed HIV infection at a certain timestep, with a certain prevalence.

  • timestep (float) – When? Timestep at which outbreak should occur.

  • camp – emod_api.campaign object that has schema_path.

  • coverage – How Much? The intended level of initial prevalance.


event as dict

Return type:


emodpy_hiv.interventions.outbreak.seed_infections(camp, start_day=365, coverage=0.075, target_properties=None, target_min_age=0, target_max_age=125, target_gender='All')[source]

Create outbreak event with more targeting than ‘new_intervention’.