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.5.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.5-py3-none-any.whl (23.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: octarine_navis_plugin-0.1.5.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.5.tar.gz
Algorithm Hash digest
SHA256 6ec03d596098d5d24bff66c8a726e18dcf08084181271a143f805cbc4836b23a
MD5 3a53529ade8a375cfdb5756243684573
BLAKE2b-256 bbd0c1723ec777540b0be1ecdc192e589571d6542884e06b007a689b223d234b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for octarine_navis_plugin-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 d819ba6809a5bacffc4059f616ae8b618a00694f3307a9a13df3908b3f79627a
MD5 49ba1603f394e6c9463480adf9cfdf35
BLAKE2b-256 1e520bba068c310ad99c677988d066dfa7669f5bf3ab9d47ceb50fffdd48f3c6

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