biocircuits.ar_or_single

biocircuits.ar_or_single(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 with single occupancy.

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) / (1 + x**nx + y**ny)

Return type

NumPy array or float