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
400 stars 131 forks source link

Fix OptimizeBruteSensorManager #694

Closed nperree-dstl closed 2 years ago

nperree-dstl commented 2 years ago

Small fix to OptimizeBruteSensorManager so that it uses the full capability of scipy.optimize.brute(). Also changes to tests to improve coverage.

codecov[bot] commented 2 years ago

Codecov Report

Merging #694 (c1a71e7) into main (3d368a8) will increase coverage by 0.01%. The diff coverage is 83.33%.

@@            Coverage Diff             @@
##             main     #694      +/-   ##
==========================================
+ Coverage   94.57%   94.59%   +0.01%     
==========================================
  Files         171      171              
  Lines        8615     8619       +4     
  Branches     1665     1666       +1     
==========================================
+ Hits         8148     8153       +5     
+ Misses        342      341       -1     
  Partials      125      125              
Flag Coverage Δ
integration 69.40% <33.33%> (-0.03%) :arrow_down:
unittests 92.13% <83.33%> (+0.03%) :arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
stonesoup/sensormanager/optimise.py 94.91% <83.33%> (+2.18%) :arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.