OSCR

Bridging computational and clinical strategies for presurgical identification of epileptogenic networks.

Code ↔ Paper

2 matches between paragraphs of the paper and lines of its authors' code, computed by the harvester (lexical-v1). Click a colored paragraph or line to see its counterpart.

2 blocks of code here have a permanent identifier (oscr:b:…), listed with the matches below: citable for good, with a page of its own. Select a match and press Cite to copy it. What a block identifier is.

The 2 matches · 1 of them tie a paragraph to a whole file without given lines: a weak match, whose lines are not tinted
  1. [1] § METHODS › Dynamic network models of sEEG ↔ epinetmap/core/__init__.py, the whole file · a weak match · score 0.64 · sliding windows, linear dynamical, multichannel, model, sink, fragility · block oscr:b:CPZH60CQST2NW-4 · Report a mismatch
  2. [2] § METHODS › Patient population and electrode implantation ↔ main.py, lines 226 to 256 · score 0.51 · SOZ channels, Sink connectivity, stars, medians, computational, fragility · block oscr:b:FXCH0VRZNY4HT-D · Report a mismatch

Paper

Loaded from Europe PMC by your browser; OSCR does not store it: doi.org · Europe PMC

The paper is loaded when this pane is shown.

The authors' code

Python · 60 lines · 1.5 KB · MIT · 1 match

  1. """
  2. Core computational building blocks for epinetmap.
  3. Organization
  4. ------------
  5. (i) Windowing: crop/resample + sliding windows for continuous multichannel data.
  6. (ii) Models: estimate linear dynamics (A) or extract DMD modes per window.
  7. (iii) Metrics: fragility + source/sink metrics from A (serial, efficient).
  8. (iv) Tracking: post-tracking: mode relabeling / matching after DMD extraction.
  9. Notes
  10. -----
  11. - All modules are serial-only by default (joblib removed).
  12. - APIs are written so future parallelization can map a per-window worker.
  13. """
  14. from .windowing import (
  15. WindowConfig,
  16. crop_data,
  17. resample_data,
  18. prepare_data_for_windowing,
  19. window_starts_samples,
  20. iter_window_starts,
  21. iter_windows_xy,
  22. window_slices_xy,
  23. )
  24. from .models import (
  25. AEstimator,
  26. RidgeAEstimator,
  27. PinvAEstimator,
  28. DMDAEstimator,
  29. estimate_A_series,
  30. # DMD utilities
  31. suggest_stacking_factor,
  32. estimate_r_from_energy,
  33. dmd_stacked_modes,
  34. # DMD series extraction
  35. DMDSeriesConfig,
  36. extract_dmd_series,
  37. # DMD plotting (raw)
  38. plot_dmd_freqs_over_time,
  39. )
  40. from .metrics import (
  41. SourceSinkMetrics,
  42. FragilityConfig,
  43. FragilityMetrics,
  44. Normalizer,
  45. compute_metrics_over_time,
  46. # Metrics plotting
  47. plot_channel_distributions,
  48. plot_metrics_heatmap,
  49. )
  50. from .tracking import (
  51. align_dmd_series_by_frequency,
  52. # DMD plotting (matched/aligned)
  53. plot_dmd_freqs_matched,
  54. )

__init__.py at commit 2702370, under MIT · at the source

Overview

Authors: Tena Dubcek1,2, Debora Ledergerber2, Kristina Koenig2, Adham Elshahabi2, Rafael Polania1, Lukas Imbach1,2,3,4
  1. Department of Health Sciences and Technology, ETH Zurich, Zurich, Switzerland
  2. Swiss Epilepsy Center, Clinic Lengg, Zurich, Switzerland
  3. Neuroscience Center Zurich, University of Zurich, Zurich, Switzerland
  4. ETH Zurich, Zurich, Switzerland
Institutions: ETH Zurich (Switzerland); Swiss Epilepsy Center (Switzerland); University of Zurich (Switzerland)
Journal: Epilepsia open, article 10.1002/epi4.70311
Dates: received 3 February 2026; accepted 22 June 2026; published online 24 July 2026; in print July 2026
Type: Research article · Language: English
License: CC BY
Identifiers: DOI 10.1002/epi4.70311 · PMID 42495815 · PMCID PMC13397325 · OpenAlex W7170276570
Open access: gold, a free copy (OpenAlex)
Status: code verified (how the code is found and verified)
Categories: intracranial EEG (iEEG / ECoG / SEEG) (modality), human (organism), epilepsy (population), clinical / translational (subfield)
Methods: Preprocessing, Connectivity, Statistics, Physiology & signal measures
Keywords: dynamic network models, epileptic network, neural fragility, seizure onset zone, stereotactic EEG, stimulation mapping
Topic: Functional Brain Connectivity Studies (Cognitive Neuroscience, Neuroscience), according to OpenAlex
Funding: Koetser Foundation; European Research Council (758604); Swiss National Science Foundation (197766); Swiss Epilepsy Foundation
Citations: cited by 1 paper (Europe PMC); 49 references in the paper

Abstract

Objective: About one third of epilepsy patients are drug‐resistant. Resective epilepsy surgery remains a key treatment option but depends critically on accurate identification of the seizure onset zone (SOZ), which is still guided mainly by subjective visual inspection of electrophysiological signals. Network‐based metrics derived from intracranial EEG have recently shown promise for SOZ identification, but their evaluation and interpretation have remained disconnected from standard clinical procedures and reasoning.

Methods: We analyzed stereotactic EEG (sEEG) recordings from 20 patients undergoing presurgical evaluation in the interictal state and during clinical mapping via electrical stimulation. We constructed patient‐specific time‐varying dynamic network models and addressed key questions for clinical translation: how sensitive network vulnerability estimates are to the choice among related published metrics, how they depend on the time of the day, and how the resulting conclusions relate to stimulation‐evoked epileptiform discharges as a routine clinical reference for network vulnerability in 5 patients who underwent 50 Hz stimulation mapping. We then simulated virtual thermocoagulation in 6 patients who later underwent thermocoagulation by removing the clinically coagulated nodes and testing whether the resulting network changes went beyond pure network size reduction.

Results: The network metrics correlated with epileptiform discharges evoked by 50 Hz intracranial stimulation in four of five stimulated patients, supporting a link between model‐based network fragility and interictal epileptiform discharges evoked in clinical stimulation mapping. Using virtual thermocoagulation, we quantified the expected network‐level change under model node removal, capturing both local and global effects depending on individual network architecture. Across patients, more fragile network metrics pointed toward clinically defined SOZ contacts and yielded stable conclusions across time, conditions, and perturbation properties, supporting their reliability.

Significance: Together, these findings provide a clinically interpretable calibration of published network vulnerability metrics against routine clinical references, using interictal sEEG data only.

Plain Language Summary: Some people with epilepsy need brain recordings to find the tissue where seizures start. We tested whether computational models built from seizure‐free sEEG recordings can identify vulnerable parts of the epileptic network. The model‐based measures pointed toward clinically defined seizure onset regions, were stable across recording times, and often agreed with responses seen during clinical brain stimulation. These results suggest that interictal network modeling may complement standard presurgical evaluation, although larger prospective studies are needed.

Reproduced under the paper's license (CC BY), from the paper cited above.

Repository

Its files are read in the Code ↔ Paper reader above, with 2 matches between paragraphs and lines of code.

Swiss-Epilepsy-Center/epinetmap

License: MIT
State: the link answers, verified on 28 October 2026
Evidence: files inventoried
Commit: 2702370c15a0ee483f46244b607b87f1b09b7a34, 7 August 2026
Languages: Python (7)
Size: 12 files, 7 scripts
Software Heritage: not archived
Found in: “DATA AVAILABILITY STATEMENT”
Holds: README, license file, CITATION.cff, environment (requirements.txt)
Not found: tests, continuous integration, documentation
Tools: NumPy (5 files), Matplotlib (4 files), SciPy (3 files), MNE-Python (1 file), scikit-learn (1 file)
Availability: 2 checks, the latest on 28 October 2026: the link answers
  • 28 October 2026: the link answers
  • 27 September 2026: the link answers
9 files

The paper's code and data availability statement is in the Data section.

Tracing map

Proposed by the machine: these links were found in the paper and verified at the source, without human review. The map will receive a Zenodo DOI once one of the paper's authors has validated it with their ORCID.

What the map holds:

  • 1 repository of the authors' code, each at its verified commit, with its license and how the link was found in the paper;
  • 7 scripts, each with its path and the digest of its content;
  • 2 matches between paragraphs of the paper and lines of the code (method lexical-v1);
  • neither the text of the paper nor the code itself.

Its JSON (tracing-map.json) is deposited on Zenodo with its DOI once the map is validated.

Data

No dataset and no data link were found in the paper.

Data availability statement

The sEEG data supporting this study are not publicly available due to patient‐privacy restrictions and the terms of the ethics approval but are available from the corresponding author upon reasonable request subject to a data‐sharing agreement. The analysis code is openly available at https://github.com/Swiss‐Epilepsy‐Center/epinetmap (https://github.com/Swiss-Epilepsy-Center/epinetmap) (release v1.0.1).

Reproduced under the paper's license (CC BY), from the paper cited above.

Versions

The history of this record: each version stored by the harvester or made by a correction of its authors or of the maintainers of its code, and what changed in its facts. The texts of the paper (its abstract, its availability statements) are not part of it; versions that changed only those are not listed.

Version 1, 27 September 2026: the first record

Recorded: type, language, journal, pages, dates, 6 authors, 6 keywords, 4 funders, 49 references.

Cite

This paper

Dubcek, T., Ledergerber, D., Koenig, K., Elshahabi, A., Polania, R., & Imbach, L. (2026). Bridging computational and clinical strategies for presurgical identification of epileptogenic networks. Epilepsia open, 10.1002/epi4.70311. https://doi.org/10.1002/epi4.70311

BibTeX

@article{dubcek2026bridging,
author = {Dubcek, Tena and Ledergerber, Debora and Koenig, Kristina and Elshahabi, Adham and Polania, Rafael and Imbach, Lukas},
title = {{Bridging computational and clinical strategies for presurgical identification of epileptogenic networks}},
journal = {Epilepsia open},
year = {2026},
month = jul,
pages = {10.1002/epi4.70311},
publisher = {Wiley},
issn = {2470-9239},
doi = {10.1002/epi4.70311},
url = {https://doi.org/10.1002/epi4.70311},
pmid = {42495815},
pmcid = {PMC13397325}
}

RIS

TY - JOUR
AU - Dubcek, Tena
AU - Ledergerber, Debora
AU - Koenig, Kristina
AU - Elshahabi, Adham
AU - Polania, Rafael
AU - Imbach, Lukas
TI - Bridging computational and clinical strategies for presurgical identification of epileptogenic networks
T2 - Epilepsia open
J2 - Epilepsia Open
PY - 2026
DA - 2026/07/24
SP - 10.1002/epi4.70311
SN - 2470-9239
PB - Wiley
DO - 10.1002/epi4.70311
UR - https://doi.org/10.1002/epi4.70311
LA - en
ER -

CSL-JSON

{
"id": "10.1002/epi4.70311",
"type": "article-journal",
"title": "Bridging computational and clinical strategies for presurgical identification of epileptogenic networks",
"container-title": "Epilepsia open",
"author": [
{
"family": "Dubcek",
"given": "Tena"
},
{
"family": "Ledergerber",
"given": "Debora"
},
{
"family": "Koenig",
"given": "Kristina"
},
{
"family": "Elshahabi",
"given": "Adham"
},
{
"family": "Polania",
"given": "Rafael"
},
{
"family": "Imbach",
"given": "Lukas"
}
],
"container-title-short": "Epilepsia Open",
"page": "10.1002/epi4.70311",
"DOI": "10.1002/epi4.70311",
"PMID": "42495815",
"PMCID": "PMC13397325",
"ISSN": "2470-9239",
"publisher": "Wiley",
"URL": "https://doi.org/10.1002/epi4.70311",
"language": "en",
"issued": {
"date-parts": [
[
2026,
7,
24
]
]
}
}

The tracing map gets a citation of its own once an author has validated it and it has a DOI.

Similar papers

The papers with a page that share the most with this one: the tools found in their code, their categories, datasets, cited references and authors, the rarest counting most.

[1] doi:10.1093/braincomms/fcac101 [code]
Graph theoretical measures of fast ripples support the epileptic network hypothesis.
Journal: Brain communications
In common: SciPy, NumPy, epilepsy, 9 references
[2] doi:10.1038/s41598-024-56990-7 [code]
Generalisability of epileptiform patterns across time and patients.
Journal: Scientific reports
In common: intracranial EEG (iEEG / ECoG / SEEG), epilepsy, clinical / translational, 8 references
[3] doi:10.1162/netn_a_00361 [code]
Individualized epidemic spreading models predict epilepsy surgery outcomes: A pseudo-prospective study.
Journal: Network neuroscience (Cambridge, Mass.)
In common: intracranial EEG (iEEG / ECoG / SEEG), epilepsy, clinical / translational, 8 references
[4] doi:10.1162/netn_a_00454 [code]
Directionality of neural activity in and out of the seizure onset zone in focal epilepsy.
Journal: Network neuroscience (Cambridge, Mass.)
In common: epilepsy, clinical / translational, 8 references
[5] doi:10.1038/s41467-024-49470-z [code]
A spatial perturbation framework to validate implantation of the epileptogenic zone.
Journal: Nature communications
In common: intracranial EEG (iEEG / ECoG / SEEG), epilepsy, 7 references
[6] doi:10.1093/braincomms/fcae165 [code]
Utility of intracranial EEG networks depends on re-referencing and connectivity choice.
Journal: Brain communications
In common: scikit-learn, SciPy, Matplotlib, 1 other tool, intracranial EEG (iEEG / ECoG / SEEG), epilepsy, 5 references
[7] doi:10.1093/brain/awae361 [code]
Multicentre analysis of seizure outcome predicted by removal of high-frequency oscillations.
Journal: Brain : a journal of neurology
In common: intracranial EEG (iEEG / ECoG / SEEG), epilepsy, clinical / translational, 3 references, author Lukas Imbach
[8] doi:10.1111/epi.18531
Functional network dynamics in photosensitive epilepsy depend on stimulation frequency and photoparoxysmal electroencephalographic response.
Journal: Epilepsia
In common: epilepsy, 2 authors
[9] doi:10.1038/s41598-026-45177-x
Predicting surgical outcome in drug-resistant epilepsy by combining interictal biomarkers within a machine learning framework.
Journal: Scientific reports
In common: epilepsy, clinical / translational, 6 references
[10] doi:10.1093/braincomms/fcae320 [code]
The sixth sense: how much does interictal intracranial EEG add to determining the focality of epileptic networks?
Journal: Brain communications
In common: scikit-learn, SciPy, Matplotlib, 1 other tool, intracranial EEG (iEEG / ECoG / SEEG), epilepsy, 4 references

Contribute

The authors of this paper can claim it, correct its record and validate its tracing map, and the maintainers of its code (its owner, or a public member of its organization) correct what it says of their repository; anyone signed in can ask for its removal. Every request goes to OSCR's own machine, which answers it; your account page follows them.

Sign in with ORCID to claim this paper as one of its authors, correct its record or validate its tracing map: when the paper's metadata lists your ORCID iD, you are recognized at once. Maintainers of its code: sign in with GitHub, then claim the repository on your account page.

Add the badge to the code's README

OSCR: the badge of this paper

If you are an author or a maintainer of this paper's code, you can add this badge. It says what OSCR knows of the paper (its code, its validated tracing map) and links the code to this page. Paste one of these snippets under the README's title. Keep the two marks around it, so that the badge can be replaced in place and is never added twice. OSCR changes nothing in your repository.

Markdown
<!-- oscr-badge:start -->
[![OSCR](https://openscicode.org/badge/doi/10.1002/epi4.70311.svg)](https://openscicode.org/badge/doi/10.1002/epi4.70311)
<!-- oscr-badge:end -->
reStructuredText
.. oscr-badge:start

.. image:: https://openscicode.org/badge/doi/10.1002/epi4.70311.svg
   :target: https://openscicode.org/badge/doi/10.1002/epi4.70311
   :alt: OSCR

.. oscr-badge:end
HTML
<!-- oscr-badge:start -->
<a href="https://openscicode.org/badge/doi/10.1002/epi4.70311"><img src="https://openscicode.org/badge/doi/10.1002/epi4.70311.svg" alt="OSCR"></a>
<!-- oscr-badge:end -->

On GitHub, open the README, choose Edit (the pencil), paste the snippet under the title, then "Commit changes".

If you choose to, you can have the badge kept up to date for you, with oscr badge --write from the command line or with the GitHub Action in your repository's workflows. Every other form and option (a card, AsciiDoc, LaTeX, shields.io) is on the badge page.

Request its removal

To ask OSCR to remove this record, the copies of its authors' scripts or its tracing map, use the removal request page: signed in, you say who you are, what to remove and why, then review and confirm the request. Published rules decide every request (how).

Discussion, reproductions, activity

Discussion: code errors and mismatches between the code and the paper about this paper and its code, from readers and its authors, beside the paper and its tracing map.

Report a mismatch between the code and the paper · Report a code error (signed in)

Reproductions: reports from readers who ran the authors' code and did not get the paper's result, what they ran, with which environment, commit and data.

Report a reproduction failure (signed in)

Versions of its code: the releases of its code tied to a version of this paper (the preprint, the accepted manuscript, the version of record…), each with the tracing map versioned with it.

Activity: what happens around this paper: new versions of its record, its map's validation, discussions and reproductions. It opens with sign-in.