dynamo.sim.toggle
- dynamo.sim.toggle(ab, beta=5, gamma=1, n=2)[source]
Calculates the right-hand side (RHS) of the differential equations for the toggle switch system.
- Parameters:
ab (
Union
[ndarray
,Tuple
[float
,float
]]) – An array or tuple containing the values of the variables a and b.t – Time variable. Defaults to None.
beta (
float
) – The rate of activation of a by b. Defaults to 5.gamma (
float
) – The rate of activation of b by a. Defaults to 1.n (
int
) – The Hill coefficient. Defaults to 2.
- Return type:
- Returns:
The RHS of the differential equations for the toggle switch system, calculated using the given input parameters.