stisim.interventions.hiv_interventions module#

Define HIV interventions for STIsim By default, these all have units of a year and timesteps of 1/12

class stisim.interventions.hiv_interventions.HIVDx(*args, **kwargs)[source]#

Bases: Product

administer(sim, uids)[source]#

Adminster a Product - implemented by derived classes

class stisim.interventions.hiv_interventions.HIVTest(product=None, pars=None, test_prob_data=None, years=None, start=None, eligibility=None, name=None, label=None, **kwargs)[source]#

Bases: STITest

Base class for HIV testing

step(uids=None)[source]#

Apply the testing intervention

class stisim.interventions.hiv_interventions.ART(pars=None, coverage_data=None, start_year=None, **kwargs)[source]#

Bases: Intervention

ART-treatment intervention by Robyn Stuart, Daniel Klein and Cliff Kerr, edited by Alina Muellenmeister

init_pre(sim)[source]#

Perform initialization steps

This method is called once, as part of initializing a Sim. Note: after initialization, initialized=False until init_vals() is called (which is after distributions are initialized).

step()[source]#

Apply the ART intervention at each time step. Put agents on and off ART and adjust based on data.

prioritize_art(sim, n=None, awaiting_art_uids=None)[source]#

Prioritize ART to n agents among those awaiting treatment

art_coverage_correction(sim, target_coverage=None)[source]#

Adjust ART coverage to match data

class stisim.interventions.hiv_interventions.VMMC(pars=None, coverage_data=None, eligibility=None, **kwargs)[source]#

Bases: Intervention

init_pre(sim)[source]#

Perform initialization steps

This method is called once, as part of initializing a Sim. Note: after initialization, initialized=False until init_vals() is called (which is after distributions are initialized).

init_results()[source]#

Initialize any results required; part of init_pre()

step()[source]#

Define how the module updates over time – the key part of Starsim!!

class stisim.interventions.hiv_interventions.Prep(pars=None, eligibility=None, **kwargs)[source]#

Bases: Intervention

Prep for FSW

step()[source]#

Define how the module updates over time – the key part of Starsim!!