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.4.tar.gz (22.1 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.4-py3-none-any.whl (23.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: octarine_navis_plugin-0.1.4.tar.gz
  • Upload date:
  • Size: 22.1 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.4.tar.gz
Algorithm Hash digest
SHA256 2ae89cc014b765e065772088eb2f693407d240cbc39cfe3373c3956ea6033fec
MD5 c72a66a5c686300447dd123351b36580
BLAKE2b-256 0660a42198d5267e4c06bb83792e1be83315309b9a8ca3343102dc919a1dddc3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for octarine_navis_plugin-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 56cf5dc515e0081b8b977cbc3f56b05e2a3c79f0e64cd865d216efb811675468
MD5 bfaf1eada21d7d606f0774b94a401ce2
BLAKE2b-256 c54611b421da2d80ecf072b8d009406b97eeb966e8c6bb2b2e9d656eb783968a

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