Skip to main content

GitHub tag (latest by date) GitHub code size in bytes GitHub issues workflow doc

The Kalman filter is an optimal estimation algorithm: it estimates the true state of a signal given that this signal is noisy and/or incomplete. This package provides a multidimensional implementation of:

  • Standard Kalman Filter: if the noises are drawn from a gaussian distribution and the underlying system is governed by linear equations, the filter will output the best possible estimate of the signal's true state.

  • Extended Kalman Filter: can deal with nonlinear systems, but it does not guarantee the optimal estimate. It works by linearizing the function locally using the Jacobian matrix.

Installation

Normal user

pip install kalmankit

Developer

git clone https://github.com/Xylambda/kalmankit.git
pip install -e "kalmankit/.[dev]"

Tests

To run tests you must install the library as a developer.

cd kalmankit/
pytest -v tests/

Usage

The library provides 5 examples of usage:

  1. Moving Average
  2. Market Beta estimation
  3. Pendulum estimation with EKF
  4. Standard RTS smoothing for constant-velocity tracking
  5. Extended RTS smoothing for a nonlinear pendulum

Install the examples extra to run the examples:

pip install -e ".[examples]"

References

Cite

If you've used this library for your projects please cite it:

@misc{alejandro2021kalmankit,
  title={kalmankit - Multidimensional implementation of Kalman Filter algorithms},
  author={Alejandro Pérez-Sanjuán},
  year={2021},
  howpublished={\url{https://github.com/Xylambda/kalmankit}},
}

Metadata

Release files for kalmankit 2.0.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 kalmankit 2.0.0
File Size Uploaded Provenance Actions
kalmankit-2.0.0.tar.gz 713.5 kB With provenance Details for kalmankit-2.0.0.tar.gz

Built distribution (wheel)

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

Total release size: 733.2 kB

Release files / kalmankit-2.0.0.tar.gz

Download URL kalmankit-2.0.0.tar.gz
Size 713.5 kB
Tags Source
SHA-256 checksum
How to use checksums
90e7190f88e764447030111eb0312c2711f1df905cb6e574b4bd687e590a82c3
BLAKE2b-256 checksum
How to use checksums
5d43ddec16ee43a243242d22b5300a7239204e947892184879e50b0ee1d413d8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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 Jun 5, 2026.

Transparency log

Release files / kalmankit-2.0.0-py3-none-any.whl

Download URL kalmankit-2.0.0-py3-none-any.whl
Size 19.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
15ab1fe84b841d93b882c977cdc74090d3089cace2d048b1dd07f084a93132f6
BLAKE2b-256 checksum
How to use checksums
96ecbb2ec3107f59c4c453a8409c7acfa95599e4d34c8ae772070889fc89ca10
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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 Jun 5, 2026.

Transparency log

Security for kalmankit 2.0.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 kalmankit-2.0.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 Jun 5, 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