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 so that you can choose the install options (e.g. the Window manager) yourself.

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.1.3.tar.gz (21.7 kB view details)

Uploaded Source

Built Distribution

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

octarine_navis_plugin-0.1.3-py3-none-any.whl (22.6 kB view details)

Uploaded Python 3

File details

Details for the file octarine_navis_plugin-0.1.3.tar.gz.

File metadata

  • Download URL: octarine_navis_plugin-0.1.3.tar.gz
  • Upload date:
  • Size: 21.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.22

File hashes

Hashes for octarine_navis_plugin-0.1.3.tar.gz
Algorithm Hash digest
SHA256 5686baa1f8aab0c2a89d0973dc8356332fed80766e16aa1aa5c2c03add1a2c07
MD5 7c853dbdea14f5139b5556619f451953
BLAKE2b-256 35871d7a3baa379164f58fd664e4779bd46ed752d602ba4a9cb5c44056c0ec76

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for octarine_navis_plugin-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 77670079d71c15a4a6f43bdff35c1abc8fcc3d7cab4ad472411d2b35c621c938
MD5 93ce96595c3ae07844c3a1cce86aaa36
BLAKE2b-256 d0bbfdb858bad976d43bd71bbce7437f8fb3b51db3ea5f65cf47be16aa8a6810

See more details on using hashes here.

Supported by

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