Skip to main content

Load image data understood by PDR into Napari

Project description

napari-pdr: Load image data into Napari using PDR

This Napari plugin adds a loader that can load any type of image data understood by the Planetary Data Reader (PDR).

Installation

It is necessary to install PDR and its dependencies as well as the plugin’s own code. The easiest way to do this is to install the plugin package, napari_pdr, into the Python runtime context where Napari looks for its libraries. For example, if Napari is installed via pipx,

pipx inject napari napari-pdr

will do the job. If you have installed Napari some other way, you will need to use different commands (please suggest additional examples for this section).

Usage

Either give PDS labels on the command line to napari, or open them from inside the application (File -> Open File(s)…). Because PDS labels (and data files with embedded labels) can have a wide variety of extensions, the plugin accepts all files; you may be prompted to decide whether you want the PDR plugin or some other loader. Each label will be inspected for data objects that appear to be images, and all such data objects will be loaded into the napari session, one layer per object.

Currently “appears to be an image” is defined by a very simple heuristic that may be wrong in both directions. Also, we currently make no attempt to load metadata, annotation layers, etc.

Comments, suggestions, bug reports, etc.

We are actively looking for feedback on the user experience of this plugin. Please file all commentary, suggestions, etc. as GitHub issues: https://github.com/MillionConcepts/napari-pdr/issues

Licensing

Copyright 2026, Million Concepts LLC.

Redistribution and use are permitted under the terms of the 3-clause BSD license; see LICENSE.md for exact terms.

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_pdr-0.1.1.tar.gz (5.7 kB view details)

Uploaded Source

Built Distribution

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

napari_pdr-0.1.1-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

Details for the file napari_pdr-0.1.1.tar.gz.

File metadata

  • Download URL: napari_pdr-0.1.1.tar.gz
  • Upload date:
  • Size: 5.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.14

File hashes

Hashes for napari_pdr-0.1.1.tar.gz
Algorithm Hash digest
SHA256 0539487185f1851b5b9a829fcdb0674c3ac1968fb799384d24bf8c414b8343fa
MD5 f6f04d5ec7b06e1a35ee1dcb5ae9df3b
BLAKE2b-256 339e78e0bfdd4f700a7cc4117769d4f3d9f425bc61b38a50ddd462929af6951e

See more details on using hashes here.

File details

Details for the file napari_pdr-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: napari_pdr-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 5.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.14

File hashes

Hashes for napari_pdr-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9a0d91f1d4f9959620a27c6026e2db2b2d91672a3490a78ee3e5d91e62753c0d
MD5 5bc3f7d96c58acab16307acde7d49462
BLAKE2b-256 348ec4a076ef389783eb76f310d0fc5d9722af3be7d382ffd5e905b224e5cba1

See more details on using hashes here.

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