Expand description
Batch parity with WongWangUnit.step in
src/sc_neurocore/neurons/models/wong_wang.py (Wong & Wang 2006,
J. Neurosci. 26:1314โ1328).
Per step:
i_k = j_n * s_k - j_cross * s_(3-k) + i_0 + stim_k + sigma * xir_k = phi(i_k)wherephi(i) = (a*i - b) / (1 - exp(-d*(a*i - b)))with singularity guard|a*i - b| < 1e-6 -> 1/d.s_k += (-s_k/tau_s + (1 - s_k) * gamma * r_k) * dt- clamp
s_kinto[0, 1].
The Python primary draws np.random.randn() twice per step; the
Rust simulator takes xi pre-drawn from the Python RNG so trajectories
are bit-exact for matching seeds. This mirrors the ping.rs +
PINGCircuit pattern: Python owns the RNG, Rust owns the inner loop.