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

Uploaded Source

Built Distribution

octarine_navis_plugin-0.0.2-py3-none-any.whl (21.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for octarine_navis_plugin-0.0.2.tar.gz
Algorithm Hash digest
SHA256 9c62c228349605f7c27cfd769fd14fe1fbbee840f51e6730313f08026e44e507
MD5 1a97929599130e74024f61c8f1646e55
BLAKE2b-256 a2741c94745b51bece7b0e2406e7dca67bee52706ee0ce63fa55ce27752eb2c9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for octarine_navis_plugin-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 1a2e0f7c2689be5632ca896e5fba9007a1ac69b676a709df790e1c55a5f4170c
MD5 1e56c5c4ff310bcb40b0f09f2b0fd57c
BLAKE2b-256 569733d684b33e04d7e9a9a3fbdcb409855d70a699dcc59f16c9765d9911cade

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