Skip to main content

simulate

Function simulate 

Source
pub fn simulate(
    v: f64,
    a_exc: f64,
    i_exc: f64,
    a_inh: f64,
    i_inh: f64,
    v_rest: f64,
    v_threshold: f64,
    tau_v: f64,
    tau_exc: f64,
    tau_inh: f64,
    dt: f64,
    exc_current: &[f64],
    inh_current: &[f64],
) -> Result<AlphaTrace, AlphaError>
Expand description

Simulate a complete caller-owned piecewise-constant drive batch atomically.