DiseaseProgression module

Python library to model the spread of infectious diseases within a microenvironment

class DiseaseProgression.DiseaseProgression(infection_status_label=None)

Bases: object

Disease status of person within the model

disease_states = ['susceptible', 'exposed', 'infected', 'recovered']
is_state(infection_status_label)

Tests disease state and return True if matches

set_state(infection_status_label)

Sets the disease state

static valid_state(infection_status_label)

Checks text and returns text if it is a valid disease state