Skip to main content

Utilities for computing common accuracy metrics on cell tracking challenge solutions with ground truth

Project description

traccuracy

License PyPI Python Version CI Documentation Status

traccuracy provides a suite of benchmarking functions that can be used to evaluate tracking solutions against ground truth annotations. It includes the standard metrics that are calculated by the Cell Tracking Challenge.

Learn more in the documentation.

Installation

pip install traccuracy

Development

For local development, clone the repo and install in editable mode.

git clone https://github.com/Janelia-Trackathon-2023/traccuracy.git
cd traccuracy
pip install -e .[dev]

Testing

Install testing requirements

pip install -e .[test]

Run tests

python -m pytest tests

Style

We utilize pre-commit with black (formatting) and ruff (linting). If you would like to run pre-commit locally:

pip install -e .[dev]
pre-commit install

Alternatively pre-commit.ci, will run and commit changes on any open PRs.

Releases

In order to deploy a new version, tag the commit with a version number and push it to github. This will trigger a github action that will build and deploy to PyPI. (see the "deploy" step in workflows/ci.yml). The version number is determined automatically based on the tag.

git tag -a v0.1.0 -m v0.1.0
git push --follow-tags

Documentation

Documentation is built with Sphinx using sphinx-autoapi to automatically generate API documentation at build time. Docs are hosted on ReadTheDocs and build automatically after each push to main. Documentation can be built locally by running the following:

# Install docs requirements
pip install -e .[docs]
# Run the build
sphinx-build docs/source docs/_build

You can view the documentation by opening docs/_build/index.html in your browser.

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

traccuracy-0.0.1.tar.gz (1.2 MB view details)

Uploaded Source

Built Distribution

traccuracy-0.0.1-py3-none-any.whl (28.3 kB view details)

Uploaded Python 3

File details

Details for the file traccuracy-0.0.1.tar.gz.

File metadata

  • Download URL: traccuracy-0.0.1.tar.gz
  • Upload date:
  • Size: 1.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.2

File hashes

Hashes for traccuracy-0.0.1.tar.gz
Algorithm Hash digest
SHA256 b550c7ae4710e1fae783d7f7516f9e2cea54bfd096e2f2cf01fc10f9d8c18c91
MD5 74a03035d92a0d41be7b2c0eb71b3efb
BLAKE2b-256 ee2dd9319f24ffa03abdcacb2c95078245ce4cff721eaebfa873f4dbc62e21de

See more details on using hashes here.

File details

Details for the file traccuracy-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: traccuracy-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 28.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.2

File hashes

Hashes for traccuracy-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7c4b5cd15a2639dfad7a79f07f6bec63bf9d307a327f9b2331a477f3b5052976
MD5 76ec724db94f5194c7bf846dd4615e5d
BLAKE2b-256 32c94bcf5976697ff56ba168017ace5f7ab756220d66e0b016e48940ddabbea3

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