Vx#

class Vx(diseases=None, pars=None, *args, **kwargs)[source]#

Bases: Product

Vaccine product

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(people, uids)[source]#

Apply the vaccine to the requested uids.