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

Fix GaussianMixtureInitiator to use a MultiMeasurementInitiator #1042

Closed jswright-dstl closed 1 week ago

jswright-dstl commented 2 weeks ago

This PR adds the ability to use the MultiMeasurementInitiator with the GaussianMixtureInitiator. Previously, the GaussianMixtureInitiator would only modify the last state of a Track so when a track with more than one state (from the MultiMeasurementInitiator) is presented, the result is a Track with a mixed set of states (GaussianState and GaussianMixture).

codecov[bot] commented 2 weeks ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 93.57%. Comparing base (d4b1da2) to head (774b80f).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #1042 +/- ## ========================================== - Coverage 93.63% 93.57% -0.07% ========================================== Files 203 203 Lines 13126 13127 +1 Branches 2681 2682 +1 ========================================== - Hits 12290 12283 -7 - Misses 589 594 +5 - Partials 247 250 +3 ``` | [Flag](https://app.codecov.io/gh/dstl/Stone-Soup/pull/1042/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/1042/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dstl) | `65.91% <0.00%> (+<0.01%)` | :arrow_up: | | [unittests](https://app.codecov.io/gh/dstl/Stone-Soup/pull/1042/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dstl) | `89.21% <100.00%> (-0.03%)` | :arrow_down: | 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.