NodeTree

Contents

NodeTree#

class braincell.NodeTree(nodes, edges, root_node_id, cv_to_mid_node_id, branch_endpoint_node_id)[source]#

Point-space view of a cell’s declaration-time discretization.

Variables:
  • nodes (tuple of Node) – All point-space nodes in stable id order.

  • edges (tuple of NodeEdge) – Directed node-tree edges.

  • root_node_id (int) – Id of the unique root node.

  • cv_to_mid_node_id (numpy.ndarray) – (n_cv,) array mapping each CV id to its midpoint node id.

  • branch_endpoint_node_id (numpy.ndarray) – (n_branch, 2) array mapping each branch to its proximal and distal endpoint node ids.

Notes

The node tree is still a static declaration-time object. It is the point-space structural view later consumed by scheduling and runtime lowering, but it does not itself contain mutable runtime state.