Vx#

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

Bases: Product

Vaccine product

Attributes

now

Shortcut to self.t.now()

states

Return a flat list of all states

statesdict

Return a flat dictionary (objdict) of all states

ti

Get the current module timestep

timevec

Shortcut to self.t.timevec

Methods

administer(people, uids)[source]#

Apply the vaccine to the requested uids.