pub(crate) fn py_rulkov_map_simulate<'py>(
py: Python<'py>,
x0: f64,
y0: f64,
alpha: f64,
sigma: f64,
mu: f64,
x_threshold: f64,
n_steps: usize,
current: f64,
) -> (Bound<'py, PyArray1<f64>>, i64, f64, f64)Expand description
Parity contract with sc_neurocore.neurons.models.rulkov_map.RulkovMapNeuron.simulate:
for the same parameters and constant input the returned x trace, upward-
crossing spike count, and final (x, y) state are bit-identical to the
Python reference (the map is exact floating-point arithmetic — one division,
additions and multiplications, no transcendental functions).