kipe
Kalman filtering and identifiability analysis for parameter estimation of distributed dynamical systems
kipe estimates the parameters of distributed dynamical models, e.g., time-dependent PDE models, from time series of measurements, with the reduced-order unscented Kalman filter (ROUKF).
The filter needs only forward runs of your model, no derivatives, through a lean interface. Around the estimation, kipe generates synthetic measurement data for twin experiments, from a run of the model or from the checkpoints of an earlier run, and analyzes the identifiability of the parameters with the Fisher information.
Key features
- Solver-agnostic: Connect your model through a small forward-solver interface
- Derivative-free: Optimizer is based on the reduced-order unscented Kalman filter (ROUKF) and hence it needs only forward runs.
- Modular observation operators: New observation operators can be implemented easily by extending the library.
- Twin experiments: Generate synthetic measurements from a model run.
- Reproducible runs: Keep results, logs, and run provenance together.
Status: early development. The core works (ROUKF estimation, synthetic data, plotting, run provenance), as does a first FEniCSx backend for measurements on finite element meshes, but the study file format and the Python API may still change. Feedback is very welcome: please open an issue.
Installation
kipe needs Python ≥ 3.12 and an MPI library (for mpi4py):
pip install kipe
pip install mpich # only if there is no MPI library on your system
For FEniCSx models, install kipe into your FEniCSx (dolfinx 0.9 to 0.11) environment.
Quick start
A twin experiment with the FitzHugh–Nagumo model: synthetic data from the true parameters, then the estimation from a wrong initial guess.
git clone https://github.com/cardiomath/kipe
cd kipe/examples/fitzhugh_nagumo
kipe synthesis study.yaml
kipe estimation study.yaml
kipe plot-estimation study.yaml --truth # --terminal without a display
Documentation
cardiomath.github.io/kipe: getting started, running a study, measurements, the study file reference, the theory, and how to extend kipe.
Development
git clone https://github.com/cardiomath/kipe
cd kipe
pip install -e ".[dev]"
pre-commit install --hook-type pre-commit --hook-type commit-msg
pytest
See Development in the documentation.
License
MIT, see LICENSE. If you use kipe, please cite it as described in CITATION.cff.
Metadata
Release files for kipe 0.6.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| kipe-0.6.0.tar.gz | 179.2 kB | With provenance | Details for kipe-0.6.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| kipe-0.6.0-py3-none-any.whl | Python 3 | none | any | Details for kipe-0.6.0-py3-none-any.whl |
Total release size: 280.2 kB
Release files / kipe-0.6.0.tar.gz
| Download URL | kipe-0.6.0.tar.gz |
|---|---|
| Size | 179.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
97d5249e00125915b286d835189ce0e85cd2bf0eec3b8e287d7ac343496b6a61
|
|
BLAKE2b-256 checksum How to use checksums |
01296c8e6dc6ed765213955200febb489e3862ec46967a3b3eb65d59283e2859
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 26, 2026.
Transparency logRelease files / kipe-0.6.0-py3-none-any.whl
| Download URL | kipe-0.6.0-py3-none-any.whl |
|---|---|
| Size | 101.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
251ba3459e8a9c0203212f6bf9dbc75912a06fadf029e6809f72ebd982697cc8
|
|
BLAKE2b-256 checksum How to use checksums |
7d1153a72b150c3e6dccc7366f908dc23ecfcaa5a111b3f9ca761584dd50679e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 26, 2026.
Transparency logSecurity for kipe 0.6.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for kipe-0.6.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 26, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.