Skip to main content

Multidimensional implementation of Kalman Filter algorithms

Project description

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/. -r kalmankit/requirements-dev.txt

Tests

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

cd kalmankit/
pytest -v tests/

Usage

The library provides 3 examples of usage:

  1. Moving Average
  2. Market Beta estimation
  3. Extended Kalman Filter

A requirements-example.txt is provided to install the needed dependencies to run the examples.

References

Cite

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

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

Project details


Download files

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

Source Distribution

kalmankit-1.7.4.tar.gz (30.1 kB view details)

Uploaded Source

Built Distribution

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

kalmankit-1.7.4-py3-none-any.whl (15.7 kB view details)

Uploaded Python 3

File details

Details for the file kalmankit-1.7.4.tar.gz.

File metadata

  • Download URL: kalmankit-1.7.4.tar.gz
  • Upload date:
  • Size: 30.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.6

File hashes

Hashes for kalmankit-1.7.4.tar.gz
Algorithm Hash digest
SHA256 0d00f7ab71c4d43c618976ef07e4fa71a05a578b7c322c38dcf9a1efd7064ccc
MD5 14678713d4f5c02ba372035a77e31ba4
BLAKE2b-256 a6ecb282c75ab7e5383a55b1085dc6b5b5e879608550183c9c177d3ee79e0872

See more details on using hashes here.

File details

Details for the file kalmankit-1.7.4-py3-none-any.whl.

File metadata

  • Download URL: kalmankit-1.7.4-py3-none-any.whl
  • Upload date:
  • Size: 15.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.6

File hashes

Hashes for kalmankit-1.7.4-py3-none-any.whl
Algorithm Hash digest
SHA256 f9eacffb6be26473b7546712703058fa66e0ccc5ace7ed6c75acff1282e8abdf
MD5 c6d9c1bd656df78614f945c0fc198d56
BLAKE2b-256 a594c1a40273ee5772f87baf0f4c215ed6855dd08a6980868e32d606a73fa7b4

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 Pingdom Monitoring Sentry Error logging StatusPage Status page