Skip to main content

LapTrack

PyPI Status Python Version License Total Download

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.10 is supported. The software is tested against Python 3.10-3.14 in Ubuntu, and 3.14 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},
}

Metadata

Release files for laptrack 0.17.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for laptrack 0.17.1
File Size Uploaded
laptrack-0.17.1.tar.gz 24.2 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for laptrack 0.17.1
File Interpreter ABI Platform
laptrack-0.17.1-py3-none-any.whl Python 3 none any Details

Total release size: 24.2 MB

Release files / laptrack-0.17.1.tar.gz

Download URL laptrack-0.17.1.tar.gz
Size 24.2 MB
Tags Source
SHA-256 checksum
How to use checksums
883330e5cda46343fc6581434161950669cda0f2fce33aac06440ebd2444aa00
BLAKE2b-256 checksum
How to use checksums
0d4f8a7d969e8d7bf54231af71e230eff17d15822119bf34bb7d4e0c41fb8785
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.8.17

Release files / laptrack-0.17.1-py3-none-any.whl

Download URL laptrack-0.17.1-py3-none-any.whl
Size 30.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
dbba06163dc7fa591e4ac05781bf4e3ef95513b49954f03a45a2e225a4ecd5e1
BLAKE2b-256 checksum
How to use checksums
f9c13376610c901305bde4b45f4ff93d84a9850162c986e22859b798b14072e6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.8.17

Release history Release notifications | RSS feed

This release

0.17.1 This release

2 release files

0.17.0

2 release files

0.16.2

2 release files

0.15.1

2 release files

0.15.0

2 release files

0.14.0

2 release files

0.12.0

2 release files

0.11.0

2 release files

0.9.1

2 release files

0.9.0

2 release files

0.8.0

2 release files

0.7.0

2 release files

0.6.0

2 release files

0.5.1

2 release files

0.5.0

2 release files

0.4.0

2 release files

0.3.6

2 release files

0.3.5

2 release files

0.3.4

2 release files

0.3.3

2 release files

0.3.2

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page