Working for UKF rename.

Most of the text is wrong, but changed code to use the
renamed ScaledUnscentedKalmanFilter.

Checking in with bad text because I am in the process of changing
FilterPy to use a class for the sigma points to make it easier
to change the sigma point generation, leaving us with one
UKF class instead of several.
This commit is contained in:
Roger Labbe
2015-06-06 19:49:56 -07:00
parent 85eccf7a21
commit 758bd2c7f4
5 changed files with 422 additions and 306 deletions

View File

@@ -85,7 +85,7 @@ def show_sigma_transform():
P = np.array([[4, -2.2], [-2.2, 3]])
plot_covariance_ellipse(x, P, facecolor='b', variance=9, alpha=0.5)
S = UKF.sigma_points(x=x, P=P, kappa=0)
S = UKF.sigma_points(x=x, P=P, alpha=.5, kappa=0)
plt.scatter(S[:,0], S[:,1], c='k', s=80)
x = np.array([15, 5])