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:
- Allowing to pass
navis.Neuron/Lists,navis.Volumesandskeletor.Skeletonsto the genericViewer.add()method. - Adding a dedicated
Viewer.add_neuronsmethod with various specialized parameters that shadow the options innavis.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')
Release files for octarine-navis-plugin 0.1.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| octarine_navis_plugin-0.1.8.tar.gz | 24.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| octarine_navis_plugin-0.1.8-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 51.1 kB