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 to 83 · score 0.85 · fold cross validation, neural signals, mTRF, encoding model, ridge, CV · Report a mismatch
  2. [2] § Results › Audiovisual encoding exhibits modality-specific representations ↔ mTRF_tutorial.m, lines 1 to 83 · score 0.69 · fold cross validation, neural signals, mTRF, Encoding modeling, audio, electrodes · Report a mismatch
  3. [3] § Methods › Audiovisual feature extraction ↔ .virtual_documents/AV_featureExt_tutorial.ipynb, lines 78 to 100 · score 0.50 · transformer blocks, batch, layers, models · Report a mismatch
  4. [4] § Methods › Audiovisual feature extraction ↔ AV_featureExt_tutorial.ipynb, lines 73 to 101 · score 0.50 · transformer blocks, batch, layers, models · 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 · 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 (how the code is found and 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.1038/s41597-025-05462-2 [code]
The "Podcast" ECoG dataset for modeling neural activity during natural language comprehension.
Journal: Scientific data
In common: PyTorch, SciPy, Matplotlib, 1 other tool, intracranial EEG (iEEG / ECoG / SEEG), 7 references, 2 authors
[2] doi:10.1038/s42003-025-09377-x [code]
Hierarchical linguistic predictions and cross-level information updating during narrative comprehension.
Journal: Communications biology
In common: PyTorch, SciPy, Matplotlib, 1 other tool, cognitive, 5 references, 2 authors
[3] 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
[4] doi:10.1038/s41593-025-02060-8 [code]
Temporal integration in human auditory cortex is predominantly yoked to absolute time.
Journal: Nature neuroscience
In common: PyTorch, SciPy, Matplotlib, 1 other tool, intracranial EEG (iEEG / ECoG / SEEG), 4 references, 2 authors
[5] doi:10.1038/s42003-024-07434-5 [code]
Neural processing of naturalistic audiovisual events in space and time.
Journal: Communications biology
In common: cognitive, 11 references
[6] doi:10.1038/s41562-025-02105-9 [code]
A unified acoustic-to-speech-to-language embedding space captures the neural basis of natural language processing in everyday conversations.
Journal: Nature human behaviour
In common: PyTorch, SciPy, Matplotlib, 1 other tool, intracranial EEG (iEEG / ECoG / SEEG), cognitive, 2 references, 2 authors
[7] doi:10.1016/j.celrep.2025.115677 [code]
A left-lateralized dorsolateral prefrontal network for naming.
Journal: Cell reports
In common: intracranial EEG (iEEG / ECoG / SEEG), 7 references, author Adeen Flinker
[8] doi:10.1371/journal.pcbi.1012161 [code]
Temporal dynamics of short-term neural adaptation across human visual cortex.
Journal: PLoS computational biology
In common: SciPy, Matplotlib, NumPy, intracranial EEG (iEEG / ECoG / SEEG), 2 references, 2 authors
[9] doi:10.1038/s41467-025-65518-0 [code]
Temporal structure of natural language processing in the human brain corresponds to layered hierarchy of large language models.
Journal: Nature communications
In common: PyTorch, SciPy, Matplotlib, 1 other tool, intracranial EEG (iEEG / ECoG / SEEG), cognitive, 1 reference, 2 authors
[10] doi:10.1093/cercor/bhac443
Audiovisual integration in the human brain: a coordinate-based meta-analysis.
Journal: Cerebral cortex (New York, N.Y. : 1991)
In common: cognitive, 9 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.1038/s41467-026-73947-8.svg)](https://openscicode.org/badge/doi/10.1038/s41467-026-73947-8)
<!-- oscr-badge:end -->
reStructuredText
.. oscr-badge:start

.. image:: https://openscicode.org/badge/doi/10.1038/s41467-026-73947-8.svg
   :target: https://openscicode.org/badge/doi/10.1038/s41467-026-73947-8
   :alt: OSCR

.. oscr-badge:end
HTML
<!-- oscr-badge:start -->
<a href="https://openscicode.org/badge/doi/10.1038/s41467-026-73947-8"><img src="https://openscicode.org/badge/doi/10.1038/s41467-026-73947-8.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.