Skip to main content

symbolic-compartmental-model

PyPI version fury.io Python version MIT license coverage report ReadTheDocs

A symbolic package based on SymPy for simulating and fitting Compartmental Models (CMs).

Overview

Symbolic Compartmental Model is a python package for constructing, simulating, and fitting compartmental models. It is based on the symbolic calculations package sympy but can also perform numerical calculations.

Current Features

  • Defining a CM based on the contributed turnovers (M-matrix) and observed pool sizes
  • Optionally include symbolic parameters and set their bounds for later fitting
  • Several fitting functions, including single/multiple pools and mass balance constraints (optional)
  • Both numerical and symbolic outputs for dynamic parameters: age, residence time, decay rate, etc.
  • Plotting of simulated data

Getting started

  • To fit a model without installing anything, use the browser app: Fit compartmental models online. It loads your data, fits it, and lets you download the results — everything runs locally in your browser and nothing is uploaded.
  • For installing the package in your current python environment, can simply pip install symbolic-compartmental-model.
  • The package documentation can be found on ReadTheDocs.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

symbolic_compartmental_model-0.3.0.tar.gz (54.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

symbolic_compartmental_model-0.3.0-py3-none-any.whl (63.2 kB view details)

Uploaded Python 3

File details

Details for the file symbolic_compartmental_model-0.3.0.tar.gz.

File metadata

File hashes

Hashes for symbolic_compartmental_model-0.3.0.tar.gz
Algorithm Hash digest
SHA256 390f8244ad3e1d0af6005d8ec8c91ae6f4e879ea2a60327de227acc4535c3bd5
MD5 117b9c8f0febf2cb7553aa5f6b7d3c55
BLAKE2b-256 84f19b48f6d1e8e6573bf290ec3aa2dbcf291fd711500f93e711b8adcad0333a

See more details on using hashes here.

File details

Details for the file symbolic_compartmental_model-0.3.0-py3-none-any.whl.

File metadata

File hashes

Hashes for symbolic_compartmental_model-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 577f4983b1f3470db971a02cc5b09d3c5e76627c56177f3d245e9b6063dbb151
MD5 f132512438ebc835fdf41c0ab320be72
BLAKE2b-256 2aa6efaf0cefb0dd1b84378573ec2d12414025548c0d175d95c0b671095c470d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page