epistochmodels 0.3.4
CTMC epidemic models in D
To use this package, run the following command in your project's root directory:
Manual usage
Put the following dependency into your project's dependences section:
EpiStochModels
Continuous time stochastic epidemic models implemented in D. Python wrapper has been removed because PyD is no longer maintained.
So now models must be written in D
like exemplified in app.d
and on CTMC_example.d
.
D models writen followind the second example above, can be run like this:
dub run --build=release --single my_model.d
Check the documentation for detailed instructions on how to install and use. You can also have a look at the example notebooks here.
Development
In order to work on EpiStochModels
you need to have DMD or LDC dlang compilers installed. The you can activate the dlang environment in your shell:
source ~/dlang/ldc-1.27.1/activate.fish
the line above, is for fish shell, if you use bash, do this (to use the DMD compiler)
source ~/dlang/dmd-2.097.2/activate
to deactivate the virtual environment run deactivate
after you are done.
To test the package:
dub test
- 0.3.4 released 22 hours ago
- fccoelho/EpiStochModels
- MIT
- Copyright © 2019, Flávio Codeco Coelho
- Authors:
- Dependencies:
- mir-core, mir, silly, mir-random, mir-algorithm
- Versions:
-
0.3.4 2025-Sep-17 0.3.3 2025-Sep-17 0.3.2 2021-Jan-11 0.3.1 2021-Jan-03 ~master 2025-Sep-17 - Download Stats:
-
-
2 downloads today
-
3 downloads this week
-
4 downloads this month
-
14 downloads total
-
- Score:
- 1.0
- Short URL:
- epistochmodels.dub.pm