OSCR

Neuroimaging Correlates of Post-Stroke Pain After Ischemic Stroke: Secondary Analysis of the INSPiRE-TMS Trial.

Code ↔ Paper

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

7 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 7 matches · 3 of them tie a paragraph to a whole file without given lines: weak matches, whose lines are not tinted
  1. [1] § Methods › Neuroimaging Analysis › Preprocessing ↔ ea_normalize_fsl.m, the whole file · a weak match · score 0.84 · FMRIB Software Library, nonlinear registrations, MNI space, MR imaging, FSL, SyN · block oscr:b:A4WMJG100QAE5-K · Report a mismatch
  2. [2] § Methods › Neuroimaging Analysis › Preprocessing ↔ ea_normalize_ants.m, the whole file · a weak match · score 0.70 · Advanced Normalization Tools, MNI space, MR imaging, SyN, nonlinear, modalities · block oscr:b:J1040Y3Z1C525-H · Report a mismatch
  3. [3] § Results › Neuroimaging Results › Lesion Network Mapping ↔ explorers/networkmapping_explorer/ea_networkmapping.m, lines 1 to 74 · score 0.65 · Lesion network mapping, left hemisphere, right hemisphere, permutation, RH, LH · block oscr:b:TCGXBQDGJJCE8-N · Report a mismatch
  4. [4] § Methods › Statistical Analysis ↔ ext_libs/corr/ea_skipped_correlation.m, the whole file · a weak match · score 0.54 · confidence intervals, Bivariate, CI, variables, V1 · block oscr:b:HXDHR2VJZQ82Q-V · Report a mismatch
  5. [5] § Results › Neuroimaging Results › Lesion Network Mapping ↔ explorers/unifiedmapping_explorer/ea_unifiedmapping.m, lines 1 to 116 · score 0.53 · left hemisphere, right hemisphere, permutation, RH, LH, correlations · block oscr:b:0YDD57E13FEMY-Y · Report a mismatch
  6. [6] § Methods › Imaging ↔ ext_libs/dicm2nii/dicm_dict.m, lines 146 to 205 · score 0.50 · inversion recovery, flight, protocol, Sequences, MR, patients · block oscr:b:A4EFH4XHH4ZSQ-N · Report a mismatch
  7. [7] § Methods › Neuroimaging Analysis › Lesion Network Mapping ↔ connectomics/mapper/cs_fmri_conseed_matrix_matrix.m, lines 1 to 138 · score 0.50 · fMRI, binarized, seeds, connectivity, binary, voxels · block oscr:b:2VYTCG0DBWC4Y-5 · 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

MATLAB · 59 lines · 2.9 KB · GPL-3.0 · 1 match

  1. function varargout=ea_normalize_fsl(options)
  2. % This is a function that normalizes both a copy of transversal and coronal
  3. % images into MNI-space. The goal was to make the procedure both robust and
  4. % automatic, but still, it must be said that normalization results should
  5. % be taken with much care because all reconstruction results heavily depend
  6. % on these results. Normalization of DBS-MR-images is especially
  7. % problematic since usually, the field of view doesn't cover the whole
  8. % brain (to reduce SAR-levels during acquisition) and since electrode
  9. % artifacts can impair the normalization process. Therefore, normalization
  10. % might be best archieved with other tools that have specialized on
  11. % normalization of such image data.
  12. %
  13. % The procedure used here uses the ANTs Syn approach to map a patient's
  14. % brain to MNI space directly.
  15. % __________________________________________________________________________________
  16. % Copyright (C) 2015 Charite University Medicine Berlin, Movement Disorders Unit
  17. % Andreas Horn
  18. if ischar(options) % return name of method.
  19. varargout{1}='FNIRT (Andersson 2010)';
  20. varargout{2}=1; % dummy output
  21. varargout{3}=1; % hassettings.
  22. varargout{4}=0; % is multispectral
  23. return
  24. end
  25. % FSL FNIRT nonlinear registration
  26. ea_fnirt([ea_space, options.primarytemplate, '.nii'],...
  27. options.subj.coreg.anat.preop.(options.subj.AnchorModality),...
  28. options.subj.norm.anat.preop.(options.subj.AnchorModality));
  29. % Clean up FNIRT log file
  30. logFileBase = ea_niifileparts(options.subj.coreg.anat.preop.(options.subj.AnchorModality));
  31. ea_delete([logFileBase, '_to_*.log']);
  32. % Move transformation file
  33. transformBase = ea_niifileparts(options.subj.norm.anat.preop.(options.subj.AnchorModality));
  34. transform = dir([transformBase, 'WarpField*']);
  35. ext = regexp(transform(end).name, '(?<=WarpField)\.nii(\.gz)?$', 'match', 'once');
  36. movefile([transformBase, 'WarpField', ext], [options.subj.norm.transform.forwardBaseName, 'fnirt', ext]);
  37. movefile([transformBase, 'InverseWarpField', ext], [options.subj.norm.transform.inverseBaseName, 'fnirt', ext]);
  38. % Apply registration
  39. ea_apply_normalization(options)
  40. %% add methods dump:
  41. [scit, lcit] = ea_getspacedefcit;
  42. cits = {
  43. 'Andersson JLR, Jenkinson M, Smith S (2010) Non-linear registration, aka spatial normalisation. FMRIB technical report TR07JA2'
  44. 'Woolrich MW, Jbabdi S, Patenaude B, Chappell M, Makni S, Behrens T, Beckmann C, Jenkinson M, Smith SM (2009) Bayesian analysis of neuroimaging data in FSL. NeuroImage, 45:S173-86'
  45. };
  46. if ~isempty(lcit)
  47. cits = [cits;{lcit}];
  48. end
  49. ea_methods(options,['Pre- (and post-) operative acquisitions were spatially normalized into ',ea_getspace,' space ',scit,' based on the preoperative acquisition (',options.subj.AnchorModality,') using the'...
  50. ' FNIRT approach as implemented in the FMRIB Software Library (Andersson 2010; Woolrich 2009 https://fsl.fmrib.ox.ac.uk/).'],cits);

ea_normalize_fsl.m at commit 5b1008d, under GPL-3.0 · at the source

Overview

Authors: Alina Stegemann1,2,3, Ana Sofia Rios1,2, Ahmed Khalil1,2, Ulrike Grittner3,4, Uchralt Temuulen1,2, Ramanan Ganeshan1,2, Tim Bastian Braemswig1,2,3,5, Andreas Horn6,7, Thomas Ihl1,2, Heinrich J. Audebert1,2, Anna Kufner1,2,3,8, Matthias Endres1,2,5,8,9
  1. Charité – Universitätsmedizin Berlin Corporate Member of Freie Universität Berlin and Humboldt‐Universität Zu Berlin, Klinik für Neurologie Mit Experimenteller Neurologie Berlin Germany
  2. Charité – Universitätsmedizin Berlin, Corporate Member of Freie Universität Berlin and Humboldt‐Universität Zu Berlin Center for Stroke Research Berlin (CSB) Berlin Germany
  3. Berlin Institute of Health (BIH) at Charité Universitätsmedizin Berlin Berlin Germany
  4. Charité – Universitätsmedizin Berlin, Corporate Member of Freie Universität Berlin and Humboldt‐Universität Zu Berlin Institute of Biometry and Clinical Epidemiology Berlin Germany
  5. German Centre for Cardiovascular Research (Deutsches Zentrum für Herz Kreislauferkrankungen, DZHK) Berlin Germany
  6. Center for Brain Circuit Therapeutics Department of Neurology, Brigham & Women's Hospital Harvard Medical School Boston Massachusetts USA
  7. MGH Neurosurgery & Center for Neurotechnology and Neurorecovery (CNTR) at MGH Neurology Massachusetts General Hospital Harvard Medical School Boston Massachusetts USA
  8. German Center for Mental Health (Deutsches Zentrum für Psychische Gesundheit, DZPG) Berlin Germany
  9. German Center for Neurodegenerative Diseases (Deutsches Zentrum für Neurode‐ Generative Erkrankungen, DZNE) Berlin Germany
Journal: Human brain mapping, volume 47, issue 10, article e70602
Dates: received 15 December 2025; accepted 30 June 2026; published online 8 July 2026; in print July 2026
Type: Research article · Language: English
License: CC BY
Identifiers: DOI 10.1002/hbm.70602 · PMID 42420807 · PMCID PMC13345988 · OpenAlex W7167800801
Open access: gold, a free copy (OpenAlex)
Status: code verified (how the code is found and verified)
Categories: other (modality), human (organism), other condition (population), stroke (population), pain (population), clinical / translational (subfield)
Methods: Statistics, Machine learning, Connectivity, fMRI & imaging
Keywords: chronic pain, lesion mapping, post‐stroke pain, stroke
MeSH: Anxiety*, Insular Cortex*, Ischemic Stroke*, Nerve Net*, Pain*, Stroke*, Thalamus*, Aged, Brain Mapping, Female, Humans, Magnetic Resonance Imaging, Male, Middle Aged, Neuroimaging (* major topic)
Topic: Functional Brain Connectivity Studies (Cognitive Neuroscience, Neuroscience), according to OpenAlex
Funding: Berlin Institute of Health; Deutsche Forschungsgemeinschaft (TRR 295‐424778381); Bundesministerium für Bildung und Forschung; Deutsches Zentrum für Luft- und Raumfahrt; National Institutes of Health (R01MH130666, 1R01NS127892‐01, 2R01 MH113929, UM1NS132358); New Venture Fund
Citations: not cited yet (Europe PMC); 53 references in the paper

Abstract

Post‐stroke pain (PSP) affects nearly half of stroke survivors, severely compromising quality of life. The causes of PSP remain underexplored, although there is likely a complex interplay of lesion effects, psychological factors, and mobility that play a role in its development. The aim of the study was to investigate clinical characteristics associated with PSP, as well as structural and functional correlates of PSP using lesion symptom (LSM) and network mapping (LNM). We analyzed data from the INSPiRE‐TMS cohort, encompassing 1022 minor ischemic stroke patients. Pain severity and psychological factors (EQUATION 5D‐3L questionnaire) were assessed annually for up to 3 years. In a sub‐group of 391 patients with available imaging data, LSM and LNM analyses were conducted to identify neural correlates of PSP. Overall, 47% of patients reported pain 1‐year post‐stroke. Multivariable regression analyses identified baseline anxiety as associated with PSP assessed at 1‐year post‐stroke (OR 2.90, 95% CI 1.17–7.17, p = 0.021). LSM did not identify any voxels associated with new severe pain. LNM identified a network involving the anterior cingulate cortex, thalamus, and insular cortex. Adjusting for anxiety highlighted distinct network contributions, suggesting interactive effects of psychological states on pain perception. Automated comparison to large metanalytical findings using Neurosynth associated the terms ‘pain’ and ‘nociception’ most strongly to the identified network. PSP is closely associated with psychological factors such as anxiety. LNM of PSP revealed disruptions in a pain‐related neural network consistent with prior pain research. These results warrant external validation and could guide future network‐targeted neuromodulation therapies.

Trial Registration: ClinicalTrials.gov identifier: NCT01586702

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 7 matches between paragraphs and lines of code.

netstim/leaddbs

License: GPL-3.0
State: the link answers, verified on 27 October 2026
Evidence: files inventoried
Commit: 5b1008d705e97fe0c8f693dece14455607f4afac, 2 March 2026
Languages: MATLAB (2362), Python (101), C++ (30), C (29), Shell (10), C/C++ (4), Java (3)
Size: 6,260 files, 2,539 scripts
Software Heritage: archived
Found in: “Data Availability Statement”
Holds: README, license file, CITATION.cff, environment (ext_libs/PaCER/docs/requirements.txt), documentation
Not found: tests, continuous integration
Tools: SPM (121 files), Statistics and Machine Learning Toolbox (84 files), Tools for NIfTI and ANALYZE image (MATLAB) (38 files), Image Processing Toolbox (36 files), NumPy (35 files), FieldTrip (24 files), h5py (12 files), SciPy (8 files), FreeSurfer (7 files), cifti-matlab (6 files), Signal Processing Toolbox (6 files), Matplotlib (6 files), Parallel Computing Toolbox (5 files), pandas (5 files), TensorFlow (4 files), Keras (3 files), Optimization Toolbox (3 files), ANTs (2 files), export_fig (2 files), GIfTI library for MATLAB (2 files), NiBabel (2 files), Psychtoolbox (2 files), CAT12 (1 file), Curve Fitting Toolbox (1 file), pydicom (1 file), seaborn (1 file)
Availability: 2 checks, the latest on 27 October 2026: the link answers
  • 27 October 2026: the link answers
  • 27 September 2026: the link answers
2,000 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;
  • 1,998 scripts, each with its path and the digest of its content;
  • 7 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

Data supporting the results of this study are available upon request from the corresponding author. Open source software tools were used for the pre‐processing and analysis of the data, including: Lead‐DBS (https://github.com/netstim/leaddbs), FSL 6.0.6.4 (https://fsl.fmrib.ox.ac.uk/fsl/fslwiki/) and ANTsPy (https://github.com/ANTsX/ANTsPy).

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, volume, issue, pages, dates, 12 authors, 4 keywords, 15 MeSH terms, 6 funders, 52 references.

Cite

This paper

Stegemann, A., Rios, A. S., Khalil, A., Grittner, U., Temuulen, U., Ganeshan, R., Braemswig, T. B., Horn, A., Ihl, T., Audebert, H. J., Kufner, A., & Endres, M. (2026). Neuroimaging Correlates of Post-Stroke Pain After Ischemic Stroke: Secondary Analysis of the INSPiRE-TMS Trial. Human brain mapping, 47(10), e70602. https://doi.org/10.1002/hbm.70602

BibTeX

@article{stegemann2026neuroimaging,
author = {Stegemann, Alina and Rios, Ana Sofia and Khalil, Ahmed and Grittner, Ulrike and Temuulen, Uchralt and Ganeshan, Ramanan and Braemswig, Tim Bastian and Horn, Andreas and Ihl, Thomas and Audebert, Heinrich J. and Kufner, Anna and Endres, Matthias},
title = {{Neuroimaging Correlates of Post-Stroke Pain After Ischemic Stroke: Secondary Analysis of the INSPiRE-TMS Trial}},
journal = {Human brain mapping},
year = {2026},
month = jul,
volume = {47},
number = {10},
pages = {e70602},
publisher = {Wiley},
issn = {1065-9471},
doi = {10.1002/hbm.70602},
url = {https://doi.org/10.1002/hbm.70602},
pmid = {42420807},
pmcid = {PMC13345988}
}

RIS

TY - JOUR
AU - Stegemann, Alina
AU - Rios, Ana Sofia
AU - Khalil, Ahmed
AU - Grittner, Ulrike
AU - Temuulen, Uchralt
AU - Ganeshan, Ramanan
AU - Braemswig, Tim Bastian
AU - Horn, Andreas
AU - Ihl, Thomas
AU - Audebert, Heinrich J.
AU - Kufner, Anna
AU - Endres, Matthias
TI - Neuroimaging Correlates of Post-Stroke Pain After Ischemic Stroke: Secondary Analysis of the INSPiRE-TMS Trial
T2 - Human brain mapping
J2 - Hum Brain Mapp
PY - 2026
DA - 2026/07/01
VL - 47
IS - 10
SP - e70602
SN - 1065-9471
PB - Wiley
DO - 10.1002/hbm.70602
UR - https://doi.org/10.1002/hbm.70602
LA - en
ER -

CSL-JSON

{
"id": "10.1002/hbm.70602",
"type": "article-journal",
"title": "Neuroimaging Correlates of Post-Stroke Pain After Ischemic Stroke: Secondary Analysis of the INSPiRE-TMS Trial",
"container-title": "Human brain mapping",
"author": [
{
"family": "Stegemann",
"given": "Alina"
},
{
"family": "Rios",
"given": "Ana Sofia"
},
{
"family": "Khalil",
"given": "Ahmed"
},
{
"family": "Grittner",
"given": "Ulrike"
},
{
"family": "Temuulen",
"given": "Uchralt"
},
{
"family": "Ganeshan",
"given": "Ramanan"
},
{
"family": "Braemswig",
"given": "Tim Bastian"
},
{
"family": "Horn",
"given": "Andreas"
},
{
"family": "Ihl",
"given": "Thomas"
},
{
"family": "Audebert",
"given": "Heinrich J."
},
{
"family": "Kufner",
"given": "Anna"
},
{
"family": "Endres",
"given": "Matthias"
}
],
"container-title-short": "Hum Brain Mapp",
"volume": "47",
"issue": "10",
"page": "e70602",
"DOI": "10.1002/hbm.70602",
"PMID": "42420807",
"PMCID": "PMC13345988",
"ISSN": "1065-9471",
"publisher": "Wiley",
"URL": "https://doi.org/10.1002/hbm.70602",
"language": "en",
"issued": {
"date-parts": [
[
2026,
7,
1
]
]
}
}

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.1111/ene.70678 [code]
Who Falls After a Stroke? Evidence From a Prospective Stroke Cohort.
Journal: European journal of neurology
In common: CAT12, cifti-matlab, pydicom, 23 other tools, stroke, clinical / translational, 5 references, 2 authors
[2] doi:10.1038/s42003-024-06399-9 [code]
Fronto-thalamic networks and the left ventral thalamic nuclei play a key role in aphasia after thalamic stroke.
Journal: Communications biology
In common: CAT12, cifti-matlab, pydicom, 23 other tools, stroke, 4 references, 2 authors
[3] doi:10.1186/s42466-025-00390-3 [code]
Neuropsychiatric changes following striatal stroke- results from the observational PostPsyDis study.
Journal: Neurological research and practice
In common: CAT12, cifti-matlab, pydicom, 23 other tools, stroke, clinical / translational, other condition, 1 reference, 2 authors
[4] doi:10.1038/s41586-026-10631-3 [code]
A prognostic human brain network for diffuse midline glioma.
Journal: Nature
In common: CAT12, cifti-matlab, pydicom, 23 other tools, clinical / translational, other condition, 5 references
[5] doi:10.1038/s41467-025-60089-6 [code]
Convergent mapping of a tremor treatment network.
Journal: Nature communications
In common: CAT12, cifti-matlab, pydicom, 23 other tools, other, clinical / translational, other condition, 2 references
[6] doi:10.1038/s41597-024-03197-0 [code]
A large normative connectome for exploring the tractographic correlates of focal brain interventions.
Journal: Scientific data
In common: CAT12, cifti-matlab, pydicom, 23 other tools, 3 references
[7] doi:10.1038/s41467-025-61988-4 [code]
A human brain network linked to restoration of consciousness after deep brain stimulation.
Journal: Nature communications
In common: CAT12, cifti-matlab, pydicom, 23 other tools, other condition, 3 references
[8] doi:10.1073/pnas.2114985119 [code]
Optimal deep brain stimulation sites and networks for cervical vs. generalized dystonia.
Journal: Proceedings of the National Academy of Sciences of the United States of America
In common: CAT12, cifti-matlab, pydicom, 23 other tools, clinical / translational, other condition, 2 references
[9] doi:10.1002/hbm.70207 [code]
Subthalamic Deep Brain Stimulation: Mapping Non-Motor Outcomes to Structural Connections.
Journal: Human brain mapping
In common: CAT12, cifti-matlab, pydicom, 23 other tools, clinical / translational, 2 references
[10] doi:10.1093/braincomms/fcaf228 [code]
Lesion distribution and network mapping in dyskinetic cerebral palsy.
Journal: Brain communications
In common: CAT12, cifti-matlab, pydicom, 23 other tools, other condition, 2 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/hbm.70602.svg)](https://openscicode.org/badge/doi/10.1002/hbm.70602)
<!-- oscr-badge:end -->
reStructuredText
.. oscr-badge:start

.. image:: https://openscicode.org/badge/doi/10.1002/hbm.70602.svg
   :target: https://openscicode.org/badge/doi/10.1002/hbm.70602
   :alt: OSCR

.. oscr-badge:end
HTML
<!-- oscr-badge:start -->
<a href="https://openscicode.org/badge/doi/10.1002/hbm.70602"><img src="https://openscicode.org/badge/doi/10.1002/hbm.70602.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.