OSCR

Frontal cortex organization supporting audiovisual processing during naturalistic viewing.

Code ↔ Paper

4 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 4 matches
  1. [1] § Methods › Encoding modeling procedure ↔ mTRF_tutorial.m, lines 1–83 · score 0.85 · fold cross validation, neural signals, mTRF, encoding model, ridge, CV
  2. [2] § Results › Audiovisual encoding exhibits modality-specific representations ↔ mTRF_tutorial.m, lines 1–83 · score 0.69 · fold cross validation, neural signals, mTRF, Encoding modeling, audio, electrodes
  3. [3] § Methods › Audiovisual feature extraction ↔ .virtual_documents/AV_featureExt_tutorial.ipynb, lines 78–100 · score 0.50 · transformer blocks, batch, layers, models
  4. [4] § Methods › Audiovisual feature extraction ↔ AV_featureExt_tutorial.ipynb, lines 73–101 · score 0.50 · transformer blocks, batch, layers, models

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 · 104 lines · 3.6 KB · MIT · 2 matches

  1. % This tutorial script demonstrates how to implement mTRF encoding model on
  2. % neural data. In this tutorial, I will go through the application of the
  3. % mTRF model using an example patient data, with the audio spectrogram as
  4. % the stimulus feature (aka. the STRF model).
  5. %
  6. % The current script applies the mTRF toolbox, which can be downloaded from
  7. % here: https://github.com/mickcrosse/mTRF-Toolbox
  8. %
  9. % - Faxin Zhou, Feb. 12, 2026
  10. % =========================================================================
  11. % SET-UP WORKING DIRECTORY
  12. % -------------------------------------------------------------------------
  13. % clear all
  14. cd /Users/faxin/Documents/Github/FLM_Paper
  15. % LOAD NEURAL DATA
  16. % -------------------------------------------------------------------------
  17. y = load('Data/HG_data.mat').y; % high-gamma data (ts * elecs)
  18. ch = load('Data/HG_data.mat').ch; % MNI coordinates
  19. srate = 512; % neural signal sampling rate
  20. % LOAD AUDIO SPECTROGRAM
  21. % -------------------------------------------------------------------------
  22. % Frequencies were averaged into 10 bins for faster implementation.
  23. X = load('Data/audio_spectrogram.mat').aud_spec; % (ts * features)
  24. % We can also visualize the spectrogram
  25. imagesc(X')
  26. title('Audio Spectrogram')
  27. xlabel('time (samples)')
  28. ylabel('frequency (bins)')
  29. % mTRF (HYPER)PARAMETERS
  30. % -------------------------------------------------------------------------
  31. tmin = 0; tmax = 400; % mTRF window is 0 to 400 ms
  32. nfold = 4; % n fold cross validation
  33. R_mod = 'ridge'; % methods for regularization. 'Tikhonov' or 'ridge'
  34. R = 10000; % regularization parameter;
  35. % mTRF START!
  36. % -------------------------------------------------------------------------
  37. [r_mean, r, M] = CV_mTRF(X, y, srate, nfold, tmin, tmax, R, R_mod);
  38. % VISUALIZE TWO CLUSTERS IN THE BRAIN WITH MITHRA TOOLBOX
  39. % -------------------------------------------------------------------------
  40. % brain figures have been saved to "./Results/mTRF_results.png"
  41. % OBTAIN BRAIN TEMPLATES
  42. P.vis_mode = 'MNI';
  43. [VT_lh, VT_rh] = brain_plot_prep(P, '/Users/faxin/Documents/Data_Analysis/Interesting/iEEG_visualization/visualization-tools-v2/matlab');
  44. % VISUALIZATION
  45. ElecColor = [0.0, 0.0, 0.0];
  46. BrainColor = [1, 1, 1];
  47. alpha = 0.8;
  48. radius = 2.8;
  49. clim = [0, 0.4];
  50. aud_cmap = cmap_gen([0.9, 0.9, 0.9], ...
  51. sscanf('a70000', '%2x%2x%2x', [1 3]) / 255);
  52. figure,
  53. VT_lh.PlotElecOnBrain(ch, ...
  54. 'ElecColor', r_mean', ...
  55. 'BrainColor', BrainColor, ...
  56. 'flag_AddFigure', false, ...
  57. 'FaceAlpha', alpha, ...
  58. 'radius', radius, ...
  59. 'cmap', aud_cmap,...
  60. 'clim', clim);
  61. % =========================================================================
  62. % mTRF TRAINGING FUNCTION
  63. % -------------------------------------------------------------------------
  64. function [r_mean, r, G_M] = CV_mTRF(X, Y, srate, nfold, tmin, tmax, R, R_mod)
  65. N = length(Y);
  66. I = 1 : N;
  67. r = zeros(nfold, size(Y, 2));
  68. for n = 0 : nfold - 1
  69. % data split
  70. test_I = N * n / nfold + 1 : N * (n + 1) / nfold;
  71. train_I = I; train_I(test_I) = [];
  72. Y_train = Y(train_I, :); Y_test = Y(test_I, :);
  73. X_train = X(train_I, :); X_test = X(test_I, :);
  74. % model training
  75. M = mTRFtrain(X_train, Y_train, srate, 1, tmin, tmax, R, ...
  76. 'method', R_mod, 'split', 5, 'zeropad', 0);
  77. % model prediction
  78. [~, S] = mTRFpredict(X_test, Y_test, M);
  79. r(n + 1, :) = S.r;
  80. M.nfold = n + 1;
  81. G_M(n + 1) = M;
  82. end
  83. r_mean = mean(r);
  84. end

mTRF_tutorial.m at commit 11b1954, under MIT · at the source

Overview

Authors: Faxin Zhou1, Amirhossein Khalilian-Gourtani2, Patricia Dugan2, Andrew Michalak2, Orrin Devinsky2, Peter Rozman3, Werner Doyle3, Daniel Friedman2, Adeen Flinker1,2
  1. Department of Biomedical Engineering, Tandon School of Engineering, New York University, New York, NY USA
  2. Department of Neurology, School of Medicine, New York University, New York, NY USA
  3. Department of Neurosurgery, School of Medicine, New York University, New York, NY USA
Institutions: New York University (United States)
Journal: Nature communications, volume 17, issue 1, article 5355
Dates: received 13 June 2025; accepted 22 May 2026; published online 22 June 2026
Type: Research article · Language: English
License: CC BY-NC-ND
Identifiers: DOI 10.1038/s41467-026-73947-8 · PMID 42331796 · PMCID PMC13287464 · OpenAlex W4411746071
Open access: gold, a free copy (OpenAlex)
Status: code verified
Categories: intracranial EEG (iEEG / ECoG / SEEG) (modality), human (organism), cognitive (subfield)
Methods: Spectral & time-frequency, Statistics, Smoothing, state filtering, decompositions, Machine learning, Preprocessing, Connectivity, fMRI & imaging
Keywords: Human behaviour, Neural encoding
MeSH: Auditory Perception*, Frontal Lobe*, Visual Perception*, Acoustic Stimulation, Adult, Brain Mapping, Electrocorticography, Female, Humans, Male, Photic Stimulation, Young Adult (* major topic)
Topic: Multisensory perception and integration (Experimental and Cognitive Psychology, Psychology), according to OpenAlex
Funding: Foundation for the National Institutes of Health (Foundation for the National Institutes of Health, Inc.) (R01DC018805, R01NS115929); National Science Foundation (NSF) (IIS-2309057)
Citations: not cited yet (Europe PMC); 93 references in the paper

Abstract

The abstract is not reproduced here: the paper's license (CC BY-NC-ND) does not allow it. Read it in the paper, at the publisher or on Europe PMC.

Repository

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

flinkerlab/audiovisual_frontal_organization

License: MIT
State: the link answers, verified on 27 September 2026
Evidence: files inventoried
Commit: 11b19544dd4ad6493bf33a016f8d95899aab52f3, 14 February 2026
Languages: Jupyter (2), MATLAB (2)
Size: 12 files, 4 scripts
Software Heritage: not archived
Found in: “Code availability”
Holds: README, license file, 2 notebooks
Not found: CITATION.cff, environment file, tests, continuous integration, documentation
Tools: Matplotlib (2 files), NumPy (2 files), OpenCV (2 files), PyTorch (2 files), SciPy (2 files)
Availability: 1 check, the latest on 27 September 2026: the link answers
  • 27 September 2026: the link answers
6 files

Code availability statement

The paper has a code availability statement. Its license (CC BY-NC-ND) does not allow reproducing it here; in short, from what the harvester recognized in it:

Read it in the paper: doi.org/10.1038/s41467-026-73947-8.

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;
  • 4 scripts, each with its path and the digest of its content;
  • 4 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.

Code and data availability statement

The paper has a code and data availability statement. Its license (CC BY-NC-ND) does not allow reproducing it here; in short, from what the harvester recognized in it:

Read it in the paper: doi.org/10.1038/s41467-026-73947-8.

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, 9 authors, 2 keywords, 12 MeSH terms, 2 funders, 79 references.

Cite

This paper

Zhou, F., Khalilian-Gourtani, A., Dugan, P., Michalak, A., Devinsky, O., Rozman, P., Doyle, W., Friedman, D., & Flinker, A. (2026). Frontal cortex organization supporting audiovisual processing during naturalistic viewing. Nature communications, 17(1), 5355. https://doi.org/10.1038/s41467-026-73947-8

BibTeX

@article{zhou2026frontal,
author = {Zhou, Faxin and Khalilian-Gourtani, Amirhossein and Dugan, Patricia and Michalak, Andrew and Devinsky, Orrin and Rozman, Peter and Doyle, Werner and Friedman, Daniel and Flinker, Adeen},
title = {{Frontal cortex organization supporting audiovisual processing during naturalistic viewing}},
journal = {Nature communications},
year = {2026},
month = jun,
volume = {17},
number = {1},
pages = {5355},
publisher = {Nature Publishing Group},
issn = {2041-1723},
doi = {10.1038/s41467-026-73947-8},
url = {https://doi.org/10.1038/s41467-026-73947-8},
pmid = {42331796},
pmcid = {PMC13287464}
}

RIS

TY - JOUR
AU - Zhou, Faxin
AU - Khalilian-Gourtani, Amirhossein
AU - Dugan, Patricia
AU - Michalak, Andrew
AU - Devinsky, Orrin
AU - Rozman, Peter
AU - Doyle, Werner
AU - Friedman, Daniel
AU - Flinker, Adeen
TI - Frontal cortex organization supporting audiovisual processing during naturalistic viewing
T2 - Nature communications
J2 - Nat Commun
PY - 2026
DA - 2026/06/22
VL - 17
IS - 1
SP - 5355
SN - 2041-1723
PB - Nature Publishing Group
DO - 10.1038/s41467-026-73947-8
UR - https://doi.org/10.1038/s41467-026-73947-8
LA - en
ER -

CSL-JSON

{
"id": "10.1038/s41467-026-73947-8",
"type": "article-journal",
"title": "Frontal cortex organization supporting audiovisual processing during naturalistic viewing",
"container-title": "Nature communications",
"author": [
{
"family": "Zhou",
"given": "Faxin"
},
{
"family": "Khalilian-Gourtani",
"given": "Amirhossein"
},
{
"family": "Dugan",
"given": "Patricia"
},
{
"family": "Michalak",
"given": "Andrew"
},
{
"family": "Devinsky",
"given": "Orrin"
},
{
"family": "Rozman",
"given": "Peter"
},
{
"family": "Doyle",
"given": "Werner"
},
{
"family": "Friedman",
"given": "Daniel"
},
{
"family": "Flinker",
"given": "Adeen"
}
],
"container-title-short": "Nat Commun",
"volume": "17",
"issue": "1",
"page": "5355",
"DOI": "10.1038/s41467-026-73947-8",
"PMID": "42331796",
"PMCID": "PMC13287464",
"ISSN": "2041-1723",
"publisher": "Nature Publishing Group",
"URL": "https://doi.org/10.1038/s41467-026-73947-8",
"language": "en",
"issued": {
"date-parts": [
[
2026,
6,
22
]
]
}
}

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.1126/sciadv.aec0518 [code]
Hybrid spatial organization and evidence for magnitude-independent neural coding of linguistic information during sentence production.
Journal: Science advances
In common: intracranial EEG (iEEG / ECoG / SEEG), 7 references, 2 authors
[2] doi:10.1038/s41467-026-75359-0 [code]
Neural mechanisms of time-forward predictions for naturalistic auditory tone sequences.
Journal: Nature communications
In common: cognitive, 3 references, 2 authors
[3] doi:10.1371/journal.pcbi.1014251 [code]
Distilling noise characteristics and prior expectations in multisensory causal inference.
Journal: PLoS computational biology
In common: cognitive, 7 references
[4] doi:10.1162/imag.a.1227 [code]
Large language models reveal the neural tracking of linguistic context in attended and unattended multi-talker speech.
Journal: Imaging neuroscience (Cambridge, Mass.)
In common: PyTorch, SciPy, Matplotlib, 1 other tool, intracranial EEG (iEEG / ECoG / SEEG), cognitive, 4 references
[5] doi:10.1038/s41586-026-10691-5 [code]
Mapping the neuronal building blocks of human language with language models.
Journal: Nature
In common: SciPy, Matplotlib, NumPy, cognitive, 5 references
[6] doi:10.7554/elife.101204 [code]
Larger language models better align with neural representations of natural language.
Journal: eLife
In common: PyTorch, SciPy, NumPy, intracranial EEG (iEEG / ECoG / SEEG), 1 reference, author Adeen Flinker
[7] doi:10.1016/j.neuron.2026.04.011 [code]
Precision fMRI reveals densely interdigitated network patches with conserved motifs in the lateral prefrontal cortex.
Journal: Neuron
In common: PyTorch, SciPy, Matplotlib, 1 other tool, 4 references
[8] doi:10.1093/braincomms/fcag253 [code]
Disease detection and classification in temporal lobe epilepsy: step-wise versus simultaneous AI decision models in a multisite neuroimaging study.
Journal: Brain communications
In common: OpenCV, PyTorch, SciPy, 2 other tools, author Orrin Devinsky
[9] doi:10.7554/elife.109400 [code]
High-fidelity neural speech reconstruction through an efficient acoustic-linguistic dual-pathway framework.
Journal: eLife
In common: PyTorch, SciPy, Matplotlib, 1 other tool, intracranial EEG (iEEG / ECoG / SEEG), cognitive, 3 references
[10] doi:10.1162/imag.a.1349 [code]
Rapid cortical mapping with cross-participant encoding models.
Journal: Imaging neuroscience (Cambridge, Mass.)
In common: SciPy, Matplotlib, NumPy, cognitive, 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.

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.