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

Cast noise_covar value to a CovarianceMatrix when initialising a MeasurementModel #775

Closed gawebb-dstl closed 1 year ago

gawebb-dstl commented 1 year ago

Cast the noise_covar value to a CovarianceMatrix when initialising a MeasurementModel in LinearGaussian & NonLinearGaussianMeasurement

Fixed the changes to RangeRangeRateBinning testing

gawebb-dstl commented 1 year ago

Fixes issue #754

codecov[bot] commented 1 year ago

Codecov Report

Patch coverage: 100.00% and no project coverage change

Comparison is base (7d31310) 94.85% compared to head (8552a77) 94.85%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #775 +/- ## ======================================= Coverage 94.85% 94.85% ======================================= Files 175 175 Lines 9634 9642 +8 Branches 1915 1919 +4 ======================================= + Hits 9138 9146 +8 Misses 352 352 Partials 144 144 ``` | Flag | Coverage Δ | | |---|---|---| | integration | `68.91% <81.81%> (-0.01%)` | :arrow_down: | | unittests | `89.82% <100.00%> (+<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. | [Impacted Files](https://codecov.io/gh/dstl/Stone-Soup/pull/775?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dstl) | Coverage Δ | | |---|---|---| | [stonesoup/models/measurement/linear.py](https://codecov.io/gh/dstl/Stone-Soup/pull/775?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dstl#diff-c3RvbmVzb3VwL21vZGVscy9tZWFzdXJlbWVudC9saW5lYXIucHk=) | `100.00% <100.00%> (ø)` | | | [stonesoup/models/measurement/nonlinear.py](https://codecov.io/gh/dstl/Stone-Soup/pull/775?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dstl#diff-c3RvbmVzb3VwL21vZGVscy9tZWFzdXJlbWVudC9ub25saW5lYXIucHk=) | `99.05% <100.00%> (+0.01%)` | :arrow_up: | 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.