Skip to main content

napari-debcr

DeBCR is a Python-based framework for light microscopy data enhancement, including denoising and deconvolution.

napari-debcr is add-on plugin, created to provide a graphical interface for DeBCR in Napari viewer.

This plugin was initialized with copier using the napari-plugin-template.

License

This is an open-source project and is licensed under MIT license.

Contact

For any questions or bur-reports related to:

Installation

As for the core package debcr, there are two hardware-based installation options for napari-debcr:

  • napari-debcr[tf-gpu] - for a GPU-based trainig and prediction (recommended);
  • napari-debcr[tf-cpu] - for a CPU-only execution (note: training on CPUs might be quite slow!).

GPU prerequisites

For a GPU version you need:

  • a GPU device with at least 12Gb of VRAM;
  • a compatible CUDA Toolkit (recommemded: CUDA-11.7);
  • a compatible cuDNN library (recommemded: v8.4.0 for CUDA-11.x from cuDNN archive).

For more info on GPU dependencies please check our GPU-advice page on DeBCR GitHub.

Create a package environment (optional)

For a clean isolated installation, we advice using one of Python package environment managers, for example:

Create an environment for napari-debcr using

micromamba env create -n napari-debcr python=3.9 -y

and activate it for further installation or usage by

micromamba activate napari-debcr

Install napari

Make sure you have napari installed. To install it via pip use:

pip install napari[all]

Install napari-debcr

Install one of the napari-debcr versions:

  • GPU (recommended; backend: TensorFlow-GPU-v2.11):
    pip install 'napari-debcr[tf-gpu]'
    
  • CPU (limited; backend: TensorFlow-CPU-v2.11)
    pip install 'napari-debcr[tf-cpu]'
    

Test GPU visibility

For a GPU version installation, it is recommended to check if your GPU device is recognised by TensorFlow using

python -c "import tensorflow as tf; print(tf.config.list_physical_devices('GPU'))"

which for a single GPU device should produce a similar output as below:

[PhysicalDevice(name='/physical_device:GPU:0', device_type='GPU')]

If your GPU device list is empty, please check our GPU-advice page on DeBCR GitHub.

Usage

To start using napari-debcr,

  1. activate napari-debcr environment, if was inactive, by
micromamba activate napari-debcr
  1. start Napari by typing
napari
  1. in Napari window, open napari-debcr plugin by clicking in the main menu

Plugins → DeBCR (DeBCR)

Metadata

Release files for napari-debcr 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for napari-debcr 0.1.0
File Size Uploaded Provenance
napari_debcr-0.1.0.tar.gz 15.5 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for napari-debcr 0.1.0
File Interpreter ABI Platform
napari_debcr-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 36.4 kB

Release files / napari_debcr-0.1.0.tar.gz

Download URL napari_debcr-0.1.0.tar.gz
Size 15.5 kB
Tags Source
SHA-256 checksum
How to use checksums
14bcaf130a27228370251fb825935d90254f8d00bb1a4906454e6d40a726ae3f
BLAKE2b-256 checksum
How to use checksums
3b123d42e8d6ac6f242fb36f588b7d2b44bdfc3bba0795360b6b580afb5f3427
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.1.3 CPython/3.9.5 Linux/5.15.0-139-generic

Release files / napari_debcr-0.1.0-py3-none-any.whl

Download URL napari_debcr-0.1.0-py3-none-any.whl
Size 20.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1c8e5db82a503f8ea4f7b474584bb469315dff9d252cb8b3d0ab4c1bd3cf60ea
BLAKE2b-256 checksum
How to use checksums
a779d776961fc5c00269b2266b769ef98141c8a1dbb2323ab8aa060c362569dc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.1.3 CPython/3.9.5 Linux/5.15.0-139-generic

Security for napari-debcr 0.1.0

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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

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