emodpy_hiv.interventions.outbreak module¶
-
emodpy_hiv.interventions.outbreak.
new_intervention
(timestep, camp, coverage=0.01)¶ Seed HIV infection at a certain timestep, with a certain prevalence.
- Parameters
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.
- Returns
event as dict
- Return type
event
-
emodpy_hiv.interventions.outbreak.
seed_infections
(camp, start_day=365, coverage=0.075, target_properties='Risk:HIGH', target_min_age=0, target_max_age=125, target_gender='All')¶ Create outbreak event with more targeting than ‘new_intervention’.