tree optable → tableimport fullseye as fs; fs.ledger.tree_morphometry(tree) (実装を直接呼ぶなら import treemorph; treemorph.tree_morphometry(tree)、台帳から引くなら opsgraph.get("tree_morphometry"))Counts and lengths of a tree table (from :func:tree_from_swc).
Returns nodes, edges, bifurcations (nodes with two or more children),
tips (nodes with no child), cable_length (sum of segment lengths),
max_path_length (longest root-to-node path along the tree) and max_radial
(largest straight distance from the root).
Identities (checked inside, fail-closed): nodes == edges + 1, and
tips == 1 + sum(children - 1) over the nodes that have children — tips are counted
from the child counts directly, the right side from the branching nodes, so a bug in
either count breaks the equality. A root with one child is not a tip.
Raises ValueError: not a tree table (see :func:tree_from_swc).
py -3.11 examples/poc_swc_tree_truth.pypy -3.11 examples/poc_worm_neurites_grow.pypy -3.11 examples/poc_worm_synapses_vs_neurites.pytable を入力に取れる)graph_edge_consensus · graph_core_persistence · tree_sholl · tree_run_length
tree)tree_from_swc · tree_sholl · tree_run_length
Provenance: treemorph.py — GRAPH operator registry. この per-op ノートは tools/opdocs.py md が自動生成(手編集しない)。
© 2026 Kazufumi Furuse — Fullseye operator documentation. Licensed under Apache-2.0.