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 (default: 5)) – The rate of activation of a by b. Defaults to 5.

  • gamma (float (default: 1)) – The rate of activation of b by a. Defaults to 1.

  • n (int (default: 2)) – The Hill coefficient. Defaults to 2.

Return type:

ndarray

Returns:

The RHS of the differential equations for the toggle switch system, calculated using the given input parameters.