Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update README.md #241

Merged
merged 1 commit into from
Oct 5, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions python_examples/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,3 +65,7 @@ The Jupyter Notebook rural_v_urban.ipynb shows the analysis we have done on thes
## New Zealand Example

The `NZ_flow.py` script runs a simulation of the spread of coronavirus across New Zealand - a country chosen for its rapid implementation of strict intervention strategies to successfully control the spread of COVID-19 in the early stages of the pandemic. The parameter values for non-pharmaceutical interventions (`NewZealand_parameters.json`) are based on instructions from the New Zealand government as far as possible, based on the timeline of Alert Level changes, which documents the dates of key events and the duration of the State of National Emergency ([New Zealand Covid-19 Instructions](https://covid19.govt.nz/about-our-covid-19-response/history-of-the-covid-19-alert-system/)). Besides, one new infected case is introduced by international travel every day, and 25\% of these arrivals stay in an existing household, with the remaining staying in a hotel.

## Sim Speeds Example

In this folder we show the improvements in the speed of pyEpiabm between version 1.0.1 and 1.1.1. These improvements were acheived by profiling and optimising the code. The Jupyter Notebook `sim_speeds.ipynb` reads in the csv files `old_intervention_basic_speeds.csv` and `old_intervention_spatial_speeds.csv` run on version 1.0.1 of pyEpiabm using the python scripts `sim_runner.py` and `sim_runner_spatial.py`. These outputs are compared to the speed of the code for version 1.1.1 in `sim_speeds.ipynb` showing the vast increase in the speed of the code and therefore its efficiency
Loading