Skip to main content

acquifer-napari

The acquifer-napari plugin allow loading IM04 dataset directory, as multi-dimensional images in napari.
Sliders for well, channel, time and Z are automatically rendered when there are more than 1 coordinates along the dimension.
The plugin uses Dask-Image for efficient data-loading "on request" similar to the VirtualStack in ImageJ.

Installation

Via the napari plugin manager : acquifer-napari. Or with pip : pip install acquifer-napari.

Use pip install -e . to install in developement mode, so any change in the source code is directly reflected.
Use npe2 list to check that the plugin is correctly installed and visible by napari.
For instance here, the package defines 1 command, which is a reader.
One could have more commands, which would be implement other types.
This should output something like following ┌──────────────────────────────┬─────────┬──────┬───────────────────────────────────────────────────────────┐ │ Name │ Version │ Npe2 │ Contributions │ ├──────────────────────────────┼─────────┼──────┼───────────────────────────────────────────────────────────┤ │ acquifer-napari │ 0.0.1 │ ✅ │ commands (1), readers (1)

The plugin should be installed in an environment with napari installed.
Napari can be started with the naparicommand in a command prompt with a system wide python installation.
Once installed, napari can be opened in a IPython interactive session with

>> import napari
>> napari.Viewer()

Configurations

The file napari.yaml in acquifer_napari_plugin defines what functions of the python package are visible to napari.
The top level name field must be the same than the python package name defined in setup.cfg. It first define a set of commands, which have a custom id, and a python_name, which is the actual location of the function in the python package (or module).
Then the napari.yaml has optional subsections readers, writers, widget, to reference some of the commands previously defined, to notify napari that they implemente those standard functions.
For instance I first define a command myReader pointing to myPackage.myReader, and I reference that command using the id it in the section readers
See https://napari.org/stable/plugins/first_plugin.html#add-a-napari-yaml-manifest

Issues

If you encounter any problems, please file an issue along with a detailed description.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

acquifer-napari-0.0.1.tar.gz (25.4 kB view details)

Uploaded Source

Built Distribution

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

acquifer_napari-0.0.1-py3-none-any.whl (18.7 kB view details)

Uploaded Python 3

File details

Details for the file acquifer-napari-0.0.1.tar.gz.

File metadata

  • Download URL: acquifer-napari-0.0.1.tar.gz
  • Upload date:
  • Size: 25.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.10

File hashes

Hashes for acquifer-napari-0.0.1.tar.gz
Algorithm Hash digest
SHA256 4a892308a3477aa5575c8acb2a89ce16095164206db7ba07e2644e79324758f8
MD5 00e64c629956c7b5fc80a081f2b63a44
BLAKE2b-256 7425bdd653e24bdb6866fb7d753deaf9967b397012c702ffe386142476c78619

See more details on using hashes here.

File details

Details for the file acquifer_napari-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for acquifer_napari-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 44d2ce2dec9937816d6bf694c34895e1e5cd0336ffae6304f02c3d58c281706d
MD5 b4a707f6de35f0a3595c1abe7bad6bef
BLAKE2b-256 78d2c6e939b28625f205dfee46ef8b196eff377d8803dfff99c496e654476d31

See more details on using hashes here.

Release history Release notifications | RSS feed

0.0.2

2 files

This release

0.0.1 This release

2 files

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