acquifer-napari
The acquifer-napari plugin allows 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.
Metadata
Release files for acquifer-napari 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| acquifer-napari-0.0.2.tar.gz | 28.2 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| acquifer_napari-0.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 48.8 kB
Release files / acquifer-napari-0.0.2.tar.gz
| Download URL | acquifer-napari-0.0.2.tar.gz |
|---|---|
| Size | 28.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
285380aab2cf19bd733d239ef2cce9edd8791df158cb280fee2ae000f11bc705
|
|
BLAKE2b-256 checksum How to use checksums |
53dbbd6fa76e23e582334ef81b3e1909baca83b44aa002379a517c76b448ce3d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.10.11
|
Release files / acquifer_napari-0.0.2-py3-none-any.whl
| Download URL | acquifer_napari-0.0.2-py3-none-any.whl |
|---|---|
| Size | 20.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1b27aa4b0a62d5d2ace59601abfe5f546f474a0b38108683a8cfbcfe95699972
|
|
BLAKE2b-256 checksum How to use checksums |
cc47c4917d6ed0df8cb2702c28ef6a03c545660580036b8b1e9cd04249459017
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.10.11
|
Security for acquifer-napari 0.0.2
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.