Skip to main content

Module wilson_cowan

Module wilson_cowan 

Source
Expand description

Batch parity with WilsonCowanUnit.step in src/sc_neurocore/neurons/models/wilson_cowan.py (Wilson & Cowan 1972, Biophys. J. 12:1–24).

Per step: dE/dt = (−E + sigmoid(w_ee · E − w_ei · I + ext)) / τ_e dI/dt = (−I + sigmoid(w_ie · E − w_ii · I)) / τ_i (E, I) advance through one fixed-step RK4 update.

where sigmoid(x) = logistic(a·(x − θ)) − logistic(−a·θ).

The model is deterministic (no noise), so parity needs no pre-drawn RNG buffer. Transcendental library implementations are compared under the public bounded floating-point trajectory contract.

Functions§

derivatives 🔒
finite_rate 🔒
logistic 🔒
sigmoid 🔒
simulate
Simulate ext_input.len() Wilson-Cowan iterations, writing per-step E and I traces into caller-allocated buffers. Returns final (E, I) for convenience.
valid_configuration 🔒