========= MetaWards ========= .. image:: https://github.com/metawards/MetaWards/workflows/Build/badge.svg :target: https://github.com/metawards/MetaWards/actions?query=workflow%3ABuild :alt: Build Status .. image:: https://camo.githubusercontent.com/8c2f819cc55ec237a4a942f0515750329d1e1e64/68747470733a2f2f62616467652e667572792e696f2f70792f6d65746177617264732e737667 :target: https://pypi.python.org/pypi/metawards :alt: PyPi Package .. image:: https://img.shields.io/badge/License-GPLv3-blue.svg :target: https://www.gnu.org/licenses/gpl-3.0.html :alt: License This is a Python port of the `MetaWards `__ package originally written by Leon Danon. This port has been performed with Leon's support by the `Bristol Research Software Engineering Group `__. Scientific Background ===================== MetaWards implements a national-scale stochastic metapopulation model of disease transmission in Great Britain. The complete model description and the original C code are described here; * *"The role of routine versus random movements on the spread of disease in Great Britain"*, Leon Danon, Thomas House, Matt J. Keeling, Epidemics, December 2009, 1 (4), 250-258; DOI: `10.1016/j.epidem.2009.11.002 `__ * *"Individual identity and movement networks for disease metapopulations"*, Matt J. Keeling, Leon Danon, Matthew C. Vernon, Thomas A. House Proceedings of the National Academy of Sciences, May 2010, 107 (19) 8866-8870; DOI: `10.1073/pnas.1000416107 `__ In this model, the population is divided into electoral wards. Disease transmission between wards occurs via the daily movement of individuals. For each ward, individuals contribute to the *force of infection* (FOI) in their *home* ward during the night, and their *work* ward during the day. This model was recently adapted to model CoVID-19 transmission in England and Wales, with result of the original C code published (pre-print) here; * *"A spatial model of CoVID-19 transmission in England and Wales: early spread and peak timing"*, Leon Danon, Ellen Brooks-Pollock, Mick Bailey, Matt J Keeling, medRxiv 2020.02.12.20022566; DOI: `10.1101/2020.02.12.20022566 `__ This Python code is a port which can identically reproduce the outputs from the original C code as used in that work. This Python code has been optimised and parallelised, with additional testing added to ensure that future development and scale-up of MetaWards can be robustly and efficiently conducted. Installation ============ .. toctree:: :maxdepth: 2 install Model Data ========== .. toctree:: :maxdepth: 2 model_data Tutorial ======== .. toctree:: :maxdepth: 2 tutorial/tutorial Usage ===== .. toctree:: :maxdepth: 2 usage cluster_usage Documentation ============= .. toctree:: :maxdepth: 2 api/index Development =========== .. toctree:: :maxdepth: 2 development Changelog ========= .. toctree:: :maxdepth: 2 changelog Indices and tables ================== * :ref:`genindex` * :ref:`modindex`