tree_morphometry — GRAPH tree op

• Data kinds: table → table

• Call: import fullseye as fs; fs.ledger.tree_morphometry(tree) (implementation को सीधे call करना हो तो import treemorph; treemorph.tree_morphometry(tree), registry से लेना हो तो opsgraph.get("tree_morphometry"))

उपयोग

tree table (tree_from_swc से) की गिनतियाँ और लंबाइयाँ।

> नीचे का विस्तृत विवरण मूल text में है — सारांश और headings का अनुवाद हो चुका है।

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 tree_from_swc).

संदर्भ (sample data, साहित्य)

• Sample data catalog (DL URL / license) — 2-D के लिए skimage.data (BSD/public) + synthetic, 3-D के लिए real data sources (Stanford/PDS आदि) के DL URL।

• Operators का स्रोत और संदर्भ — इस op family के मूल research/methods के स्रोत।

• Algorithm का मानक स्रोत (लेखक, वर्ष) और उपयोग ऊपर की family usage guide में दिए गए हैं।

चलाए जा सकने वाले उदाहरण (verified samples जो सच में यह op call करते हैं)

• poc_swc_tree_truth — py -3.11 examples/poc_swc_tree_truth.py

• poc_worm_neurites_grow — py -3.11 examples/poc_worm_neurites_grow.py

• poc_worm_synapses_vs_neurites — py -3.11 examples/poc_worm_synapses_vs_neurites.py

वे अगले ops जिनसे type जुड़ता है (table को input के रूप में लेते हैं)

graph_edge_consensus · graph_core_persistence · tree_sholl · tree_run_length

इसी category के (tree)

tree_from_swc · tree_sholl · tree_run_length


*Provenance: treemorph.py — GRAPH operator registry. यह per-op note tools/opdocs.py md से अपने-आप generate होता है (हाथ से edit न करें)।*

© 2026 Kazufumi Furuse — Fullseye operator documentation. Licensed under Apache-2.0.