Skip to main content

Octarine plugin to visualize NAVis data in 3D.

Project description

Octarine NAVis Plugin

This plugin enables Octarine to visualize NAVis data such as skeletons, meshes, volumes, etc.

Installation

pip install octarine-navis-plugin -U

Note that you will have to install Octarine and NAVis separately. This is intentional to keep the dependencies light.

Usage

The plugin will automatically be loaded alongside Octarine and extends the functionality by:

  1. Allowing to pass navis.Neuron/Lists, navis.Volumes and skeletor.Skeletons to the generic Viewer.add() method.
  2. Adding a dedicated Viewer.add_neurons method with various specialized parameters that shadow the options in navis.plot3d.
import navis
import octarine as oc

# Initialize the viewer
v = oc.Viewer()

# Grab some neurons
n = navis.example_neurons(5, kind='mesh')

# Add them to the viewer
v.add(n)

# Alternatively use the specialized method with additional options
navis.strahler_index(n)
v.clear()
v.add_neurons(n, color_by='strahler_index', palette='viridis')

example

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

octarine-navis-plugin-0.0.1.tar.gz (20.5 kB view details)

Uploaded Source

Built Distribution

octarine_navis_plugin-0.0.1-py3-none-any.whl (21.3 kB view details)

Uploaded Python 3

File details

Details for the file octarine-navis-plugin-0.0.1.tar.gz.

File metadata

  • Download URL: octarine-navis-plugin-0.0.1.tar.gz
  • Upload date:
  • Size: 20.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.8

File hashes

Hashes for octarine-navis-plugin-0.0.1.tar.gz
Algorithm Hash digest
SHA256 0e18d29479201ea8c32c57bdfaf3f9343e816b0b7ffffce3afe433b9e520816f
MD5 be9e12ac0d0d8b6337ecc647efab0e57
BLAKE2b-256 e3d1171c0068f2487d3c51779886b8acac669b71ca9142ab42d0211b58bd6707

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for octarine_navis_plugin-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 396eafd3d7d74b365822f01f83bced3a0535305e7189d2d9dbf0eb836f861f7f
MD5 a17c52cff351b79e64f7708680406108
BLAKE2b-256 4bfbda19ea16f0471bee193a904a363243a8c782254073c3fa15f78411aa836c

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page