stisim.diseases.bv module#

BV module

class stisim.diseases.bv.BV(pars=None, name='bv', **kwargs)[source]#

Bases: Disease

property treatable#

Responds to treatment

init_results()[source]#

Initialize results

bv_sus()[source]#
set_hygiene_states(upper_age=None)[source]#

Set vaginal hygiene states

init_post()[source]#

Initialize with sim properties

spontaneous(uids)[source]#

Create new cases via spontaneous occurrence

infect()[source]#
step()[source]#

Handle the main disease updates, e.g. add new cases

This method is agnostic as to the mechanism by which new cases occur. This could be through transmission (parametrized in different ways, which may or may not use the contact networks) or it may be based on risk factors/seeding, as may be the case for non-communicable diseases.

It is expected that this method will internally call Disease.set_prognoses() at some point.

clear_infection(uids)[source]#
step_state()[source]#

Updates for this timestep

wipe_dates(uids)[source]#

Clear all previous dates

set_infection(uids)[source]#
set_symptoms(uids)[source]#
set_care_seeking(symp)[source]#
set_duration(symp, asymp)[source]#

Set duration of infection

set_prognoses(uids, source_uids=None)[source]#

Set initial prognoses for adults newly infected

update_results()[source]#

Update results

This function is executed after transmission in all modules has been resolved. This allows result updates at this point to capture outcomes dependent on multiple modules, where relevant.