class tx(df, clearance=0.8, genotype_pars=None, imm_init=None, imm_boost=None)[source]#

Bases: Product

Treatment products include anything used to treat cancer or precancer, as well as therapeutic vaccination. They change fundamental properties about People, including their prognoses and infectiousness.


get_people_in_state(state, g, sim)[source]#

Find people within a given state/genotype. Returns indices

administer(sim, inds, return_format='dict')[source]#

Loop over treatment states to determine those who are successfully treated and clear infection