File: README.md

package info (click to toggle)
python-epimodels 0.4.0-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 268 kB
  • sloc: python: 821; makefile: 24; sh: 14
file content (25 lines) | stat: -rw-r--r-- 404 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25

# Epimodels



This library a simple interface to simulate mathematical epidemic models.
 


## Getting started


Simple SIR simulation

```python
from epimodels.continuous.models import SIR
model = SIR()
model([1000, 1, 0], [0, 50], 1001, {'beta': 2, 'gamma': .1})
model.plot_traces()
```


### Related libraries

For stochastic epidemic models check [this](https://github.com/fccoelho/EpiStochModels).