toggle_switch
toggle_switch(x, model_params)
Evaluate the deterministic toggle-switch production term.
Parameters:
-
x(ndarray of shape (n_samples, 2)) –State values, where each row is
[x1, x2]. -
model_params(array-like of shape (7,)) –Model parameters
[a1, a2, b1, b2, k1, k2, n].
Returns:
-
f(ndarray of shape (n_samples, 2)) –Deterministic production term for each sample.