stisim.diseases.gud module#
- Placeholder modules for non-specific STIs, including:
Genital ulcer disease
Vaginal discharge
- class stisim.diseases.gud.Placeholder(pars=None, name=None, **kwargs)[source]#
Bases:
Disease
- init_pre(sim)[source]#
Link the disease to the sim, create objects, and initialize results; see Module.init_pre() for details
- set_prognoses(target_uids, source_uids=None)[source]#
Set prognoses upon infection/acquisition
This function assigns state values upon infection or acquisition of the disease. It would normally be called somewhere towards the end of Disease.make_new_cases(). Infections will optionally be added to the log as part of this operation if logging is enabled (in the Disease parameters)
The sources are relevant for infectious diseases, but would be left as None for NCDs.
- Args:
sim (Sim): the STarsim simulation object uids (array): UIDs for agents to assign disease progoses to from_uids (array): Optionally specify the infecting agent
- class stisim.diseases.gud.GUDPlaceholder(pars=None, name='gud', **kwargs)[source]#
Bases:
Placeholder
- class stisim.diseases.gud.VDPlaceholder(pars=None, name='vd', **kwargs)[source]#
Bases:
Placeholder