diabayes.forward_models.rsf#

diabayes.forward_models.rsf(variables: Variables, params: RSFParams, constants: RSFConstants) Float[source]#

The classical rate-and-state friction law

\[v(\mu, \theta) = v_0 \exp \left( \frac{1}{a} \left[ \mu - \mu_0 - b \log \left( \frac{v_0 \theta}{D_c} \right) \right] \right)\]
Parameters:
  • variables (Variables) – The friction coefficient mu and state parameter theta

  • params (RSFParams) – The rate-and-state parameters a, b, and D_c

  • constants (RSFConstants) – The constant parameters mu0 and v0

Returns:

v – The instantaneous slip rate in the same units as v0

Return type:

Float