Skip to main content

LapTrack

Project description

PyPI Status Python Version License

Read the documentation at https://laptrack.readthedocs.io/ Tests Codecov pre-commit Black

Bioinformatics bioRxiv Zenodo

Features

Provides a robust particle tracking algorithm using the Linear Assignment Problem, with various cost functions for linking.

See the publication and associated repository for the algorithm and parameter optimization by Ray-Tune.

Requirements

Python >= 3.8 is supported. The software is tested against Python 3.8-3.10 in Ubuntu, and 3.10 in MacOS and Windows environments, but the other combinations should also be fine. Please file an issue if you encounter any problem.

Installation

You can install LapTrack via pip from PyPI:

$ pip install laptrack

In Google Colaboratory, try

$ pip install --upgrade laptrack spacy flask matplotlib

to update the pre-installed packages.

Usage

Please see the Usage for details. The example notebooks are provided in docs/examples.

notebook name

short description

Google Colaboratory

api_example.ipynb

Introducing the package API by a simple example.

colab

bright_spots.ipynb

Application example: detecting bright spots by scikit-image blob_log and tracking them.

cell_segmentation.ipynb

Application example: tracking centroids of the segmented C2C12 cells undergoing divisions.

napari_interactive_fix.ipynb

Illustrates the usage of the ground-truth-preserved tracking with napari.

overlap_tracking.ipynb

Illustrates the usage of the custom metric to use segmentation overlaps for tracking.

The API reference covers the main classes and functions provided by LapTrack.

Contributing

Contributions are very welcome. To learn more, see the Contributor Guide.

License

Distributed under the terms of the The 3-Clause BSD License, LapTrack is free and open source software.

Issues

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

Credits

Citation

If you use this program for your research, please cite it and help us build more.

@article{fukai_2022,
  title = {{{LapTrack}}: Linear Assignment Particle Tracking with Tunable Metrics},
  shorttitle = {{{LapTrack}}},
  author = {Fukai, Yohsuke T and Kawaguchi, Kyogo},
  year = {2022},
  month = dec,
  journal = {Bioinformatics},
  pages = {btac799},
  issn = {1367-4803},
  doi = {10.1093/bioinformatics/btac799},
}

@misc{laptrack,
   author = {Yohsuke T. Fukai},
   title = {laptrack},
   year  = {2021},
   url   = {https://doi.org/10.5281/zenodo.5519537},
}

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

laptrack-0.11.1.tar.gz (24.6 kB view details)

Uploaded Source

Built Distribution

laptrack-0.11.1-py3-none-any.whl (26.1 kB view details)

Uploaded Python 3

File details

Details for the file laptrack-0.11.1.tar.gz.

File metadata

  • Download URL: laptrack-0.11.1.tar.gz
  • Upload date:
  • Size: 24.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.3

File hashes

Hashes for laptrack-0.11.1.tar.gz
Algorithm Hash digest
SHA256 fc099a563c2fe9c145a9c630d3cfd36f9177ba6c2a5f51506c83e29406d06b31
MD5 bcbbad501d0ce4ad045cc92d19c4d5d6
BLAKE2b-256 caafb1e28d1d6fd2ebdc299ee0684b2ea3e6ac0b2c06b094b91af74d6c58d451

See more details on using hashes here.

File details

Details for the file laptrack-0.11.1-py3-none-any.whl.

File metadata

  • Download URL: laptrack-0.11.1-py3-none-any.whl
  • Upload date:
  • Size: 26.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.3

File hashes

Hashes for laptrack-0.11.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d6ffbab8e4b69e6c5dc66578bb06f899b9ff0612704a24821d5b1194e796dbb7
MD5 0d1b4a5042228278700c5d7ee4111513
BLAKE2b-256 075ed2d0e3e0467066e9108b42176079e274b737f9361ec8a8fe90cc206c9f37

See more details on using hashes here.

Supported by

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