Skip to main content

Application for interactive tracking with global optimization

Project description

Motile Tracker

tests codecov

An application for interactive tracking with motile. The full documentation of the plugin can be found here.

Motile is a library that makes it easy to solve tracking problems using optimization by framing the task as an Integer Linear Program (ILP). See the motile documentation for more details on the concepts and method.


Installation

Users can download and install an executable application from the github release, or install from pypi in the environment of their choice (e.g. venv, conda) with the command pip install motile-tracker. Currently, the motile_tracker requires python >=3.11.

Recommended extras

For better performance, you can install optional extras:

  • numba: Speeds up candidate graph construction significantly.

    pip install motile-tracker[numba]
    
  • gurobi: Uses the Gurobi solver instead of the default open-source solver. Gurobi is much faster but requires a license (free for academics).

    pip install motile-tracker[gurobi]
    

You can install multiple extras at once: pip install motile-tracker[numba,gurobi]

Gurobi license version mismatch

If you have a Gurobi license and encounter an error about license version mismatch, you may need to install a specific version of gurobipy that matches your license. Use one of the version-specific extras:

pip install motile-tracker[gurobi12]  # For Gurobi 12.x licenses
pip install motile-tracker[gurobi13]  # For Gurobi 13.x licenses

Developers can clone the GitHub repository and then use uv to install and run the code. See the developer guide in DEVELOPER.md for more information.

Usage

Start napari and call the main widget via Plugins > Motile > Motile Main Widget. 2D+time and 3D+time sample data can be loaded via File > Open Sample > Motile. You can track objects in napari Labels or Points layers. For details, please read the documentation.

motile_tracker_quick_demo

If you are new to using motile-tracker, you can follow this tutorial to learn the basics.

Package the application into an executable and create the installer

Tagging any branch will automatically trigger the deploy.yml workflow, which pushes the tagged version to PyPi and creates a github release; draft release if the tag contains "-dev", pre-release if the tag contains "-rc' or a full release otherwise. In case of a draft or pre release, when the user updates the release notes and promotes it to a published release, github will trigger make_bundle_app.yml workflow which will create the Linux, Mac and Windows installer and will upload them as release artifacts to github.

Issues

If you encounter any problems, please file an issue along with a detailed description.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

motile_tracker-4.4.0.tar.gz (13.0 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

motile_tracker-4.4.0-py3-none-any.whl (123.1 kB view details)

Uploaded Python 3

File details

Details for the file motile_tracker-4.4.0.tar.gz.

File metadata

  • Download URL: motile_tracker-4.4.0.tar.gz
  • Upload date:
  • Size: 13.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for motile_tracker-4.4.0.tar.gz
Algorithm Hash digest
SHA256 a3ee8400082329ae9f9f2515749c98474bb6543dea1591704b73b8e507fdbd70
MD5 63ad9c83c23ba0a55f907802385bed00
BLAKE2b-256 98ebe02ce0dc51194384d2af5570f9f24c4be6ad7f8dee323888d9ac681cc752

See more details on using hashes here.

File details

Details for the file motile_tracker-4.4.0-py3-none-any.whl.

File metadata

  • Download URL: motile_tracker-4.4.0-py3-none-any.whl
  • Upload date:
  • Size: 123.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for motile_tracker-4.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d7bccb81bff038e337253ef9eb84b93aa034de38e979cdf3afe141604852883c
MD5 d3b7ec84828908ef173c757bdaa27f98
BLAKE2b-256 e04c9258a61424e1f82ff9e270dfc82973dc8469a4889bd14fafd40efb384a58

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page