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

Cubature Kalman Filter #948

Closed jmbarr closed 1 month ago

jmbarr commented 5 months ago

Provides a cubature Kalman predictor and updater. (Credit should go to Bethany? I think.)

Side issue is that there's some odd behaviour at certain configurations. I'll provide a gist to highlight that.

codecov[bot] commented 4 months ago

Codecov Report

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

Project coverage is 93.64%. Comparing base (0089d29) to head (46277d3).

Files Patch % Lines
stonesoup/functions/__init__.py 89.47% 2 Missing and 2 partials :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #948 +/- ## ========================================== + Coverage 93.61% 93.64% +0.02% ========================================== Files 203 203 Lines 13051 13103 +52 Branches 2666 2673 +7 ========================================== + Hits 12218 12270 +52 + Misses 588 587 -1 - Partials 245 246 +1 ``` | [Flag](https://app.codecov.io/gh/dstl/Stone-Soup/pull/948/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/948/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dstl) | `65.95% <35.93%> (-0.10%)` | :arrow_down: | | [unittests](https://app.codecov.io/gh/dstl/Stone-Soup/pull/948/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dstl) | `89.26% <93.75%> (+0.01%)` | :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.

jmbarr commented 4 months ago

Looks good 👍 Just some minor formatting changes, undo changes that'll break NumPy 2.0 compatibility, and new additional prior for Prediction type.

Don't think I did any of these formatting changes and can't explain how they got in. Is there an 'undo' button?