Jansen-Rit epileptiform regime

PARITYS1 · dim 6

No 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.

Neuroscience

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

#SolverSurvivalSCDnfevWallScore
1SciPy BDFSciPy
100%
14.41,87149 ms0.962
2SciPy RadauSciPy
100%
14.24,52989 ms0.957
3SolvSRK
100%
13.73,24955 ms0.945
4TRBDF2external
100%
13.12,5523.50 s0.932
5Vern9external
100%
12.31,8102.73 s0.913
6Vern7external
100%
12.11,5222.74 s0.907
7FBDFexternal
100%
11.81,1393.40 s0.901
8CVODE Adamsexternal
100%
10.31,56324 ms0.865
9SciPy LSODASciPy
100%
10.13,03331 ms0.858
10CVODE BDFexternal
100%
10.03,49447 ms0.858
11SciPy DOP853SciPy
100%
10.01,16614 ms0.856
12SciPy RK45SciPy
100%
9.61,58019 ms0.849
13SciPy RK23SciPy
100%
9.56,24883 ms0.845
14Tsit5external
100%
9.31,470577 ms0.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 →

SolvScout · free

Profile your problem for free

This page shows one published benchmark cell. SolvScout fingerprints your ODE, compares it to the full corpus, and recommends a solver with the same survival / precision / speed ranking you see here — including when a SciPy arm wins.

SolvSRK · 30-day trial

Run the winner on your machine

SolvSRK is the stiffness-adaptive integrator behind the SolvSRK column in these tables. Create an account, activate a machine, and take a 30-day trial — same binary you'd ship after purchase.

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://resonix.tech/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