- Introduction
- Requirements
- Run
To understand the nature of today's pendamic, we created this simulator entirely using numpy and matplotlib in python.
following are the files in the project:
-
motion.py: file that contains all function related to population mobility and related computations
-
population.py: this file contains functions that help initialize the population parameters for the simulation
-
visualizer.py: contains all methods for visualisation tasks
-
config.py: file that contains all configuration related methods and classes
-
infection.py: this file contains all functions required in computing new infections, recoveries, and deaths
-
simulation.py: this is the main file which combines all the above files and run the simulation
It requires numpy and matplotlib libraries in python3
To run the simulation, make sure to keep all files in same directory and then build and run simulation.py file in python.
