Skip to main content

kipe

CI Documentation Python 3.12+ License: MIT

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 will analyze the identifiability of the parameters with the Fisher information (planned).

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.5.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.5.0
File Size Uploaded Provenance Actions
kipe-0.5.0.tar.gz 158.1 kB With provenance Details for kipe-0.5.0.tar.gz

Built distribution (wheel)

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

Total release size: 248.8 kB

Release files / kipe-0.5.0.tar.gz

Download URL kipe-0.5.0.tar.gz
Size 158.1 kB
Tags Source
SHA-256 checksum
How to use checksums
ead5b41b907600f081505e40bdb1f3014ddea88b299b9cf92fcd6e4e9ae77ddc
BLAKE2b-256 checksum
How to use checksums
a3a3a8f86aebfdfad8756461f7ecdf78c0e6c68d7bc9b53078c9eed9e60cddf4
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 2, 2026.

Transparency log

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

Download URL kipe-0.5.0-py3-none-any.whl
Size 90.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
432c4a0362604e45b8a1de830143ca2a5596f6e366604ee52db2cf6272b4d3ba
BLAKE2b-256 checksum
How to use checksums
bc81c5b3edff36d002edfb00a252eb31569939382b1b8e14740d2ef057b9c4da
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 2, 2026.

Transparency log

Security for kipe 0.5.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.5.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 2, 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