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

@@ -62,6 +62,12 @@ def numpy_precision(precision):
yield
np.set_printoptions(old)
@contextmanager
def printoptions(*args, **kwargs):
original = np.get_printoptions()
np.set_printoptions(*args, **kwargs)
yield
np.set_printoptions(**original)
def _decode_list(data):
rv = []