neurom.fst.iter_segments

neurom.fst.iter_segments(neurites, neurite_filter=None)

Return an iterator to the segments in a collection of neurites

Parameters:
  • neurites – neuron, population, neurite, or iterable containing neurite objects
  • neurite_filter – optional top level filter on properties of neurite neurite objects.

Note

This is a convenience function provideded for generic access to neuron segments. It may have a performance overhead WRT custom made segment analysis functions that leverage numpy.