Expand description
Utilities for manipulating tree graphs, for the analysis of neuronal arbors.
Re-exports§
pub use slab_tree;
Traits§
- Location
- Spatial
Arbor - Topo
Arbor - Trait adding some topological utilities to a tree representation.
Functions§
- edges_
to_ tree_ with_ data - Given tuples of (child_id, optional_parent_id, child_data), make a tree whose node data are (id, data). Returns that tree, and a mapping from the passed-in IDs to the internal IDs.
- resample_
linestring - Place one point at the start of the linestring.
Travel down the linestring, placing another point at intervals of
length
, until you reach the end. Return all the placed points. - resample_
tree_ points - Keeps root, branches, and leaves: otherwise, resample each slab with the given length.