neurotools.graphics.dendron module
- neurotools.graphics.dendron.get_depth(tree)[source]
Get depth of tree-like structure. The tree can be given as any nested structure of iterables (strings are not counted as iterable, however)
- neurotools.graphics.dendron.count_nodes(tree)[source]
Count leaf nodes of tree-like structure. The tree can be given as any nested structure of iterables (strings are not counted as iterable, however)