Python library for Kalman filtering and optimal estimation
Top 13.6% on sourcepulse
FilterPy is a Python library for Kalman filtering and optimal estimation, targeting engineers and researchers working with state estimation problems. It provides a clear, pedagogical implementation of various filters, including Kalman, Extended Kalman, Unscented Kalman, and smoothers, directly mapping to equations in its companion book, "Kalman and Bayesian Filters in Python."
How It Works
FilterPy implements a range of estimation algorithms, including Kalman, Extended Kalman, Unscented Kalman, Kalman smoothers, Least Squares, and g-h filters. The library prioritizes clear, equation-to-code mapping, often favoring readability over micro-optimizations, though it leverages NumPy and SciPy for core computations. The author notes potential speedups with Numba but has not yet added it as a dependency.
Quick Start & Requirements
pip install filterpy
Highlighted Details
Maintenance & Community
Licensing & Compatibility
Limitations & Caveats
The library's tests are primarily visual, relying on plots rather than automated assertions for validation. Future versions (2.0) will drop support for Python versions older than 3.5.
1 year ago
1 week