Skip to main content

A Napari plugin for OME-Arrow and OME-Parquet bioimage data

Project description

napari-ome-arrow

License BSD-3 PyPI Python Version napari hub npe2 Software DOI badge

napari-ome-arrow opens OME image data in napari using the OME-Arrow library.

Supported inputs

  • Typed OME-Arrow dataset directories (*.ome-arrow)
  • Nested OME-Arrow tables in Parquet (*.ome.parquet, *.parquet, *.pq)
  • OME-Vortex files (*.ome.vortex, *.vortex)
  • OME-TIFF and TIFF files (*.ome.tif, *.ome.tiff, *.tif, *.tiff)
  • OME-Zarr stores (*.ome.zarr, *.zarr)
  • Numbered image stacks and stack patterns containing <, >, or *
  • NumPy arrays (*.npy)

Multi-image OME-Arrow datasets and multi-row nested tables are loaded as multiple napari layers.

Installation

Python 3.11 or newer is required.

Install the plugin into an existing napari environment:

pip install napari-ome-arrow

Or install napari with a Qt backend at the same time:

pip install "napari-ome-arrow[pyqt6]"

OME-Vortex support requires one additional extra:

pip install "napari-ome-arrow[vortex]"

Usage

Open napari, then drag a supported file or directory into the viewer. You can also start napari with a path:

napari sample.ome.parquet
napari images.ome-arrow

The plugin loads data as either image or labels layers. It chooses the layer type in this order:

  1. NAPARI_OME_ARROW_LAYER_TYPE, when set to image or labels.
  2. OME-Arrow image_type metadata, when available.
  3. A napari prompt.
  4. image when running without a Qt application.

Set the mode explicitly for scripts or repeatable commands:

NAPARI_OME_ARROW_LAYER_TYPE=labels napari segmentation.ome.parquet

For a numbered stack, select the files together or provide a pattern:

napari "stack/z<000-120>.tif"

Configuration

Environment variable Purpose
NAPARI_OME_ARROW_LAYER_TYPE Load as image or labels
NAPARI_OME_ARROW_PARQUET_COLUMN Select an OME-Arrow struct column in Parquet
NAPARI_OME_ARROW_VORTEX_COLUMN Select an OME-Arrow struct column in Vortex
NAPARI_OME_ARROW_STACK_SCALE Set stack spacing as Z,Y,X or T,C,Z,Y,X

Multiple rows are displayed in napari's grid view. Image stacks with a real Z dimension open in 3D. If stack spacing is missing, the plugin can prompt for it when a Qt application is available.

Development

See CONTRIBUTING.md for setup and test instructions.

License

This project uses the BSD 3-Clause License. See LICENSE.

Report problems through the issue tracker.

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

napari_ome_arrow-0.0.6.tar.gz (272.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

napari_ome_arrow-0.0.6-py3-none-any.whl (24.1 kB view details)

Uploaded Python 3

File details

Details for the file napari_ome_arrow-0.0.6.tar.gz.

File metadata

  • Download URL: napari_ome_arrow-0.0.6.tar.gz
  • Upload date:
  • Size: 272.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for napari_ome_arrow-0.0.6.tar.gz
Algorithm Hash digest
SHA256 25d2cee65a76e86a3ae3463bd40aa84471502ca4503941fa5128f0dd6d800071
MD5 2543b3e050dc241bd3941625af7bc48c
BLAKE2b-256 ba91a198576dc52b2803cf72c655418fd5cbd38fbcc104a52c6c87e03bd94c86

See more details on using hashes here.

Provenance

The following attestation bundles were made for napari_ome_arrow-0.0.6.tar.gz:

Publisher: publish-pypi.yml on WayScience/napari-ome-arrow

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file napari_ome_arrow-0.0.6-py3-none-any.whl.

File metadata

File hashes

Hashes for napari_ome_arrow-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 5ad906a11a265e7f868e1f689bd60dfabc1ff7e78599739bbafa796792052d3f
MD5 0a25b451cb1fe4964b6aed9c0c25cb28
BLAKE2b-256 8d664e62e2a21ebb5e1b8f3d697dd73fd85312470745336116aa0b1e847f7134

See more details on using hashes here.

Provenance

The following attestation bundles were made for napari_ome_arrow-0.0.6-py3-none-any.whl:

Publisher: publish-pypi.yml on WayScience/napari-ome-arrow

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page