File Formats & IO

File Formats & IO#

Real morphologies come from reconstructions, not hand-typed coordinates. braincell reads the common neuronal-morphology formats and integrates with NeuroMorpho.Org, the largest public repository of reconstructed neurons. It can also save and reload its own morphologies.

All readers and the NeuroMorpho client live in braincell.io; the most common entry points are the Morphology.from_* constructors.

Format

Loader

Notes

SWC

Morphology.from_swc

the de-facto standard; simple point + parent table

Neurolucida ASC

Morphology.from_asc

MicroBrightField / Neurolucida ASCII

NeuroML2

NeuroMlReader

XML-based standard for detailed models

NeuroMorpho.Org

Morphology.from_neuromorpho / io.load_neuromorpho

download + cache directly from the repository

Checkpointing

io.save_morpho / io.load_morpho

persist a braincell morphology to disk