Skip to main content
Yanked

This release has been yanked by its maintainers, and will be ignored by installers, except when explicitly specified.
Reason given by maintainers: pre-release

itasc-aggregate

Independent ITASC piece for aggregate quantification. It hosts per-position quantifiers; the bundled one is contacts: extract cell-cell edges, border edges, and T1 events from 2D+t cell-label stacks (optionally validated against nucleus labels) into a self-describing HDF5 file, and visualize the result in napari.

Install

pip install itasc-aggregate

This pulls in itasc-core. Both install into the shared itasc.* namespace (PEP 420), so import itasc.contact_analysis works whether or not the full ITASC orchestrator is present.

Use

The napari plugin is the full ITASC catalog app restricted to the contact step: it does not run segmentation or tracking, so it treats the committed cell_labels.tif (required) and nucleus_labels.tif (optional) as inputs and produces the contact-analysis .h5.

  • napari plugin: add the ITASC Aggregate widget.

    • Data folders: point Find at a parent directory to discover every position (a folder containing cell_labels.tif) beneath it; the columns are derived from each position's nesting under that directory. Each row carries a three-dot status rail (cell labels, nucleus labels, contact analysis) that shows, at a glance, which inputs are present and whether the .h5 is built. Click a rail dot to load that input into the viewer (or, for the contact dot, open the overlays).
    • Contact Analysis: select a row to retarget the stage to that position; run or re-run its contact analysis and visualize the result.
    • Aggregate: the project-level capstone pools across the whole catalog, grouped by your columns, once positions have been added.
  • Headless / scripting:

    from itasc.contact_analysis import (
        ensure_contacts,        # build only if missing (or overwrite=True)
        discover_contact_batch_jobs,
        run_contact_batch,
    )
    
    # Single position (missing-only):
    ensure_contacts(
        cell_labels_path="cells.tif",
        nucleus_labels_path=None,            # optional
        output_path="contact_analysis.h5",
    )
    
    # Batch by name-based autodiscovery:
    jobs = discover_contact_batch_jobs(
        "/data/study",
        cell_name="cell_labels.tif",
        nucleus_name="nucleus_labels.tif",  # optional
        h5_name="contact_analysis.h5",
    )
    results = run_contact_batch(jobs, overwrite=False)
    

    build_contacts(...) remains available for an unconditional build.

I/O contract

  • Input: cell_labels (2D+t TIFF, required); nucleus_labels (2D+t TIFF, optional: when given, the cell_id == nucleus_id invariant is enforced).
  • Output: an HDF5 file with cells, edges, t1_events, and provenance.

Metadata

Release files for itasc-aggregate 0.2.0.dev0

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

Built distribution (wheel)

Table of built distributions (wheels) for itasc-aggregate 0.2.0.dev0
File Interpreter ABI Platform
itasc_aggregate-0.2.0.dev0-py3-none-any.whl Python 3 none any Details

Release files / itasc_aggregate-0.2.0.dev0-py3-none-any.whl

Download URL itasc_aggregate-0.2.0.dev0-py3-none-any.whl
Size 158.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b016ab2428731209c8d1735d0da6fd6e68d2bbb9a1ae7d68b7a77be2798f61b7
BLAKE2b-256 checksum
How to use checksums
b1ea3d0564ca38ed0babecd384e9368fda3b38aa70585179458931bc4398b3d4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.6 {"installer":{"name":"uv","version":"0.11.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release history Release notifications | RSS feed

This release

0.2.0.dev0 This release

1 release file

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