def section_radial_distances(neurites, neurite_type=NeuriteType.all, origin=None,<EOL>iterator_type=Tree.ipreorder):
dist = []<EOL>for n in iter_neurites(neurites, filt=is_type(neurite_type)):<EOL><INDENT>pos = n.root_node.points[<NUM_LIT:0>] if origin is None else origin<EOL>dist.extend(sectionfunc.section_radial_distance(s, pos)<EOL>for s in iter_sections(n,<EOL>iterator_type=iterator_type))<EOL><DEDENT>return dist<EOL>
Section radial distances in a collection of neurites.
    The iterator_type can be used to select only terminal sections (ileaf)
    or only bifurcations (ibifurcation_point).