🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

napari-roxas-ai

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

napari-roxas-ai

A plugin that integrates the ROXAS AI analysis methods for quantitative wood anatomy in the napari platform

0.1.2
PyPI
Maintainers
1

napari-roxas-ai

License GNU GPL v3.0 PyPI Python Version tests codecov napari hub

A plugin that integrates the ROXAS AI analysis methods for quantitative wood anatomy in the napari platform

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

Installation

Environment setup

It's recommended to create a dedicated Python environment for napari-roxas-ai:

  • Install Miniconda if you don't have it already: Miniconda Installation Guide

  • Create a new environment:

conda create -n roxas-ai python=3.12
conda activate roxas-ai

Installation

Install napari-roxas-ai via pip:

pip install napari-roxas-ai

Launching the plugin

Once installed, you can launch napari with the roxas-ai plugin:

napari

Verifying installation

To check if the plugin is working correctly:

  • Go to File > Open Sample > ROXAS AI in the napari interface.
  • The first time you open a sample, it may take some time as sample data and model weights are being downloaded. Progress will be logged in the terminal.
  • After the downloads, a sample made of three layers should open in the viewer

GPU Support

If you want to use GPU acceleration for model inference:

Contributing

Contributions are very welcome. Tests are automatically run with tox, please ensure the coverage at least stays the same before you submit a pull request.

Contributor Installation

In order to contribute to the development of the plugin the installation can be done as follows:

  • Create an environment
conda create -n roxas-ai python=3.12
conda activate roxas-ai
  • In the cloned / forked plugin directory, install the plugin dependencies
pip install -e .
  • Install the testing dependencies, as well as the napari plugin engine
pip install -e ".[testing]"
pip install npe2
  • Install pre-commit for quality checks
pip install pre-commit
pre-commit install

Documentation: Plugin Template and Development

You can find more information on the plugin template on the napari-plugin-template repository. You can find more information on plugin contributions and how to create plugins on the plugins section of the napari documentation.

License

Distributed under the terms of the GNU GPL v3.0 license, "napari-roxas-ai" is free and open source software

Issues

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

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts