Fixed notebooks for FilterPy code reorg.

I made a separate filterpy.stats module becuase it made
little sense to import filterpy.common for stats
functions. This required a lot of changes in the notebooks
and supporting code.
This commit is contained in:
Roger Labbe
2015-07-08 18:42:12 -07:00
parent 4306a09182
commit dff91d9a6f
17 changed files with 663 additions and 1279 deletions

View File

@@ -4,14 +4,14 @@ Created on Thu May 1 16:56:49 2014
@author: rlabbe
"""
import filterpy.stats as stats
from filterpy.stats import plot_covariance_ellipse
import numpy as np
from matplotlib.patches import Ellipse
import matplotlib.pyplot as plt
from matplotlib import cm
from mpl_toolkits.mplot3d import Axes3D
from numpy.random import multivariate_normal
import stats
def show_residual_chart():
est_y = ((164.2-158)*.8 + 158)
@@ -312,7 +312,6 @@ def plot_3d_sampled_covariance(mean, cov):
ax.contour(xv, yv, zv, zdir='y', offset=maxy, cmap=cm.BuGn)
from filterpy.common import plot_covariance_ellipse
def plot_3_covariances():
P = [[2, 0], [0, 2]]