checkpoint; in midst of big re-org.

This is not a 'useful'checkin. I'm heavily reorganizing teh
multivariate chapter (spliltting in two) and I am getting
worried about losing edits.
This commit is contained in:
Roger Labbe committed 2015-07-12 18:57:43 -07:00
1 parent d739e6418b
commit 878e4a5578
7 files changed
+2455 -1618

No files matched your search

+4 -2
View File
@@ -355,14 +355,16 @@ def plot_correlation_covariance():
import book_plots as bp
def plot_track(ps, zs, cov,
def plot_track(ps, zs, cov, std_scale=1,
plot_P=True, y_lim=None,
title='Kalman Filter'):
print(std_scale)
count = len(zs)
actual = np.linspace(0, count - 1, count)
cov = np.asarray(cov)
std = np.sqrt(cov[:,0,0])
std = std_scale*np.sqrt(cov[:,0,0])
std_top = np.minimum(actual+std, [count + 10])
std_btm = np.maximum(actual-std, [-50])