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.6.tar.gz (22.2 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.6-py3-none-any.whl (23.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: octarine_navis_plugin-0.1.6.tar.gz
  • Upload date:
  • Size: 22.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.25

File hashes

Hashes for octarine_navis_plugin-0.1.6.tar.gz
Algorithm Hash digest
SHA256 7033a62324716cce21a6ef9c0ee1d1b4356cb23bd2aeb13945b9f3d40fe6f559
MD5 59774d73d1736e2ce51d943f9d3b6b6e
BLAKE2b-256 61cf6b64402299c4925f1a6db7f633af18a513ba2485cb33da1371f8e0cfdd28

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for octarine_navis_plugin-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 62989ea691c402e426a749827c5e71a921f9ce118730db41eb8e35ce9bdf9452
MD5 d762820147d28074c5c288d1ac8ca3d9
BLAKE2b-256 a2a04fbcece31b21700769730e2c32f9794f97d84e4c9e5c13afcee2d53eeaf9

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