Python Kalman filtering and optimal estimation library. Implements Kalman filter, particle filter, Extended Kalman filter, Unscented Kalman filter, g-h (alpha-beta), least squares, H Infinity, smoothers, and more. Has companion book 'Kalman and Bayesian Filters in Python'.
MIT License
3.23k
stars
614
forks
source link
Fix test by relaxing near_eq (from 1e-18 to 1e-17) #217
In Python 3.8.6 at Ubuntu,
test_linear_ode
fromfilterpy/common/tests/test_discretization.py
fails withI'm not sure why
near_eq
needs this tight bounds, even1e-15
could be good enough.