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

Uploaded Source

Built Distribution

octarine_navis_plugin-0.1.2-py3-none-any.whl (22.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: octarine_navis_plugin-0.1.2.tar.gz
  • Upload date:
  • Size: 21.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.20

File hashes

Hashes for octarine_navis_plugin-0.1.2.tar.gz
Algorithm Hash digest
SHA256 7a06b3341d334420aa3a3ed5cb0b8f4ac57ebec2e93f1c4ae7071ba3be734fd1
MD5 21f3e1d150bcea80d15c579112b7a5d7
BLAKE2b-256 3ebb679853e0fceba7a1c89745cbda291dc00d294b6eafd80fde728be00c4657

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for octarine_navis_plugin-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 64cce9f774827b4c6190dea2cfe20126da26c28ea28caff2ac5c03080172fecd
MD5 595be7cc20c842e22cf1bf3c9c14e593
BLAKE2b-256 08cf150fe52bda86b0d6e7b8995a3e63e871ac36e12678f693874a5279d61935

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