Skip to main content

kipe

CI Documentation PyPI Python 3.12+ License: MIT DOI

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.

Citing kipe

If you use kipe, please cite it with its DOI, 10.5281/zenodo.24552132, and state the version you used (kipe --version); CITATION.cff has the full metadata.

License

MIT, see LICENSE.

Metadata

Release files for kipe 0.7.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for kipe 0.7.0
File Size Uploaded Provenance Actions
kipe-0.7.0.tar.gz 180.6 kB With provenance Details for kipe-0.7.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for kipe 0.7.0
File Interpreter ABI Platform Actions
kipe-0.7.0-py3-none-any.whl Python 3 none any Details for kipe-0.7.0-py3-none-any.whl

Total release size: 281.8 kB

Release files / kipe-0.7.0.tar.gz

Download URL kipe-0.7.0.tar.gz
Size 180.6 kB
Tags Source
SHA-256 checksum
How to use checksums
c728055a6a051bcf7fb5449ff42535bffc394d27772913c088e9386e166a727f
BLAKE2b-256 checksum
How to use checksums
8bb6e774176ccf3fd50648ab71c2911454af147d9b53527744652086b63ac9c4
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 27, 2026.

Transparency log

Release files / kipe-0.7.0-py3-none-any.whl

Download URL kipe-0.7.0-py3-none-any.whl
Size 101.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ff17509aaa0ad5acdaf54777e963ce211b06ebdc6e50cd426f7c19ed107d3160
BLAKE2b-256 checksum
How to use checksums
5c9f1d41ef8cb8cc032f347fa395837d934b4ed541fdd2661f9bfdc4f12a4567
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 27, 2026.

Transparency log

Security for kipe 0.7.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.

Select from 2 files

Attestation for kipe-0.7.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 27, 2026.

Transparency log

A 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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page