Tx#

class Tx(df, *args, **kwargs)[source]#

Bases: Product

Treatment products change fundamental properties about People, including their prognoses and infectiousness.

Attributes

now

Return the current time, i.e. the time vector at the current timestep.

states

Return a flat list of all states

statesdict

Return a flat dictionary (objdict) of all states

Methods

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

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