EndemicPy, of just endemic
is a python package under development aiming to simulate a vast range of transmission dynamics on various host structure models.
endemic can either be installed or one can simply copy the endemic folder into the same folder as the python script that is using the package. If you decide to simply copy the folder, you can ignore the installation step below.
endemic has different versions that were (and are) developed for various projects.
You need to make sure that you use the correct version for the type of simulations you plan to do. Using the wrong version might result in errors or incoherent output.
To learn which version is the right one for you here is a list of the published projects and which version they used:
The only non-standard python package endemic uses in numpy, so please make sure that you have a recent numpy version installed.
To install the package you might want to setup a virtualenv which is not a requirement but a recommendation.
To install the package, simply open a console, cd
into the EndemicPy folder and type:
python setup.py install
If everything works fine, you can now simply import endemic as a package in your python scripts.
Check out the examples for more information on how EndemicPy is used in different projects.