Skip to content

g_rate

g_rate(x1, x2, gr)

Compute the cell growth rate used in the toggle-switch simulator.

Parameters:

  • x1 (ndarray of shape (n_samples,)) –

    First coordinate of the state.

  • x2 (ndarray of shape (n_samples,)) –

    Second coordinate of the state.

  • gr (float) –

    Growth-rate scale.

Returns:

  • rate ( ndarray of shape (n_samples,) ) –

    Growth rate for each sample.