quantumjot / btrack

Bayesian multi-object tracking
https://btrack.readthedocs.io
MIT License
310 stars 50 forks source link

Add method to retrieve full tracking graph #228

Closed quantumjot closed 1 year ago

quantumjot commented 1 year ago

This adds a method to enable retrieval of the full track graph from btrack.

with btrack.BayesianTracker() as tracker:
    tracker.configuration.store_candidate_graph = True
    ...
    candidate_graph = tracker.candidate_graph_edges()

Closes #227

deprecated-napari-hub-preview-bot[bot] commented 1 year ago

Preview page for your plugin is ready here: https://preview.napari-hub.org/quantumjot/btrack/228 Updated: 2023-03-21T17:20:53.135823

quantumjot commented 1 year ago

Tests will fail until #231 is merged.

paddyroddy commented 1 year ago

Tests will fail until #231 is merged.

It's merged now

quantumjot commented 1 year ago

One thought is that we should add a formatting pre-commit hook for the C++, e.g. https://github.com/pre-commit/mirrors-clang-format or https://github.com/pocc/pre-commit-hooks

I agree, this would be a good idea.

quantumjot commented 1 year ago

Thanks @paddyroddy. Suggestions have been implemented now.