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

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

Merged
merged 2 commits into from
Nov 7, 2023

Conversation

sdhiscocks
Copy link
Member

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.

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`.
@sdhiscocks sdhiscocks requested a review from a team as a code owner November 1, 2023 13:29
@sdhiscocks sdhiscocks requested review from nperree-dstl and hpritchett-dstl and removed request for a team November 1, 2023 13:29
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