Skip to main content

divisualisation

PyPI tests napari hub

A napari plugin to visualise cell-tracking errors, computed via traccuracy, by lifting 2D/3D+time tracks into an interactive 3D "spacetime" view.

🆕 divisualisation is now a fully fledged napari plugin, with a stateful spacetime lifted view that integrates with regular napari workflows.

2D tracking (bacteria) 3D tracking (C. elegans nuclei)

We originally introduced these visualisations to compare our results in Trackastra: Transformer-based cell tracking for live-cell microscopy to other cell tracking algorithms.

Installation

  1. Please install napari as outlined here.

  2. After that, install divisualisation, either:

    • from within napari via Plugins → Install/Uninstall Plugins… (search for "divisualisation"),
    • or from PyPI:
      pip install divisualisation
      
    • or the latest development version from GitHub:
      pip install git+https://github.com/bentaculum/divisualisation.git
      

Note: requires Python ≥ 3.11 and napari ≥ 0.8.

Usage

Open Plugins → divisualisation → Lift tracks & Divisualisation. The widget has two independent workflows, each in its own box:

  • Lift all tracks layers — fold time into a z axis so every tracks layer rises out of the image plane into a 3D "spacetime" cone. Scrub the time slider to sweep through the cone; toggle off to restore the flat view exactly.
  • Divisualisation — assign ground-truth / predicted / FN-edge / FP-edge tracks layers via the role dropdowns (auto-guessed from layer names), Compute edge errors from the GT/predicted tracks plus their labels, and lift with the error colouring. Color division edges draws each layer's parent→daughter edges as coloured tails (napari otherwise draws them in uncolourable white).

Examples

Run in ipython — each loads data into a viewer, adds the tracks and edge-error overlays, and docks the widget:

  • example_2d.py — bacteria (2D+t).
  • example_3d.py — C. elegans nuclei (3D+t, z scaled ×10).
  • example_programmatic_2d.py — fully scripted render (no GUI): build layers, lift with SpacetimeLift, overlay errors with add_edge_error_tracks, capture a napari_animation keyframe video.

Metadata

Release files for divisualisation 0.1.0

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

Source distribution (sdist)

Source distribution for divisualisation 0.1.0
File Size Uploaded Provenance Actions
divisualisation-0.1.0.tar.gz 73.4 MB With provenance Details for divisualisation-0.1.0.tar.gz

Built distribution (wheel)

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

Total release size: 73.4 MB

Release files / divisualisation-0.1.0.tar.gz

Download URL divisualisation-0.1.0.tar.gz
Size 73.4 MB
Tags Source
SHA-256 checksum
How to use checksums
df5f71919341487ec9ac91f9dc1a8893e0a88ef91c9ceedf2bf28c72d2d43f6b
BLAKE2b-256 checksum
How to use checksums
2349b62e6af049bff902738db90975b04fe11710b2f9a20ba7fb6764f5b3ec33
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 23, 2026.

Transparency log

Release files / divisualisation-0.1.0-py3-none-any.whl

Download URL divisualisation-0.1.0-py3-none-any.whl
Size 42.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
18aea273a38c5c2bb706d85e39dc67e6a9630bcf00582dd7e89bb9b448608857
BLAKE2b-256 checksum
How to use checksums
effd216b6518ac459ab08306d0820e5b3ab2f77f1ff578f4abc4cae6a1a38bf5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 23, 2026.

Transparency log

Security for divisualisation 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for divisualisation-0.1.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 23, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files Full provenance

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