CampaignDelivery#
- class CampaignDelivery(*args, years=None, interpolate=None, prob=None, **kwargs)[source]#
Bases:
InterventionBase class for any intervention that uses campaign delivery; handles interpolation of input years.
Attributes
has_productCheck if the intervention has a product
nowShortcut to self.t.now()
statesReturn a flat list of all states
statesdictReturn a flat dictionary (objdict) of all states
tiGet the current module timestep
timevecShortcut to self.t.timevec
Methods