pandemia.components.health_model.safir_health_model
Safir health model
Module Contents
Classes
A version of the Safir health model. |
Attributes
- pandemia.components.health_model.safir_health_model.log
- class pandemia.components.health_model.safir_health_model.SafirHealthModel(config, scale_factor, clock)
Bases:
pandemia.components.health_model.HealthModelA version of the Safir health model.
To see the Safir3 model, follow the link: https://github.com/mrc-ide/safir3.
Parameters:
- configConfig
A Pandemia Config object. A sub-config of the full config, containing the data used to configure this component.
- clockClock
A Pandemia Clock object, discretizing the day.
- scale_factorfloat
The scale factor, coming from the full config.
- vectorize_component(vector_region)
Initializes vector region numpy arrays related to this component
- initial_conditions(vector_region)
Updates health functions
- update(vector_region, t)
Updates health functions
- dynamics(vector_region, t)
Changes to agent health