neurom.ezy.neuron.Neuron.neurite_loop

Neuron.neurite_loop(iterator_type, mapping=None, neurite_type=<TreeType.all: 32>)

Iterate over collection of neurites applying iterator_type

Parameters:
  • iterator_type – Type of iterator with which to perform the iteration.
  • isegment, isection, i_section_path_length) ((e.g.) –
  • mapping – mapping function to be applied to the target of iteration.
  • segment_length). Must be compatible with the iterator_type. ((e.g.) –
  • neurite_type – TreeType object. Neurites of incompatible type are
  • out. (filtered) –
Returns:

Iterable containing the iteration targets after mapping.