emodpy_hiv.interventions.yearandsexdiag module¶
- emodpy_hiv.interventions.yearandsexdiag.new_diagnostic(camp, Positive_Event, Negative_Event, TVMap)¶
Wrapper function to create and return a HIVPiecewiseByYearAndSexDiagnostic intervention.
- Parameters
camp – emod_api.campaign object with schema_path set.
- Returns
Schema-based smart dictionary representing a new
- Return type
ReadOnlyDict
- emodpy_hiv.interventions.yearandsexdiag.new_intervention_event(camp, pos_event, neg_event, tvmap, start_day=1, coverage=1.0, node_ids=None)¶
Diagnostic as scheduled event.
- emodpy_hiv.interventions.yearandsexdiag.new_intervention_as_file(camp, start_day, tvmap, filename=None)¶