pub fn simulate(
e: f64,
i: f64,
w_ee: f64,
w_ei: f64,
w_ie: f64,
w_ii: f64,
tau_e: f64,
tau_i: f64,
a: f64,
theta: f64,
dt: f64,
ext_input: &[f64],
e_out: &mut [f64],
i_out: &mut [f64],
) -> (f64, f64)Expand description
Simulate ext_input.len() Wilson-Cowan iterations, writing per-step
E and I traces into caller-allocated buffers. Returns final
(E, I) for convenience.