-
Notifications
You must be signed in to change notification settings - Fork 140
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
Adding an example showing an explicit MHT application using MFA components #954
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code looks great - it's mostly fixes to the grammar/wording from me.
docs/examples/mht_example.py
Outdated
|
||
tracks.add(track) | ||
|
||
plotter.plot_tracks(tracks, [0, 2], track_label="Tracks", line=dict(color="Green")) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking at this plot, one track is distracted by the clutter and flies off in a straight line towards the bottom left of the graph. Is this something you want to address, either by commenting on the algorithm's performance or by changing parameters to obtain a better result?
…ore references on the existing tutorials and examples
docs/examples/mht_example.py
Outdated
# We have prepared all the general parameters for the simulation, | ||
# including the clutter spatial density. In this example we set | ||
# the birth rate and the death probability as zero, using only the knowledge of the | ||
# prior states to generate the tracks so the number of targets is fixed (3 in this case). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Am I right in thinking that MFA (or this implementation) only works with fixed number of tracks?
Hi @orosoman-dstl and @sdhiscocks : I have applied the suggested changes to the text and references. Regarding @sdhiscocks question about the number of tracks: I tried using the Happy to discuss a more general solution (if possible with the current setup). |
To be honest, I wasn't sure if there was a limitation in the actual algorithm itself that means it assumes fixed number of targets, or limitation of the implementation. I've found when trying to use with varying targets, you can get an |
Fix links to other tutorials
This PR adds an example of a Multi-Hypothesis tracking using the Multi-frame assignment components.
This example was supposed to rely more on Stone Soup components (e.g.,
GaussianMixtureInitiator
andMultiTargetTracker
), however the current implementation of such components is not aligned with the MFA components making complex to deal with it (e.g. #896).This example shows how to set up this type of simulations in a more general way than the example present in the documentation.