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
388 stars 128 forks source link

Modified dotproduct to work with StateVectors #743

Closed jmbarr closed 1 year ago

jmbarr commented 1 year ago

Dotproduct function previously only worked with StateVector. This is designed to make it work with StateVectors and return an numpy.array of dimension 1x the number of StateVectors.

codecov[bot] commented 1 year ago

Codecov Report

Base: 94.81% // Head: 94.81% // Decreases project coverage by -0.00% :warning:

Coverage data is based on head (3df748c) compared to base (f27eaeb). Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #743 +/- ## ========================================== - Coverage 94.81% 94.81% -0.01% ========================================== Files 169 169 Lines 8221 8220 -1 Branches 1216 1216 ========================================== - Hits 7795 7794 -1 Misses 316 316 Partials 110 110 ``` | Flag | Coverage Δ | | |---|---|---| | integration | `69.12% <0.00%> (-0.01%)` | :arrow_down: | | unittests | `92.65% <100.00%> (-0.01%)` | :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. | [Impacted Files](https://codecov.io/gh/dstl/Stone-Soup/pull/743?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dstl) | Coverage Δ | | |---|---|---| | [stonesoup/functions/\_\_init\_\_.py](https://codecov.io/gh/dstl/Stone-Soup/pull/743/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dstl#diff-c3RvbmVzb3VwL2Z1bmN0aW9ucy9fX2luaXRfXy5weQ==) | `93.87% <100.00%> (-0.05%)` | :arrow_down: | Help us with your feedback. Take ten seconds to tell us [how you rate us](https://about.codecov.io/nps?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dstl). Have a feature suggestion? [Share it here.](https://app.codecov.io/gh/feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dstl)

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.