Skip to content

Commit 87c585e

Browse files
committed
docs: Fix a few typos
There are small typos in: - experiments/ILS.py - experiments/gauss.py - experiments/ukf_range.py - kf_book/book_plots.py Fixes: - Should read `standard` rather than `standand`. - Should read `search` rather than `seach`. - Should read `object` rather than `obect`. - Should read `measurement` rather than `measurment`. - Should read `consistent` rather than `consistant`.
1 parent 24b9fb3 commit 87c585e

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

experiments/ILS.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ def transmitter_range(pos, transmitter_pos):
3535

3636

3737

38-
# compute measurement of where you are with respect to seach sensor
38+
# compute measurement of where you are with respect to search sensor
3939

4040

4141
rz= transmitter_range(user_pos, t_pos) # $B21,22

experiments/gauss.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ def __tuple__(self):
4848
return (self.mean, self.variance)
4949

5050
def __getitem__ (self,index):
51-
""" maybe silly, allows you to access obect as a tuple:
51+
""" maybe silly, allows you to access object as a tuple:
5252
a = gaussian(3,4)
5353
print (tuple(a))
5454
"""

experiments/ukf_range.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def get_range(self):
3636
self.alt = self.alt + .1*randn()
3737
self.pos = self.pos + self.vel*self.dt
3838

39-
# add measurment noise
39+
# add measurement noise
4040
err = self.pos * 0.05*randn()
4141
slant_dist = math.sqrt(self.pos**2 + self.alt**2)
4242

kf_book/book_plots.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@ def IntSlider(value, **kwargs):
334334

335335
def plot_measurements(xs, ys=None, dt=None, color='k', lw=1, label='Measurements',
336336
lines=False, **kwargs):
337-
""" Helper function to give a consistant way to display
337+
""" Helper function to give a consistent way to display
338338
measurements in the book.
339339
"""
340340
if ys is None and dt is not None:
@@ -357,7 +357,7 @@ def plot_measurements(xs, ys=None, dt=None, color='k', lw=1, label='Measurements
357357

358358

359359
def plot_residual_limits(Ps, stds=1.):
360-
""" plots standand deviation given in Ps as a yellow shaded region. One std
360+
""" plots standard deviation given in Ps as a yellow shaded region. One std
361361
by default, use stds for a different choice (e.g. stds=3 for 3 standard
362362
deviations.
363363
"""

0 commit comments

Comments
 (0)