Skip to main content

Load image data understood by PDR into Napari

Reason this release was yanked:

completely nonfunctional

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.0.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.0-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: napari_pdr-0.1.0.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.0.tar.gz
Algorithm Hash digest
SHA256 ac185ea3d5e20a71a3818523b20e6b8344bced68411688e4d796c9827021dea8
MD5 5f0eaae2c9aeb0eadf382c13b252af59
BLAKE2b-256 6173a9c34599b688855271826dab7d3da9ac23abf63051cd85dbf7be51a5d914

See more details on using hashes here.

File details

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

File metadata

  • Download URL: napari_pdr-0.1.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d415d3cc0664f1a6d3ac13b7259684809c0baaae6140c050a3ecf224d584f99f
MD5 6ad04d59899d3b82e74a3c817f18d481
BLAKE2b-256 c14a291a528c96e442d50031e39b355c0c4b7b0af023ad1b3668a671fba4929f

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