care_seeking
care_seeking
Define care-seeking propensity module for STIsim.
Provides a cross-disease individual-level care-seeking propensity that can be used by testing interventions across HIV, syphilis, and other diseases.
Classes
| Name | Description |
|---|---|
| CareSeeking | Cross-disease care-seeking propensity for each individual. |
CareSeeking
care_seeking.CareSeeking(pars=None, **kwargs)Cross-disease care-seeking propensity for each individual.
Each agent gets a baseline propensity drawn from a distribution at birth. Men have lower propensity by default (controlled by rel_care_m2f). The propensity may be temporarily modified by factors like pregnancy.
Methods
| Name | Description |
|---|---|
| set_care_seeking_states | Set baseline care-seeking propensity for each agent. |
| step | Initialize propensity for newborns, then reset all propensities |
set_care_seeking_states
care_seeking.CareSeeking.set_care_seeking_states(upper_age=None)Set baseline care-seeking propensity for each agent. Called at init (upper_age=None for all agents) and each step (upper_age=dt to initialize newborns).
step
care_seeking.CareSeeking.step()Initialize propensity for newborns, then reset all propensities to baseline before applying temporary modifiers.