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

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