Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow generation of predicted measurement without measurement noise #1012

Merged
merged 2 commits into from
May 13, 2024

Conversation

sdhiscocks
Copy link
Member

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

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
@sdhiscocks sdhiscocks requested a review from a team as a code owner May 10, 2024 09:03
@sdhiscocks sdhiscocks requested review from nperree-dstl and mharris-dstl and removed request for a team May 10, 2024 09:03
Copy link

codecov bot commented May 10, 2024

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 ⚠️
stonesoup/updater/recursive.py 80.00% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@            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 Coverage Δ
integration 66.26% <56.86%> (-0.04%) ⬇️
unittests 89.17% <96.07%> (+0.03%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@sdhiscocks sdhiscocks merged commit 48865c8 into main May 13, 2024
10 checks passed
@sdhiscocks sdhiscocks deleted the predict_meas_noise branch May 13, 2024 08:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Getting predicted measurement with no measurement noise
3 participants