OSCR

Exploring the Sensitivity Limits of Neuronal Current Imaging With MRI and MEG in the Human Brain.

Code ↔ Paper

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

The 3 matches
  1. [1] § Materials and Methods › MRI Data Analysis ↔ Analysis_MRI/Trento_pipeline.m, lines 36–75 · score 0.73 · processing pipeline, block duration, FSL, baseline, cutoffs, realignment
  2. [2] § Materials and Methods › MRI Data Analysis ↔ Analysis_MRI/Trento_pipeline.m, lines 36–75 · score 0.70 · high resolution, RFR procedure, FSL, baseline, cutoff, regression
  3. [3] § Materials and Methods › MRI Data Analysis ↔ Analysis_MRI/postproc.m, lines 23–76 · score 0.61 · high pass filter, SVarM, SPM, breathing, regression, power

Paper

Loaded from Europe PMC by your browser, not stored by OSCR: doi.org · Europe PMC

The paper is loaded when this pane is shown.

The authors' code

MATLAB · 208 lines · 8.2 KB · MIT · 2 matches

  1. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  2. % RFR_Trento_Pipeline
  3. %
  4. % This script performs the RFR analysis on a set of subjects' data.
  5. %
  6. % Runing this file will:
  7. % 1. Define pre-processing parameters
  8. % 2. Select the subject(s) to analyse
  9. % For each subject:
  10. % 3. Prepare data structure according to Trento acquisition
  11. % 3.1. Import functional and anatomical data
  12. % 3.2. (IF) Realignment
  13. % 3.3. (IF) Segmentation of the anatomical data and corregistration
  14. % 4. Run different metric analysis (RFR, SVarM, GLM, ICA)
  15. % 5. Call for statistical analysis pipelines
  16. %
  17. % Warning!
  18. % This pipeline is tailored to run in the Trento dataset.
  19. % Feel free to adjust it to the needs of your own acquisition!
  20. %
  21. % Authors:
  22. % Milena Capiglioni
  23. %
  24. % Date: started 2024/07,
  25. % 2025/02: unified RFR pipeline (check with notes)
  26. % 2025/08: added ICA denoising option
  27. %
  28. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  29. clear; clc; close all;
  30. % Add necessary paths
  31. addpath('/home/user/matlab/PostProcessing/Trento/functions')
  32. addpath('/home/user/matlab/PostProcessing/Trento/Analysis_MRI/')
  33. %% 1. Define processing parameters
  34. % Define functional sequences to analyze with the RFR procedure
  35. func_seq = {'NEMO_36_Hz_alll'}; %
  36. % Define the name of the anat sequence
  37. t1_seq = '001_csMP2RAGE_1mm_iso_Lambda^0';
  38. % Pre-processing parameters
  39. realignment_mode = 'none'; % 'none' (no realignment) // 'spm' // 'fsl'
  40. all_slices = 1;
  41. coreg.cor = 1; % non-linear cor of high resolution
  42. coreg.tool = 'fsl'; % tool for cor
  43. ICA_denoise = 0; % requires manual intervention
  44. DL_segment = 1;
  45. % RFR parameters
  46. regression.type = 0; % 0=baseline // 1=baseline+hrf // 2=baseline+hrf+mov
  47. filter.cutoff = 0.25;
  48. filter.type = 1;
  49. % Debug images are printed at each step of the processing pipeline
  50. debug = 0;
  51. % Deal with prohibited options TODO
  52. if strcmp(realignment_mode,'none') && regression.type == 2
  53. error('You cannot regress movement parameters without performing realignment')
  54. end
  55. % Acquisition parameters
  56. dummy_scans = 12;
  57. % Stimulation parameters
  58. stim.number_blocks = 24;
  59. stim.block_duration = 16;
  60. stim.freq = 1/(stim.block_duration); % Hz
  61. stim.one_side_duration = stim.block_duration * stim.number_blocks/2;
  62. % Set the starting path where data is
  63. cd('/str/data/Analysis/Trento/Analysis_paper/MR_measurements/');
  64. %% 2. Select the subject(s) to analyse
  65. % multiple_subjects = input('Do you want to analyze more than one subject? 0=NO 1=YES: ');
  66. multiple_subjects = 1;
  67. if multiple_subjects == 0 % Select single subject
  68. % work_dir_aux = strcat(uigetdir(path,'Select subject folder'),filesep);
  69. work_dir_aux = '/str/data/Analysis/Trento/Analysis_paper/MR_measurements/v_20230508_01_PG_LUCR/';
  70. aux = strsplit(work_dir_aux,filesep);
  71. work_dir_aux = strcat(strjoin(aux(1:end-2),filesep),filesep);
  72. subjects.name = aux{end-1};
  73. else % Select folder were all the subject are
  74. work_dir_aux = strcat(uigetdir(path,'Select folder with subjects'),filesep);
  75. cd(work_dir_aux);
  76. files = dir(work_dir_aux);
  77. aux = contains({files.name},{'v_20'})&[files.isdir];
  78. subjects = files(aux);
  79. end
  80. clear aux multiple_subjects files
  81. %% For each subject, run pipelines
  82. for sub = 12
  83. work_dir = strcat(work_dir_aux,subjects(sub).name,filesep);
  84. disp(['Initiating processing for Subject ', num2str(sub), '/', num2str(length(subjects)), ': ',subjects(sub).name, ' ' ])
  85. cd(work_dir);
  86. all_folders = dir;
  87. aux = ismember({all_folders.name},func_seq)&[all_folders.isdir];
  88. func_folders = all_folders(aux);
  89. if isempty(func_folders)
  90. disp(['Subject', subjects(sub).name, ' does not have any sequence of interest']);
  91. continue;
  92. end
  93. for f = 1:length(func_folders)
  94. % 3 - Prepare data structure according to Trento acquisition
  95. % Create output folder
  96. if coreg.cor == 0
  97. txt_cor = '';
  98. else
  99. txt_cor = ['-cor' coreg.tool];
  100. end
  101. if ICA_denoise == 0
  102. txt_ICA = '';
  103. else
  104. txt_ICA = '-ICA';
  105. end
  106. if strcmp(realignment_mode,'none')
  107. txt_real = '';
  108. else
  109. txt_real = ['-real' realignment_mode];
  110. end
  111. out_dir = [work_dir 'Analysis' filesep 'Corregistration_test' filesep func_folders(f).name [txt_real '-reg' num2str(regression.type) '-hpf' num2str(filter.type) '-' num2str(filter.cutoff) txt_cor txt_ICA '-TEST_data'] filesep];
  112. if ~exist(out_dir,'dir')
  113. mkdir(out_dir);
  114. elseif ~isempty(dir([out_dir '*.mat']))
  115. continue;
  116. end
  117. % Read functional data
  118. func_data_path = [work_dir func_folders(f).name filesep];
  119. func_nii_path = create_nii__(func_data_path,[out_dir 'preproc' filesep 'func' filesep],'name','func','dummy_scans',dummy_scans);
  120. % Perform realigment of functional data
  121. [data_path, regression.movement_params, frame_disp] = Realign_func(func_nii_path,realignment_mode,all_slices,1); % TODO: define if this changes the func_path or if it is selected later!
  122. % Read anatomical data
  123. anat_folder = [out_dir 'preproc' filesep 'anat' filesep]; % Folder where the anatomy data will be
  124. anat_hr = [anat_folder 'T1w_norm.nii']; % Define name that the anatomy should have
  125. anat_hr_seg = [anat_folder 'T1w_norm_seg.nii']; % Define name that the segmented anatomy will have
  126. if ~(exist(anat_folder,'dir') && exist(anat_hr,'file') && exist(anat_hr_seg,'file') )
  127. mkdir(anat_folder);
  128. if DL_segment
  129. try
  130. model = 0; % 0 = v0 -> Desikan-Killiany , 1 = v7 -> Destrieux atlas
  131. DLdirect_path = DLdirect_subject_space_Trento(work_dir,t1_seq,model); % Run DL+DiReCT on anatomical image or obtain path to segmented data
  132. catch
  133. disp('Subject space DL segmentation failed, procesing with standard DL pipeline');
  134. waitforbuttonpress;
  135. DLdirect_path = DLdirect(work_dir,t1_seq); % Run DL+DiReCT on anatomical image or obtain path to segmented data
  136. end
  137. system(['cp ' DLdirect_path 'T1w_norm.nii ' anat_folder]);
  138. system(['cp ' DLdirect_path 'T1w_norm_seg.nii ' anat_folder]);
  139. else
  140. [anat_hr, anat_hr_seg, vc_mask] = Segment_anatomy(t1_seq, anat_folder)
  141. end
  142. end
  143. % Corregister to anatomical image
  144. [seg_data_path] = Corregister_func_anat_3(data_path,anat_hr,anat_hr_seg,coreg.cor,coreg.tool);
  145. % Separate between left and right stimulation
  146. func{1}.path = data_path;
  147. [func{1}.path,func{2}.path] = nii_split(data_path);
  148. func{1}.txt = 'Side1_Stim_Left';
  149. func{2}.txt = 'Side2_Stim_Right';
  150. if ICA_denoise
  151. numIC = '';
  152. func{1}.path = melodic_ICA(func{1}.path, seg_data_path, stim, numIC);
  153. func{2}.path = melodic_ICA(func{2}.path, seg_data_path, stim, numIC);
  154. end
  155. % Split movement parameters and assign to regression
  156. if regression.type == 2
  157. [movement_path_1,movement_path_2] = separate_table(regression.movement_params);
  158. end
  159. var_val = {func_folders(f).name,t1_seq,realignment_mode,all_slices,dummy_scans}';
  160. var_name = {'func_seq:';'t1_seq:';'pre_proc:';'all_slices:';'dummy_scans:'};
  161. T = table(var_val,'RowNames',var_name);
  162. writetable(T,[out_dir,'preproc/func/preprocessing_params.txt'],'Delimiter','\t','WriteRowNames',true)
  163. %% Metrics calculation
  164. % RFR & SVarM
  165. outdir_post = [out_dir 'postproc' filesep];
  166. regression.movement_params = movement_path_1;
  167. postproc(func{1}.path,seg_data_path,stim,filter,regression,[outdir_post 'side1' filesep]);
  168. regression.movement_params = movement_path_2;
  169. postproc(func{2}.path,seg_data_path,stim,filter,regression,[outdir_post 'side2' filesep]);
  170. %% Statistical analysis
  171. % metrics(func{1}.path,seg_data_path,outdir_post,stim,'side1',func_folders(f).name);
  172. % metrics(func{2}.path,seg_data_path,outdir_post,stim,'side2',func_folders(f).name);
  173. end
  174. end

Trento_pipeline.m at commit 545472e, under MIT · at the source

Overview

  1. Support Center for Advanced Neuroimaging (SCAN), Inselspital Institute for Diagnostic and Interventional Neuroradiology Bern Bern Switzerland
  2. High‐Field MR Center Max Planck Institute for Biological Cybernetics Tübingen Germany
  3. Center for Mind and Brain Sciences (CIMeC) University of Trento Rovereto Italy
  4. Department of Physics University of Trento Trento Italy
  5. Trento Institute for Fundamental Physics and Applications (TIFPA‐INFN), University of Trento Trento Italy
  6. Department of Physics University of Torino Torino Italy
  7. Department of Molecular Biotechnology and Health Sciences University of Torino Torino Italy
Journal: Human brain mapping, volume 47, issue 11, article e70624
Dates: received 19 February 2026; accepted 30 July 2026; published online 7 August 2026; in print August 2026
Type: Research article · Language: English
License: CC BY
Identifiers: DOI 10.1002/hbm.70624 · PMID 42565248 · PMCID PMC13449028 · OpenAlex W7201830678
Open access: gold, a free copy (OpenAlex)
Status: code verified
Categories: fMRI (modality), MEG (modality), human (organism)
Methods: Spectral & time-frequency, Statistics, Smoothing, state filtering, decompositions, Preprocessing, Source localization, fMRI & imaging, Physiology & signal measures
Keywords: MEG, multimodal imaging, neuroelectrical oscillations, non‐BOLD fMRI, spin‐lock fMRI
MeSH: Brain*, Brain Mapping*, Magnetic Resonance Imaging*, Magnetoencephalography*, Adult, Female, Humans, Male, Phantoms, Imaging, Photic Stimulation, Young Adult (* major topic)
Topic: Functional Brain Connectivity Studies (Cognitive Neuroscience, Neuroscience), according to OpenAlex
Citations: not cited yet (Europe PMC); 33 references in the paper

Abstract

Conventional BOLD‐fMRI relies on hemodynamic responses that are temporally and spatially indirect markers of neural activity. Developing alternative contrasts, sensitive to neuroelectrical phenomena, is a critical challenge in brain imaging. Spin‐lock (SL) fMRI has shown promise in phantom studies for detecting magnetic field changes associated with neuronal activity, but its in‐vivo sensitivity and practicality remain unclear. This study evaluated whether SL contrast can effectively detect and localize human neuronal activation, benchmarked against complementary functional modalities, magnetoencephalography (MEG) and 3T BOLD‐fMRI, to assess the sensitivity of MR‐based neuronal current imaging. Thirteen healthy young volunteers underwent SL‐based imaging during 8 Hz visual stimulation, along with BOLD and MEG acquisitions. Subjects viewed quadrant‐checkerboard stimuli to elicit localized cortical responses. Two balanced SL contrast mechanisms, rotary excitation (REX) and stimulus‐induced rotary saturation (SIRS), were employed. Postprocessing targeted stimulus‐locked signal fluctuations using a regression‐filtering‐rectification strategy. Phantom experiments tested sensitivity and analysis pipeline performance. MEG revealed robust stimulus‐locked responses in the occipital cortex, with estimated local magnetic field amplitudes of ~0.07 nT. Conventional BOLD‐fMRI confirmed reliable hemodynamic activation. In contrast, neither balanced REX nor balanced SIRS produced consistent stimulus‐related activation in vivo. Phantom experiments subsequently yielded detection thresholds of 0.2 nT for REX and 0.6 nT for SIRS, exceeding the MEG‐estimated physiological field amplitudes. Under the present experimental conditions, the tested spin‐lock fMRI implementations did not achieve sufficient sensitivity for reliable in vivo detection of neuronal magnetic fields at 3T. Phantom and MEG‐based estimates indicate that physiological field amplitudes in the visual cortex lie below current detection limits. These findings establish quantitative constraints on direct neuronal current imaging with MRI and provide a benchmark for future methodological developments aimed at bridging electrophysiology and functional MRI.

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

milecap/MRIMEG_pipelines

License: MIT
State: the link answers, verified on 26 September 2026
Evidence: files inventoried
Commit: 545472e08820a630e644fc0430e6e40aa2483450, 8 August 2026
Languages: MATLAB (22)
Size: 24 files, 22 scripts
Software Heritage: not archived
Found in: the text, “MRI Data Analysis”
Holds: README, license file
Not found: CITATION.cff, environment file, tests, continuous integration, documentation
Availability: 1 check, the latest on 26 September 2026: the link answers
  • 26 September 2026: the link answers
24 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;
  • 22 scripts, each with its path and the digest of its content;
  • 3 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 data presented in this study will be made available upon request to the corresponding author. The source code for data analysis will be made publicly available upon publication at: https://github.com/milecap/MRIMEG_pipelines.

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, 6 authors, 5 keywords, 11 MeSH terms, 2 funders, 33 references.

Cite

This paper

Capiglioni, M., Tabarelli, D., Tambalo, S., Turco, F., Wiest, R., & Jovicich, J. (2026). Exploring the Sensitivity Limits of Neuronal Current Imaging With MRI and MEG in the Human Brain. Human brain mapping, 47(11), e70624. https://doi.org/10.1002/hbm.70624

BibTeX

@article{capiglioni2026exploring,
author = {Capiglioni, Milena and Tabarelli, Davide and Tambalo, Stefano and Turco, Federico and Wiest, Roland and Jovicich, Jorge},
title = {{Exploring the Sensitivity Limits of Neuronal Current Imaging With MRI and MEG in the Human Brain}},
journal = {Human brain mapping},
year = {2026},
month = aug,
volume = {47},
number = {11},
pages = {e70624},
publisher = {Wiley},
issn = {1065-9471},
doi = {10.1002/hbm.70624},
url = {https://doi.org/10.1002/hbm.70624},
pmid = {42565248},
pmcid = {PMC13449028}
}

RIS

TY - JOUR
AU - Capiglioni, Milena
AU - Tabarelli, Davide
AU - Tambalo, Stefano
AU - Turco, Federico
AU - Wiest, Roland
AU - Jovicich, Jorge
TI - Exploring the Sensitivity Limits of Neuronal Current Imaging With MRI and MEG in the Human Brain
T2 - Human brain mapping
J2 - Hum Brain Mapp
PY - 2026
DA - 2026/08/01
VL - 47
IS - 11
SP - e70624
SN - 1065-9471
PB - Wiley
DO - 10.1002/hbm.70624
UR - https://doi.org/10.1002/hbm.70624
LA - en
ER -

CSL-JSON

{
"id": "10.1002/hbm.70624",
"type": "article-journal",
"title": "Exploring the Sensitivity Limits of Neuronal Current Imaging With MRI and MEG in the Human Brain",
"container-title": "Human brain mapping",
"author": [
{
"family": "Capiglioni",
"given": "Milena"
},
{
"family": "Tabarelli",
"given": "Davide"
},
{
"family": "Tambalo",
"given": "Stefano"
},
{
"family": "Turco",
"given": "Federico"
},
{
"family": "Wiest",
"given": "Roland"
},
{
"family": "Jovicich",
"given": "Jorge"
}
],
"container-title-short": "Hum Brain Mapp",
"volume": "47",
"issue": "11",
"page": "e70624",
"DOI": "10.1002/hbm.70624",
"PMID": "42565248",
"PMCID": "PMC13449028",
"ISSN": "1065-9471",
"publisher": "Wiley",
"URL": "https://doi.org/10.1002/hbm.70624",
"language": "en",
"issued": {
"date-parts": [
[
2026,
8,
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.7554/elife.108408 [code]
Frequency and laminar profile of feature-specific visual activity revealed by interleaved EEG-fMRI.
Journal: eLife
In common: Tools for NIfTI and ANALYZE image (MATLAB), FieldTrip, FSL, 4 other tools, fMRI, 1 reference
[2] doi:10.1002/advs.77857 [code]
Brain Network Dynamics of Local and Global Predictive Processing in Aging.
Journal: Advanced science (Weinheim, Baden-Wurttemberg, Germany)
In common: Tools for NIfTI and ANALYZE image (MATLAB), FieldTrip, FSL, 4 other tools, 1 reference
[3] doi:10.1111/nyas.70349 [code]
FREQ-NESS Reveals Age-Related Differences in Frequency-Resolved Brain Networks During Auditory Recognition and Resting State.
Journal: Annals of the New York Academy of Sciences
In common: Tools for NIfTI and ANALYZE image (MATLAB), FieldTrip, FSL, 4 other tools, MEG
[4] doi:10.1038/s41467-026-73668-y [code]
Convergent and divergent brain-cognition development in early adolescence.
Journal: Nature communications
In common: Tools for NIfTI and ANALYZE image (MATLAB), FieldTrip, FSL, 4 other tools, fMRI
[5] doi:10.1038/s41586-026-10631-3 [code]
A prognostic human brain network for diffuse midline glioma.
Journal: Nature
In common: Tools for NIfTI and ANALYZE image (MATLAB), FieldTrip, FSL, 4 other tools
[6] doi:10.1038/s41562-026-02473-w [code]
Brain activity, disruption and connectivity comparisons identify origins of human metacognition in other primates.
Journal: Nature human behaviour
In common: Tools for NIfTI and ANALYZE image (MATLAB), FieldTrip, FSL, 3 other tools, 1 reference
[7] doi:10.1002/hbm.70560
Mitigating the Impact of MR Sequence Parameters: Increasing the Robustness of DL-Based Cortical Thickness Estimates.
Journal: Human brain mapping
In common: 2 authors
[8] doi:10.1016/j.neuroimage.2026.122171 [code]
A conserved node degree-based backbone and flexible hub organization of brain connectome during naturalistic movie watching.
Journal: NeuroImage
In common: Tools for NIfTI and ANALYZE image (MATLAB), FieldTrip, FSL, 3 other tools, fMRI
[9] doi:10.1002/hbm.70621 [code]
Optimising 7T-fMRI for Imaging Regions of Magnetic Susceptibility.
Journal: Human brain mapping
In common: Tools for NIfTI and ANALYZE image (MATLAB), FieldTrip, FSL, 3 other tools, fMRI
[10] doi:10.1016/j.isci.2026.116903 [code]
Neurobiological and behavioral relevance of intrinsic functional connectome constraints on task-evoked neural activation.
Journal: iScience
In common: Tools for NIfTI and ANALYZE image (MATLAB), FieldTrip, FSL, 3 other tools, fMRI

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.

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: questions and error reports about this paper and its code, from signed-in readers and its authors. It opens with sign-in.

Reproductions: reports from readers who ran the authors' code: what they reproduced, with which environment, commit and data. It opens with sign-in.

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