RUFAS.biophysical.animal.animal_health.disease module#
- class RUFAS.biophysical.animal.animal_health.disease.Disease#
Bases:
ABC
Class representing disease simulation.
- __init__() None #
- abstractmethod assess_disease_risk(time: RufasTime, animal_health_status: AnimalHealthStatus) bool #
Base function for disease risk determination.
Parameters#
- timeRufasTime
The point in time in the simulation.
- animal_health_statusAnimalHealthStatus
The health status of the animal.
- abstractmethod calculate_incidence_rate() float #
- abstractmethod will_develop_disease(incidence_rate: float) bool #
Takes in incidence rate and compares it to RNG to deterine if animal will develop disease.
Parameters#
- incidence_ratefloat
The incidence rate of the disease.
Returns#
- bool
Whether the animal will develop the disease.
- abstractmethod determine_at_risk_period(animal_health_status: AnimalHealthStatus) int #
Probability mass function to get the risk period.
- abstractmethod immediate_effect() None #
- abstractmethod intermediate_effect() None #
- abstractmethod lasting_effect() None #
- _abc_impl = <_abc._abc_data object>#