[][src]Crate neurarbor

Utilities for manipulating tree graphs, for the analysis of neuronal arbors.

Re-exports

pub use slab_tree;

Traits

Location
TopoArbor

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.

Type Definitions

Precision