dstl / Stone-Soup

A software project to provide the target tracking community with a framework for the development and testing of tracking algorithms.
https://stonesoup.rtfd.io
MIT License
406 stars 134 forks source link

Fix to RecursiveEnsembleUpdater #885

Closed spike-dstl closed 11 months ago

spike-dstl commented 11 months ago

Fix to RecursiveEnsembleUpdater to recalculate measurement_prediction at every iteration.

As the measurement_prediction is calculated before the recursive loop, self.check_measurement_prediction was not recalculating the measurement prediction at every iteration. I have added an extra step to remove the measurement prediction at every step so that it is recalculated.