emodpy_hiv.interventions.sigmoiddiag module#
- emodpy_hiv.interventions.sigmoiddiag.new_diagnostic(camp, Positive_Event, Negative_Event, ramp_min, ramp_max, ramp_midyear, ramp_rate, female_multiplier: float = 1.0, 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 HIVSigmoidByYearAndSexDiagnostic 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.sigmoiddiag.new_intervention_event(camp, pos_event, neg_event, ramp_min=0, ramp_max=1, ramp_midyear=2000, ramp_rate=1, 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.