We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6afe4b3 commit 69379a7Copy full SHA for 69379a7
overreact/simulate.py
@@ -22,6 +22,9 @@
22
from overreact import _constants as constants
23
from overreact._misc import _found_jax
24
25
+EF = 1e4
26
+
27
28
logger = logging.getLogger(__name__)
29
30
@@ -157,7 +160,7 @@ def r(t):
157
160
return y, r
158
161
159
162
-def get_dydt(scheme, k, ef=1e4):
163
+def get_dydt(scheme, k, ef=EF):
164
"""Generate a rate function that models a reaction scheme.
165
166
Parameters
@@ -241,7 +244,7 @@ def _jac(t, y):
241
244
return _dydt
242
245
243
246
-def _adjust_k(scheme, k, ef=1e4):
247
+def _adjust_k(scheme, k, ef=EF):
248
"""Adjust reaction rate constants so that equilibria are equilibria.
249
250
0 commit comments