Jansen-Rit epileptiform regime
PARITYS1 · dim 6No clear winner. The survival gap is under 10 percentage points and the balanced-score gap is under 0.05, so neither SolvSRK nor the best baseline clears the win threshold. Either works - choose on cost, licensing, or integration effort. All verdicts →
6D Jansen-Rit with B=5.0 mV (reduced slow inhibition) producing spike-wave dynamics near a bifurcation boundary. Tests solver robustness at pathological parameter regimes.
Problem definition
Wendling et al. (2002), Eur. J. Neurosci., Table 1 Type 5
Canonical RHS excerpt from the registered callable used for this benchmark cell. Expand it to verify the state equations; it is not a standalone runnable fixture.
Show canonical RHS excerpt
def _stable_expit(x):
"""Numerically stable sigmoid 1/(1+exp(-x)), scalar or array."""
x = np.asarray(x, dtype=float)
return np.where(
x >= 0,
1.0 / (1.0 + np.exp(-x)),
np.exp(x) / (1.0 + np.exp(x)),
)
def _jr_sigmoid(v, v_max=5.0, r=0.56, v0=6.0):
"""Jansen-Rit population sigmoid: S(v) = v_max / (1 + exp(r*(v0 - v)))."""
return v_max * _stable_expit(r * (v - v0))
def rhs(t: float, y: np.ndarray) -> np.ndarray:
x0, x1, x2, x3, x4, x5 = y
S_pyr = _jr_sigmoid(x1 - x2)
S_exc = _jr_sigmoid(C1 * x0)
S_inh = _jr_sigmoid(C3 * x0)
return np.array([
x3,
x4,
x5,
A * a * S_pyr - 2.0 * a * x3 - a2 * x0,
A * a * (p + C2 * S_exc) - 2.0 * a * x4 - a2 * x1,
B * b * C4 * S_inh - 2.0 * b * x5 - b2 * x2,
])- Parameters
- A = 3.25
- B = 5
- C1 = 135
- C2 = 108
- C3 = 33.75
- C4 = 33.75
- a = 100
- a2 = 10000
- b = 50
- b2 = 2500
- p = 220
- v_max = 5
- r = 0.56
- v0 = 6
- Initial condition
- y(0) = [1e-06, 1e-06, 1e-06, 1e-06, 1e-06, 1e-06]
- Horizon
- t ∈ [0, 2]
Canonical RHS excerpt captured from the same registered callable used for the published benchmark. Frozen closure values are summarized below; helper imports and solver settings are intentionally omitted.
Fingerprint
Spread: low
Default noise: low
Recommendation snapshot
Clean best: SciPy BDF
Noisy best: SciPy BDF
Coverage
14 solver arms · clean + 5 noise levels
Ranked on survival, precision, and speed
Versions & freeze
Methodology →- Freeze
- 2026-08-13
- libsolvsrk
- 2.3.0
- SciPy
- 1.14
- SUNDIALS
- CVODE (bundled backend)
20 seeds/cell default · 14 arms · TRL 4–5 · simulation-lab validated · this page: Jansen-Rit epileptiform regime (jansen-rit-epileptiform-regime)
Governed SolvTune benchmark freeze; per-arm medians only. RHS definitions and raw trial rows are not published.
Self-reported by Resonix Labs · not independently verified
Results matrix
Pick an objective and a noise level to rank all arms on survival, median SCD, median nfev, and median wall time. Medians across seeds.
Objective
Best overall trade-off of survival, precision, and speed.
Noise level
| # | Solver | Survival | SCD | nfev | Wall | Score |
|---|---|---|---|---|---|---|
| 1 | SciPy BDFSciPy | 100% | 14.4 | 1,871 | 49 ms | 0.962 |
| 2 | SciPy RadauSciPy | 100% | 14.2 | 4,529 | 89 ms | 0.957 |
| 3 | SolvSRK | 100% | 13.7 | 3,249 | 55 ms | 0.945 |
| 4 | TRBDF2external | 100% | 13.1 | 2,552 | 3.50 s | 0.932 |
| 5 | Vern9external | 100% | 12.3 | 1,810 | 2.73 s | 0.913 |
| 6 | Vern7external | 100% | 12.1 | 1,522 | 2.74 s | 0.907 |
| 7 | FBDFexternal | 100% | 11.8 | 1,139 | 3.40 s | 0.901 |
| 8 | CVODE Adamsexternal | 100% | 10.3 | 1,563 | 24 ms | 0.865 |
| 9 | SciPy LSODASciPy | 100% | 10.1 | 3,033 | 31 ms | 0.858 |
| 10 | CVODE BDFexternal | 100% | 10.0 | 3,494 | 47 ms | 0.858 |
| 11 | SciPy DOP853SciPy | 100% | 10.0 | 1,166 | 14 ms | 0.856 |
| 12 | SciPy RK45SciPy | 100% | 9.6 | 1,580 | 19 ms | 0.849 |
| 13 | SciPy RK23SciPy | 100% | 9.5 | 6,248 | 83 ms | 0.845 |
| 14 | Tsit5external | 100% | 9.3 | 1,470 | 577 ms | 0.841 |
At Clean, best balanced arm is SciPy BDF · SolvSRK survival 100%, SCD 13.7.
Values are medians across seeds, measured by Resonix Labs on Resonix hardware and not independently verified; nfev and wall are on reference lab hardware (indicative). Under injected noise only SolvSRK and the SciPy arms are run. How we measure accuracy → · Verification status →
Cite this page
Replace the access date. Pin the freeze ID and library versions when comparing against a later export. Cite it as what it is - a self-reported vendor benchmark, not an independently verified result. The note field says so; please keep it.
@misc{resonix_evidence_jansen_rit_epileptiform_regime_2026,
title = {Resonix Evidence Portal: Jansen-Rit epileptiform regime},
author = {{Resonix Labs (Canada) Inc.}},
year = {2026},
howpublished = {\url{https://resonixusa.com/evidence/problems/jansen-rit-epileptiform-regime}},
note = {Self-reported vendor benchmark; internally generated by Resonix Labs and not independently verified. Accessed YYYY-MM-DD. Freeze 2026-08-13; libsolvsrk 2.3.0; SciPy 1.14.}
}Related
TRL 4–5 · simulation-lab validated · 398 problems · 14 solver arms · clean + 5 noise levels
Freeze: 2026-08-13 · scipy 1.14 · libsolvsrk 2.3.0 · Methodology
Self-reported by Resonix Labs · not independently verified · Verification status