Commit Graph

1074 Commits

Author SHA1 Message Date
Peter Schneider
af617bfc60 corrected description of linear process model example 2017-07-29 01:28:42 -07:00
Peter Schneider
8d5215ffc8 fixed derivation of EKF propagation equations 2017-07-29 01:27:21 -07:00
Roger Labbe
f77e2bf19b prcoess var should be used to compute prior, and sensor var
for the posterior.
2017-07-27 07:50:14 -07:00
Roger Labbe
40e2c8d830 Merge branch 'master' of https://github.com/rlabbe/Kalman-and-Bayesian-Filters-in-Python 2017-07-27 07:48:57 -07:00
Roger Labbe
5a7257dbba Merge pull request #164 from PLeVasseur/04-intro-to-designing-filter
In Introduction to Designing a Filter updated to use temp_change
2017-07-27 07:47:30 -07:00
Roger Labbe
e70190300a Merge pull request #163 from PLeVasseur/04-prediction-with-gaussians
Fixed text describing Gaussian prediction calculation
2017-07-27 07:37:03 -07:00
Roger Labbe
5c25643866 Deleted empty line in code. 2017-07-27 07:35:30 -07:00
Roger Labbe
6b3f902a4f Merge pull request #162 from peteryschneider/master
Fixed estimates that were not tracking under 'Control Inputs' in 08-Designing-Kalman-Filters.ipynb
2017-07-27 07:28:56 -07:00
Roger Labbe
fea343cc11 Reran chapters. 2017-07-27 07:23:08 -07:00
Peter LeVasseur
b752bc3afe In Introduction to Designing a Filter updated to use the temp_change variable when setting up the process model. 2017-07-20 15:34:41 -04:00
Peter LeVasseur
f942a8abfc Fixed text describing Gaussian prediction calculation, in particular changed to use sigma, instead of mu when describing the variance update. 2017-07-20 11:02:26 -04:00
Peter Schneider
cd7f3605ae Fixed estimates that were not tracking under 'Control Inputs'. Measurements were generated under assumption of dt=1, but were updating states from model using dt=0.1. 2017-07-20 03:01:56 -07:00
Peter Schneider
749e17d6e8 Fix typo: 'computes' 2017-07-20 01:48:34 -07:00
Roger Labbe
1c11186fa4 Bug in train_filter
Called normalize(belief), when it should have been normalize(prior).
belief is a variable from another cell, and not used in this function.

Reported by by Shakti Gehlaut.
2017-07-15 12:08:47 -07:00
Roger Labbe
ac1eb9d7fc Updated second binder link
I altered the one at the top in the previous commit but not the one embedded deeper in the file.
2017-07-03 13:57:34 -07:00
Roger Labbe
f137b27646 Updated binder badge again
This one follows instructions that I got in gitter from Yuvi Panda
2017-07-03 13:53:21 -07:00
Roger Labbe
b2a2b42a05 Altered binder badge
Binder has changed it's link and host
2017-07-03 13:45:24 -07:00
Roger Labbe
7c5aa45019 Weights should be reset to 1/N after resampling. 2017-07-03 13:07:28 -07:00
Roger Labbe
ba61f3a96c Merge branch 'master' of https://github.com/rlabbe/Kalman-and-Bayesian-Filters-in-Python 2017-07-03 12:59:43 -07:00
Roger Labbe
edb9b4f306 Text used sigma_ps when talking about the wheel. 2017-07-03 12:58:12 -07:00
Roger Labbe
1002744510 Merge pull request #158 from sleepingAgain/patch-1
Fixed typo in Chapter 7
2017-06-21 08:01:42 -07:00
sleepingAgain
e39295caf5 Fixed typo in Chapter 7
Changed stoochastic to stochastic.
2017-06-20 13:09:40 +01:00
Roger Labbe
d15845bde8 I reversed the explanation of product/sum for Gaussians, saying the
sum is proportional and the product is Normal. Of course the reverse
is true.
2017-06-12 09:35:55 -07:00
Roger Labbe
529585a4c8 Issue #144 - update variable est/prediction names
I erroneously named the prediction of x x_est, which is confusing at best.

There were also issues with plotsize. The %matplotlib notebook magic
is resetting the size of the plots. Not sure if this has something to do
with some of my plotting code or not. Anyway, I wrote a context manager
to reset the plot size after exiting interactive mode.
2017-06-12 09:30:27 -07:00
Roger Labbe
000122a3ab Merge pull request #155 from jeffrimko/master
Minor typo fixes.
2017-06-12 08:17:54 -07:00
Roger Labbe
0a66218980 Merge pull request #153 from senden9/patch-2
Fix formation in heading in README.md
2017-06-12 08:16:06 -07:00
Roger Labbe
7fda1ccd01 Merge pull request #150 from dschuler/master
Add 'Estimates' to legend

I added a comment header to the plotting routine, and renamed `retval` to `lines` (I prefer meaningful names whenever possible.
2017-06-12 08:15:43 -07:00
Roger Labbe
e16af3c383 Create book_plots.py 2017-06-12 08:14:39 -07:00
Roger Labbe
e6f91acf79 Merge pull request #149 from alexwal/patch-1
Fixed continuous Bayes' Rule formula
2017-06-12 08:05:54 -07:00
unknown
e0d9ee3fcf Minor typo fixes. 2017-06-08 23:01:47 -04:00
Stefano Probst
76104f80aa Fix formation in heading in README.md
Now the title of this file is rendered correctly.
2017-05-29 17:24:07 +02:00
Daniel Schuler
df78983576 Add 'Estimates' to legend 2017-05-23 18:25:52 -07:00
Alex Walczak
e5287185b3 Fixed continuous Bayes' Rule formula 2017-05-11 17:22:21 -07:00
Roger Labbe
04f8235c43 I was multiply the noise generated by randn() by dt, which makes
no sense.
2017-05-11 13:27:05 -07:00
Roger Labbe
d2f247da20 I dropped two square terms in the derivation for the sum of
Gaussians; the remaining math was correct.
2017-05-11 13:24:35 -07:00
Roger Labbe
99193f7e26 this was just in text, but I used self.W[i], and it should have been
self.Wc[i].
2017-05-11 13:20:37 -07:00
Roger Labbe
e82f2184d8 Merge pull request #136 from asmwarrior/patch-1
Update 03-Gaussians.ipynb
2017-05-11 13:18:26 -07:00
Roger Labbe
5a0e84f5fc Merge pull request #142 from horaceheaven/horaceheaven-patch
Fix readme typo
2017-05-11 13:18:00 -07:00
Roger Labbe
171b8649c2 Merge pull request #143 from horaceheaven/patch-1
Fix: 'to' missing from sentence
2017-05-11 13:16:32 -07:00
Roger Labbe
3d288d60d6 The base python installation has a file code.py; this causes
problems when trying to import files from the code subdirectory.

I also tried to rearange some code so that book_format does not need
to be imported if you are not running in a Jupyter Notebook.
2017-05-11 13:13:17 -07:00
Horace Heaven
94c5d9b349 Fix: 'to' missing from sentence 2017-03-30 22:01:12 -04:00
Horace Heaven
2eca453579 Fix readme typo 2017-03-30 21:18:01 -04:00
asmwarrior
a6fb5c15dd Update 03-Gaussians.ipynb
Fix a typo. "is is" should be "it is".
2017-02-05 08:31:07 +08:00
Roger Labbe
3639394a12 Slight rewording for clarity. 2017-01-18 12:24:57 -08:00
Roger Labbe
c97186c8b4 Fixed PDF generation re %matplotlib magic
Fixed the scripts that comment out the matplotlib magic.
It was commenting out all of the magics - the first one, and
ones in markdown cells. It should only comment out the ones
in code cells, and leave the first one.
2017-01-18 12:23:06 -08:00
Roger Labbe
91e9e08377 Removed #reset from magic
I was using comment to detect which %matplotlib inline to comment
out to generate the PDF but it generates a UsageError. I need to make
my script smarter instead. The problem is that I don't want to remove
the first inline definition
2017-01-18 10:59:43 -08:00
Roger Labbe
f0e78c7037 Merge branch 'master' of https://github.com/rlabbe/Kalman-and-Bayesian-Filters-in-Python 2017-01-18 09:21:43 -08:00
Roger Labbe
6bafbd490e I switched the weight gain guess back to 1 (the corrct value - of
course the filter would find the right answer. Leaving at -1 shows
that the filter works well even when the initial estimate is incorrect.
2017-01-18 09:20:15 -08:00
Roger Labbe
ebb8bceeab Add SpaceX reference to readme 2017-01-16 08:33:18 -08:00
Roger Labbe
6dc3dbaef9 Text had ```Python (capitalized), which renders fine in the local
notebook, nbviewer, and elsewhere, but not on github for some reason.
2017-01-14 15:11:32 -08:00