Warning! Zombiesim is for demonstration purposes only.
Zombiesim is an agent-based model implemented in the Starsim <https://starsim.org> framework. It implements a zombie simulation to demonstrate how to run a simulation, create and analyze scenarios, introduce interventions, and plot results.
An interactive version of this notebook is available on Binder:
Starsim 2.1.1
Python 3.9 or newer
We recommend, but do not require, installing Starsim in a virtual environment, such as MiniForge.
Starsim is most easily installed via PyPI: pip install starsim
.
Starsim can also be installed locally. To do this, clone first this repository, then run pip install -e .
(don't forget the dot at the end!).
The Zombiesim repository can be cloned from GitHub or run in a Codespace.
Please refer to the IPython Notebook, zombie.ipynb. Supporting functions are provided in zombie.py.
Starsim documentation, including tutorials and an API reference, is available at https://docs.starsim.org.
Questions or comments can be directed to info@starsim.org , or on this project’s GitHub page. Full information about Starsim is provided in the documentation.
The code in this repository was developed at the Institute for Disease Modeling (IDM), part of the Gates Foundation, to support demonstrate functionality of the Starsim agent-based modeling framework. We've made it publicly available under the MIT License to provide others with a better understanding of our research and an opportunity to build upon it for their own work. We make no representations that the code works as intended or that we will provide support, address issues that are found, or accept pull requests. You are welcome to create your own fork and modify the code to suit your own modeling needs as permitted under the MIT License.