Skip to content

Commit

Permalink
Merge pull request #866 from dstl/fix_equation_in_tutorial1
Browse files Browse the repository at this point in the history
Corrected update equation in Kalman tutorial
  • Loading branch information
sdhiscocks committed Oct 3, 2023
2 parents e55249d + 8044ba9 commit 90f4d8e
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions docs/tutorials/01_KalmanFilterTutorial.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,12 +65,13 @@
# .. math::
# p(\mathbf{x}_k | \mathbf{z}_{1:k}) =
# \frac{ p(\mathbf{z}_{k} | \mathbf{x}_k) p(\mathbf{x}_k | \mathbf{z}_{1:k-1})}
# {p(\mathbf{z}_k)}
# {p(\mathbf{z}_k | \mathbf{z}_{1:k-1})}
#
# where :math:`p(\mathbf{x}_k | \mathbf{z}_{1:k-1})` is the output of the prediction stage,
# :math:`p(\mathbf{z}_{k} | \mathbf{x}_k)` is known as the likelihood, and :math:`p(\mathbf{z}_k)`
# the evidence. In Stone Soup, this calculation is undertaken by the :class:`~.Updater` class.
# Updaters use a :class:`~.MeasurementModel` class which models the effect of :math:`h(\cdot)`.
# :math:`p(\mathbf{z}_{k} | \mathbf{x}_k)` is known as the likelihood, and
# :math:`p(\mathbf{z}_k | \mathbf{z}_{1:k-1})` the evidence. In Stone Soup, this calculation is
# undertaken by the :class:`~.Updater` class. Updaters use a :class:`~.MeasurementModel` class
# which models the effect of :math:`h(\cdot)`.
#
# .. image:: ../_static/predict_update.png
# :width: 500
Expand Down

0 comments on commit 90f4d8e

Please sign in to comment.