neurom.io.utils.make_neuron

neurom.io.utils.make_neuron(raw_data, tree_action=None)

Build a neuron from a raw data block

The tree contains rows of raw data. :param raw_data: a RawDataWrapper object. :param tree_action: optional function to run on the built trees.

Raises:
  • SomaError if no soma points in raw_data or points incompatible with soma.
  • IDSequenceError if filename contains invalid ID sequence