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

Ensure ranges are floats in optimise sensor manager #759

Closed sdhiscocks closed 1 year ago

sdhiscocks commented 1 year ago

This was causing issues with latest version of NumPy/SciPy with Angle type.

codecov[bot] commented 1 year ago

Codecov Report

Base: 89.09% // Head: 94.70% // Increases project coverage by +5.60% :tada:

Coverage data is based on head (e01604e) compared to base (9623b3a). Patch has no changes to coverable lines.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #759 +/- ## ========================================== + Coverage 89.09% 94.70% +5.60% ========================================== Files 174 174 Lines 8862 9193 +331 Branches 1405 1411 +6 ========================================== + Hits 7896 8706 +810 + Misses 813 349 -464 + Partials 153 138 -15 ``` | Flag | Coverage Δ | | |---|---|---| | integration | `70.51% <ø> (?)` | | | unittests | `89.43% <ø> (+0.33%)` | :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/759?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dstl) | Coverage Δ | | |---|---|---| | [stonesoup/sensormanager/optimise.py](https://codecov.io/gh/dstl/Stone-Soup/pull/759?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dstl#diff-c3RvbmVzb3VwL3NlbnNvcm1hbmFnZXIvb3B0aW1pc2UucHk=) | `94.91% <ø> (+0.08%)` | :arrow_up: | | [stonesoup/types/time.py](https://codecov.io/gh/dstl/Stone-Soup/pull/759?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dstl#diff-c3RvbmVzb3VwL3R5cGVzL3RpbWUucHk=) | `100.00% <0.00%> (ø)` | | | [stonesoup/models/base.py](https://codecov.io/gh/dstl/Stone-Soup/pull/759?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dstl#diff-c3RvbmVzb3VwL21vZGVscy9iYXNlLnB5) | `100.00% <0.00%> (ø)` | | | [stonesoup/sensor/base.py](https://codecov.io/gh/dstl/Stone-Soup/pull/759?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dstl#diff-c3RvbmVzb3VwL3NlbnNvci9iYXNlLnB5) | `100.00% <0.00%> (ø)` | | | [stonesoup/types/track.py](https://codecov.io/gh/dstl/Stone-Soup/pull/759?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dstl#diff-c3RvbmVzb3VwL3R5cGVzL3RyYWNrLnB5) | `100.00% <0.00%> (ø)` | | | [stonesoup/deleter/base.py](https://codecov.io/gh/dstl/Stone-Soup/pull/759?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dstl#diff-c3RvbmVzb3VwL2RlbGV0ZXIvYmFzZS5weQ==) | `100.00% <0.00%> (ø)` | | | [stonesoup/feeder/multi.py](https://codecov.io/gh/dstl/Stone-Soup/pull/759?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dstl#diff-c3RvbmVzb3VwL2ZlZWRlci9tdWx0aS5weQ==) | `100.00% <0.00%> (ø)` | | | [stonesoup/reader/image.py](https://codecov.io/gh/dstl/Stone-Soup/pull/759?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dstl#diff-c3RvbmVzb3VwL3JlYWRlci9pbWFnZS5weQ==) | `100.00% <0.00%> (ø)` | | | [stonesoup/tracker/base.py](https://codecov.io/gh/dstl/Stone-Soup/pull/759?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dstl#diff-c3RvbmVzb3VwL3RyYWNrZXIvYmFzZS5weQ==) | `100.00% <0.00%> (ø)` | | | [stonesoup/updater/base.py](https://codecov.io/gh/dstl/Stone-Soup/pull/759?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dstl#diff-c3RvbmVzb3VwL3VwZGF0ZXIvYmFzZS5weQ==) | `100.00% <0.00%> (ø)` | | | ... and [91 more](https://codecov.io/gh/dstl/Stone-Soup/pull/759?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dstl) | | 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.