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
384 stars 126 forks source link

Modify track fusion example to use tee and plot longest track #882

Closed sdhiscocks closed 8 months ago

sdhiscocks commented 8 months ago

This utilises itertools.tee() in order to replicate the iterators from components like simulators, trackers and detectors, for use later on. This avoids need for DummyDetector and calls to iter.

Also use longest track in track2track fusion example plot, as sometimes randomly chosen example is very short.