neurom.core.tree.i_chain¶
-
neurom.core.tree.
i_chain
(trees, iterator_type, mapping=None, tree_filter=None)¶ Returns a mapped iterator to a collection of trees
Provides access to all the elements of all the trees in one iteration sequence.
Parameters: - trees – iterator or iterable of tree objects
- iterator_type – type of the iteration (segment, section, triplet...)
- mapping – optional function to apply to the iterator’s target.
- tree_filter – optional top level filter on properties of tree objects.