RoutineDelivery#

class RoutineDelivery(*args, years=None, start_year=None, end_year=None, prob=None, annual_prob=True, **kwargs)[source]#

Bases: Intervention

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

Attributes

has_product

Check if the intervention has a product

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