symmetry op• Data kinds: matrix → table
• Call: import fullseye as fs; fs.ledger.graph_swap_symmetry(adj, pairs) (implementation को सीधे call करना हो तो import graphinv; graphinv.graph_swap_symmetry(adj, pairs), registry से लेना हो तो opsgraph.get("graph_swap_symmetry"))
node pairs की अदला-बदली के बाद wiring का कितना भाग बचता है (left/right test)।
> नीचे का विस्तृत विवरण मूल text में है — सारांश और headings का अनुवाद हो चुका है।
pairs is a sequence of (i, j) index pairs to exchange (each node in at most one pair). The wiring is re-indexed by the exchange and compared with the original:
jaccard = |E ∩ E'| / |E ∪ E'| over directed edges (self-loops removed). Returns a dict with jaccard, shared, union, edges, and n_pairs.
Identities: the identity pairing (or an empty pairs) gives exactly 1.0; applying the exchange twice recovers the original matrix exactly. For the C. elegans hermaphrodite chemical connectome with its 98 named left/right pairs the measured value is 0.470 — half the wiring is not mirrored.
Raises ValueError: as graph_degree_summary; an index out of range; a node appearing in two pairs; a pair of a node with itself.
• 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 में दिए गए हैं।
• graphinv_three_phyla — py -3.11 examples/graphinv_three_phyla.py
• poc_connectome_lr_symmetry — py -3.11 examples/poc_connectome_lr_symmetry.py
table को input के रूप में लेते हैं)graph_edge_consensus · graph_core_persistence · tree_morphometry · tree_sholl · tree_run_length
symmetry)—
*Provenance: graphinv.py — GRAPH operator registry. यह per-op note tools/opdocs.py md से अपने-आप generate होता है (हाथ से edit न करें)।*
© 2026 Kazufumi Furuse — Fullseye operator documentation. Licensed under Apache-2.0.