biocircuits.rr_or

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

Dimensionless production rate for a gene regulated by two repressors with OR logic in the absence of leakage.

Parameters:
  • x (float or NumPy array) – Concentration of first repressor.

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

  • nx (float) – Hill coefficient for first repressor.

  • ny (float) – Hill coefficient for second repressor.

Returns:

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

Return type:

NumPy array or float