Kernel: Python 3.8.5 ('base')
Tracking a 2d point spiraling in the plane using the Kalman filter
We use the dynamax library.
This example demonstrates the use of the lgssm filtering and smoothing when the linear dynamical system induced by the matrix F has imaginary eigenvalues.
In [10]:
In [13]:
In [2]:
In [15]:
Out[15]:
[0.55+0.94736477j 0.55-0.94736477j 0.1 +0.j 0.1 +0.j ]
[[ 7.23746864e-01+0.j 7.23746864e-01-0.j
-5.17891804e-01+0.j 7.07106781e-01+0.j ]
[ 2.96078263e-01+0.62332025j 2.96078263e-01-0.62332025j
-5.75435338e-01+0.j -1.02393756e-16+0.j ]
[ 0.00000000e+00+0.j 0.00000000e+00-0.j
6.32978871e-01+0.j 0.00000000e+00+0.j ]
[ 0.00000000e+00+0.j 0.00000000e+00-0.j
0.00000000e+00+0.j 7.07106781e-01+0.j ]]
In [18]:
In [4]:
In [5]:
In [19]:
Out[19]:
spiral_data.pdf
spiral_filtered.pdf
spiral_smoothed.pdf