Skip to content

Tutorials#

Worked examples that take you from loading your first neuron all the way to plotting, morphological analysis, NBLAST and machine learning. Every tutorial is a self-contained script you can read here or download and run yourself.

New to NAVis?

Start with The Basics and work your way down.

General Tutorials#

Get to grips with the core concepts: neuron types, lists of neurons, masking, and carrying your own data along with a neuron.

Import / Export#

Load and save neurons across the many file formats and data sources NAVis supports.

Plotting#

Visualize neurons in 2D and 3D — and fine-tune every detail of how they look.

General#

Start here: which plotting mode and backend to reach for, and how to colour neurons — the one set of parameters that works the same everywhere.

2D Plotting#

Fine-tune static, publication-quality figures with navis.plot2d — one tutorial each for skeletons, meshes and volumes.

3D Plotting#

Explore neurons interactively with navis.plot3d — and render what you set up to a figure.

Other Plots#

Synapses in context, neurons flattened into one dimension, unrolled into dendrograms, packed by the hundred onto a single page — or drawn as if by hand.

Examples#

Complete figures, start to finish.

Morphology#

Measure, analyze and manipulate the morphology of your neurons.

Interfaces#

Connect NAVis to external tools like the NEURON simulator and Blender.

Remote Data Sources#

Fetch neurons straight from remote sources such as neuPrint, the MICrONS datasets and the Insect Brain DB.

NBLAST#

Compare neuron morphology at scale with NBLAST.

Misc#

Assorted tutorials that don't fit neatly elsewhere — spatial transforms and multiprocessing.

Machine Learning#

Turn variable-sized neurons into fixed-size, canonically-posed model inputs — normalize, sample and augment them for machine-learning pipelines.