emodpy_hiv.interventions.yearandsexdiag module#
- emodpy_hiv.interventions.yearandsexdiag.new_diagnostic(camp, Positive_Event, Negative_Event, TVMap, interpolation_order: int | None = None, intervention_name: str | None = None, disqualifying_properties: List[str] | None = None, new_property_value: str | None = None)[source]#
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, intervention_name: str | None = None, disqualifying_properties: List[str] | None = None, new_property_value: str | None = None)[source]#
Diagnostic as scheduled event.