emodpy_tbhiv.interventions.drugs module

emodpy_tbhiv.interventions.drugs.add_tb_drug_type(config, drug_name, duration, cure_proportion, death_proportion, resistance_proportion, inactivation_proportion, relapse_proportion, reduced_transmit=1, reduced_acquire=1, cure_proportion_hiv=None, death_proportion_hiv=None, resistance_proportion_hiv=None, relapse_proportion_hiv=None, inactivation_proportion_hiv=None, mdr_cure_proportion=None, mdr_death_proportion=None, mdr_inactivation_proportion=None, mdr_relapse_proportion=None)

Add a drug definition to the simulation. This does not deliver the drug to anyone, and also doesn’t mean we’re going to use it. It’s like putting it in the reference section.

emodpy_tbhiv.interventions.drugs.add_tb_drug(config, drug_name)

Tell the simulation which drugs we’re going to use. Optionally override parameters in the process.