Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/esraaj-sarkar-gupta/beta1
Code for Beta 1 - Stochastic SIS epidemiological model using randomwalks
https://github.com/esraaj-sarkar-gupta/beta1
Last synced: 21 days ago
JSON representation
Code for Beta 1 - Stochastic SIS epidemiological model using randomwalks
- Host: GitHub
- URL: https://github.com/esraaj-sarkar-gupta/beta1
- Owner: Esraaj-Sarkar-Gupta
- Created: 2024-12-11T14:17:57.000Z (25 days ago)
- Default Branch: main
- Last Pushed: 2024-12-11T14:32:57.000Z (25 days ago)
- Last Synced: 2024-12-11T15:29:12.377Z (25 days ago)
- Language: Python
- Homepage:
- Size: 12.8 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
The python code has been changed based on which variable was varied for Monte-Carlo simulation. Each directory has the code for each type of simulation.
The Logs directory contains logs for each instance of the simulation, and carried all the data from each simulation, such that figures can be generated once again by reading this data. I have no included the frames in this repo to save space. However, there are some example result figures in the Examples directory.
main_v3.py contains the most general code, and you may enter your own variables into the script and generate your own results from it. pull_data.py allows you to pull the data of infected/ uninfected particles from the log file if you should wish to generate the final graph from any of these resultant log files.
I ran many simulations with various different paramters, all the data of which totals to about 5.5 GB. I have no been able to include them here for obvious reasons and it is for this reason I suggest that you run a simulation yourself if you please. I have included a script to make videos out of the frames (plots) generated.