Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ChernoffUpdater class and track feeder #681

Merged
merged 6 commits into from
Jul 28, 2022

Conversation

ekhunter123
Copy link
Collaborator

@ekhunter123 ekhunter123 commented Jul 27, 2022

Following the work done in the example in my latest pull request #666, we've made standalone classes for the ChernoffUpdater and the Tracks2GaussianDetectionFeeder. I'd love any feedback or suggestions, thank you!

Thanks to @sdhiscocks for the help in designing and writing these classes!

Sample usages of both these classes can be seen in the example #666 .

@ekhunter123 ekhunter123 requested a review from a team as a code owner July 27, 2022 20:00
@ekhunter123 ekhunter123 requested review from sdhiscocks and jswright-dstl and removed request for a team July 27, 2022 20:00
@codecov
Copy link

codecov bot commented Jul 27, 2022

Codecov Report

Merging #681 (6af1d89) into main (f36afad) will decrease coverage by 0.00%.
The diff coverage is 92.68%.

❗ Current head 6af1d89 differs from pull request most recent head 9d5a246. Consider uploading reports for the commit 9d5a246 to get more accurate results

@@            Coverage Diff             @@
##             main     #681      +/-   ##
==========================================
- Coverage   94.59%   94.58%   -0.01%     
==========================================
  Files         168      170       +2     
  Lines        8516     8557      +41     
  Branches     1652     1658       +6     
==========================================
+ Hits         8056     8094      +38     
- Misses        342      343       +1     
- Partials      118      120       +2     
Flag Coverage Δ
integration 68.27% <0.00%> (-0.33%) ⬇️
unittests 92.10% <92.68%> (+<0.01%) ⬆️

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

Impacted Files Coverage Δ
stonesoup/updater/chernoff.py 92.30% <92.30%> (ø)
stonesoup/feeder/track.py 93.33% <93.33%> (ø)

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 f36afad...9d5a246. Read the comment docs.

Add Track feeder to feeder.rst
Add Chernoff updater to updater.rst
stonesoup/updater/chernoff.py Outdated Show resolved Hide resolved
stonesoup/updater/chernoff.py Show resolved Hide resolved
stonesoup/updater/chernoff.py Outdated Show resolved Hide resolved
stonesoup/updater/chernoff.py Outdated Show resolved Hide resolved
stonesoup/feeder/track.py Outdated Show resolved Hide resolved
stonesoup/updater/chernoff.py Outdated Show resolved Hide resolved
stonesoup/updater/chernoff.py Outdated Show resolved Hide resolved
stonesoup/updater/chernoff.py Outdated Show resolved Hide resolved
stonesoup/feeder/track.py Outdated Show resolved Hide resolved
ekhunter123 and others added 3 commits July 28, 2022 16:12
Co-authored-by: James Wright <69153443+jswright-dstl@users.noreply.github.com>
Co-authored-by: James Wright <69153443+jswright-dstl@users.noreply.github.com>
Generalize the update and predicted measurement, rather than using the specific Gaussian state subclasses.

Co-authored-by: Steven Hiscocks <sdhiscocks@dstl.gov.uk>
@sdhiscocks sdhiscocks merged commit 0e8a394 into dstl:main Jul 28, 2022
@ekhunter123 ekhunter123 deleted the add_chernoff_updater branch July 28, 2022 16:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants