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
403 stars 134 forks source link

Enable use of kDTree with Gaussian Mixture Hypothesiser #676

Closed sdhiscocks closed 2 years ago

sdhiscocks commented 2 years ago

This enables use of kDTree with Gaussian Mixture Hypothesiser, adds ability to set tree search distance based on track covariance and fixes existing tree data associator tests.

codecov[bot] commented 2 years ago

Codecov Report

Merging #676 (b0d2606) into main (76c4c14) will increase coverage by 2.43%. The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #676      +/-   ##
==========================================
+ Coverage   92.17%   94.60%   +2.43%     
==========================================
  Files         168      168              
  Lines        8482     8492      +10     
  Branches     1643     1645       +2     
==========================================
+ Hits         7818     8034     +216     
+ Misses        523      341     -182     
+ Partials      141      117      -24     
Flag Coverage Δ
integration 68.65% <77.77%> (?)
unittests 92.18% <100.00%> (+<0.01%) :arrow_up:

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

Impacted Files Coverage Δ
stonesoup/dataassociator/tree.py 97.19% <100.00%> (+0.16%) :arrow_up:
stonesoup/hypothesiser/gaussianmixture.py 93.18% <100.00%> (+0.68%) :arrow_up:
stonesoup/metricgenerator/ospametric.py 86.39% <0.00%> (+0.59%) :arrow_up:
stonesoup/sensor/radar/radar.py 95.67% <0.00%> (+0.86%) :arrow_up:
stonesoup/simulator/simple.py 93.33% <0.00%> (+1.33%) :arrow_up:
stonesoup/initiator/composite.py 96.87% <0.00%> (+1.56%) :arrow_up:
stonesoup/initiator/simple.py 95.96% <0.00%> (+1.61%) :arrow_up:
stonesoup/sensor/actionable.py 94.20% <0.00%> (+2.89%) :arrow_up:
stonesoup/metricgenerator/metrictables.py 91.22% <0.00%> (+3.50%) :arrow_up:
stonesoup/feeder/geo.py 93.61% <0.00%> (+4.25%) :arrow_up:
... and 15 more

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 76c4c14...b0d2606. Read the comment docs.