CampaignDelivery#

class CampaignDelivery(*args, years=None, interpolate=None, prob=None, **kwargs)[source]#

Bases: Intervention

Base class for any intervention that uses campaign delivery; handles interpolation of input years.

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