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
384 stars 126 forks source link

Allow generation of predicted measurement without measurement noise #1012

Closed sdhiscocks closed 1 month ago

sdhiscocks commented 1 month ago

This standardises the Updater.predict_measurement method to include an optional measurement_noise Boolean argument to whether noise should be included in the predicted measurement. Defaults to True.

Note this does change the default behaviour of particle filter, as that did not included noise by default before. As this isn't used in the update step, it'll only have an impact on data association stage.

Resolves #961

codecov[bot] commented 1 month ago

Codecov Report

Attention: Patch coverage is 96.07843% with 2 lines in your changes are missing coverage. Please review.

Project coverage is 93.56%. Comparing base (4111cb7) to head (32d1af0). Report is 3 commits behind head on main.

Files Patch % Lines
stonesoup/updater/kalman.py 95.00% 0 Missing and 1 partial :warning:
stonesoup/updater/recursive.py 80.00% 0 Missing and 1 partial :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #1012 +/- ## ========================================== - Coverage 93.56% 93.56% -0.01% ========================================== Files 202 202 Lines 12985 13003 +18 Branches 2649 2656 +7 ========================================== + Hits 12150 12166 +16 - Misses 591 592 +1 - Partials 244 245 +1 ``` | [Flag](https://app.codecov.io/gh/dstl/Stone-Soup/pull/1012/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dstl) | Coverage Δ | | |---|---|---| | [integration](https://app.codecov.io/gh/dstl/Stone-Soup/pull/1012/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dstl) | `66.26% <56.86%> (-0.04%)` | :arrow_down: | | [unittests](https://app.codecov.io/gh/dstl/Stone-Soup/pull/1012/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dstl) | `89.17% <96.07%> (+0.03%)` | :arrow_up: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dstl#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.