Skip to main content

napari-argos-archive-reader

License MIT PyPI Python Version tests codecov napari hub

A plugin to read Dioptic ARGOS archive files


This repo contains a reader plugin for DIOPTIC ARGOS Archive files, which have .zip file extension. Individual ARGOS layers are grouped into napari layer with stacks according to their illumination, stage XY position and Z-stack information.

The plugin implements delayed reading using dask.delayed so that one can quickly see the contents even for large archives with many layers. Note!: switching to volume rendering or swapping axes can trigger the loading of all ARGOS layers, which can take a long time for large archives.

ARGOS is an automated system for surface inspection according to ISO 10110-7.

This plugin is still experimental and does not support all features of ARGOS archives.

Currently, the plugin

  • can read Argos matrix archives containing regular image layers including:
    • ✅ segmentation masks
    • ✅ Z-stack metadata
    • ✅ Illumination metadata
    • ✅ proper scaling and affine transformation of layers
  • can read ❔✅ Argos line scan (polar) archives with minimal support (no metadata parsing) This has not been tested on many archives.

Not supported are:

  • ❌ annotated archives
  • ❌ pyramid image structures
  • ❌ Line segmentation metadata
  • ❌ color metadata
  • ❌ ...

Usage

Opening files

Simply drag and drop an ARGOS Archive .zip file onto the napari canvas or use File->Open to open it.

Synchronizing contrast limits

By default, after reading an archive, each napari layer will have their own contrast limits, so you can adjust these contrast limits individually.

The reader plugin registers a custom key binding after reading an ARGOS archive. Pressing the s key will allow you to synchronize the contrast limits for a set of layers:

  • If you select a single napari layer corresponding to an image/stack from an ARGOS archive, all napari image layers that were loaded from this archive now have their contrast limits synchronized, i.e. changing the contrast limits of any of them will adjust the contrast limits of all of the layers belonging to the same archive.
  • If you select multiple napari layers and press s all of these and only these napari layers will have their contrast limits synchronized, regardless of whether they belong to the same ARGOS archive or not.

Installation

If you have napari installed you can install the plugin from the napari hub through the Plugins -> Plugin Manger menu entry. After waiting a short while for napari to retrieve the plugins available from the hub, simply enter "argos" in the filter line entry field at the top to narrow down the plugin list and click install.

You can install napari-argos-archive-reader via pip:

pip install napari-argos-archive-reader

To install latest development version :

pip install git+https://github.com/dioptic/napari-argos-archive-reader.git

License

Distributed under the terms of the MIT license, "napari-argos-archive-reader" is free and open source software

Metadata

Release files for napari-argos-archive-reader 0.0.7

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

Source distribution (sdist)

Source distribution for napari-argos-archive-reader 0.0.7
File Size Uploaded Provenance Actions
napari-argos-archive-reader-0.0.7.tar.gz 12.3 kB Without provenance Details for napari-argos-archive-reader-0.0.7.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for napari-argos-archive-reader 0.0.7
File Interpreter ABI Platform Actions
napari_argos_archive_reader-0.0.7-py3-none-any.whl Python 3 none any Details for napari_argos_archive_reader-0.0.7-py3-none-any.whl

Total release size: 23.9 kB

Release files / napari-argos-archive-reader-0.0.7.tar.gz

Download URL napari-argos-archive-reader-0.0.7.tar.gz
Size 12.3 kB
Tags Source
SHA-256 checksum
How to use checksums
e951a1a9bf3c76044efc672c03c069f5826eb68cd8254125fa122d8ca0a224a3
BLAKE2b-256 checksum
How to use checksums
fc205bb187943fc2a5e28ee0f65eada99fdba379099ec639301d67565106f35b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.12.1

Release files / napari_argos_archive_reader-0.0.7-py3-none-any.whl

Download URL napari_argos_archive_reader-0.0.7-py3-none-any.whl
Size 11.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
27a3171d0ac2a66620ccaba160003a17ad08f5a07848f72f22a557836366f171
BLAKE2b-256 checksum
How to use checksums
c833de3a3e4255e6953a013b2ad515c8f196e95c9f5b2ad9af27b795dea8a3bf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.12.1

Security for napari-argos-archive-reader 0.0.7

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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.

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