construct opsynapse_table → conn_graphimport fullseye as fs; fs.ledger.graph_from_synapses(syn: 'Any', n: 'int | None' = None, sign: 'float' = 1.0) -> 'np.ndarray' (実装を直接呼ぶなら import conngraph; conngraph.graph_from_synapses(syn: 'Any', n: 'int | None' = None, sign: 'float' = 1.0) -> 'np.ndarray'、台帳から引くなら opsconngraph.get("graph_from_synapses"))シナプス表 (m, 3) = (pre_id, post_id, count) を n×n の重みつき有向隣接行列にする。
W[pre, post] += count * sign。同じ (pre, post) の行は足し合わせる。
n を省くと max(id) + 1。id は 0 始まりの整数値(float で持っていてよい)
で、範囲外・非整数・負の id は拒否する。sign は抑制性シナプスを負で
入れたいときの係数(count 自体は符号を持たない量として扱う)。
py -3.11 examples/poc_fly_optomotor_steering.pypy -3.11 examples/poc_microns_brain_wave.pyconn_graph を入力に取れる)graph_degree_preserving_shuffle · graph_binarize · graph_degree_table · graph_clustering_coefficient · graph_betweenness · graph_laplacian_spectrum · graph_spectral_radius · graph_components
construct)graph_degree_preserving_shuffle · graph_binarize
Provenance: conngraph.py — CONNGRAPH operator registry. この per-op ノートは tools/opdocs.py md が自動生成(手編集しない)。
© 2026 Kazufumi Furuse — Fullseye operator documentation. Licensed under Apache-2.0.