biocircuits.ar_or

biocircuits.ar_or(x, y, nx, ny)

Dimensionless production rate for a gene regulated by one activator and one repressor with OR logic in the absence of leakage.

Parameters
  • x (float or NumPy array) – Concentration of activator.

  • y (float or NumPy array) – Concentration of repressor.

  • nx (float) – Hill coefficient for activator.

  • ny (float) – Hill coefficient for repressor.

Returns

output – (1 + x**nx + x**nx * y**ny)) / (1 + x**nx) / (1 + y**ny)

Return type

NumPy array or float