def terminal_path_lengths_per_neurite(neurites, neurite_type=NeuriteType.all):
return list(sectionfunc.section_path_length(s)<EOL>for n in iter_neurites(neurites, filt=is_type(neurite_type))<EOL>for s in iter_sections(n, iterator_type=Tree.ileaf))<EOL>
Get the path lengths to each terminal point per neurite in a collection