A simple Python library for compartment models
Project description
Compyrtment is a simple Python library to work with compartment models. It’s a simple tool to aid with fast prototyping with models such as the SIR, SIS and SEIR epidemic models or the Lotka-Volterra model of predation. It supports:
Designing models with arbitrary states and constant, linear and quadratic couplings between them;
Numerical integration of the ODE system of a model;
Numerical integration of ‘sensitivity curves’ - the gradient of each curve with respect to parameters as well as initial conditions;
Fitting a model’s parameters to existing data;
Stochastic simulation using Gillespie’s algorithm
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file Compyrtment-0.5.7.tar.gz
.
File metadata
- Download URL: Compyrtment-0.5.7.tar.gz
- Upload date:
- Size: 9.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.8.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f327743ad862ac56e037e4435c4edb948afd11086080ff0ed48a95a178e86337 |
|
MD5 | 5f4376ed642f0c74481c54d72c3289c1 |
|
BLAKE2b-256 | f34cd2ce15d1e3131578408bd265b77b28fc154aa369cb8d548f42ad8d71775d |
File details
Details for the file Compyrtment-0.5.7-py3-none-any.whl
.
File metadata
- Download URL: Compyrtment-0.5.7-py3-none-any.whl
- Upload date:
- Size: 9.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.8.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f4da281ba81b4f01597897ba968dc2d5682ab14077beaac44cad8f4000b6c5b0 |
|
MD5 | 1b9a3b4a979c24cc6146f2896fea6334 |
|
BLAKE2b-256 | 7f64558df3800f0ba3090e4dd9d902f8e4af337d934956dc537528b486d93eb0 |