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 554531c commit bde5becCopy full SHA for bde5bec
overreact/simulate.py
@@ -113,9 +113,9 @@ def get_y(
113
y0 = np.asarray(y0)
114
115
if t_span is None:
116
- # We defined alpha such that 1.0 - alpha is an estimate of the extend
117
- # to which the reaction is simulated.
118
- alpha = 1e-31
+ # We defined alpha such that 1.0 - alpha is an (under)estimate of the extend
+ # to which the reaction is simulated. And then we apply the Pareto principle.
+ alpha = 0.2
119
n_halflives = np.ceil(-np.log(alpha) / np.log(2))
120
121
halflife_estimate = 1.0
0 commit comments