DiseaseProcess#

class DiseaseProcess(model, verbose=False, params=None)[source]#

Bases: BaseComponent

This component provides disease progression (E->I->R) It is used to update the infectious timers and the exposed timers.

Initialize the component.

Parameters:
  • model – The model instance this component belongs to.

  • verbose (bool) – Whether to enable verbose output. Defaults to False.

__call__(model, tick)[source]#

Call self as a function.

Return type:

None