OSCR

Learning via short videos impairs memory accuracy and reduces brain synchrony.

Code ↔ Paper

The paper beside its authors' code: matches between them have not been computed for this paper yet.

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 · 64 lines · 2.3 KB · no license

  1. ## Code for Manuscript Wei et al., 2026 (Communications psychology)
  2. ## Learning via Short Videos Impairs Memory Accuracy and Reduces Brain Synchrony
  3. ## If you have any questions, please contact the first [email hidden]
  4. ## last update: 6/May/2026
  5. ### This script serves as the core code for inter-subject correlation (ISC) analysis. Before running it,
  6. ### you should first crop out the time window of interest using the “cut” step.
  7. ### Doing so isolates the content of interest, improves the accuracy of the results, and helps reduce computational cost to some extent.
  8. import os
  9. from brainiak.isc import isc
  10. from brainiak.io import load_boolean_mask, load_images
  11. from brainiak.image import mask_images
  12. from nibabel import save as nib_save, Nifti1Image
  13. import numpy as np
  14. from glob import glob
  15. import datetime
  16. # Record the current time
  17. current_time = datetime.datetime.now().strftime("%Y-%m-%d %H:%M:%S")
  18. print(f"Current system time:{current_time}")
  19. # Please replace the following path with the correct one
  20. data_dir =
  21. output_folder =
  22. # Ensure that the output folder exists
  23. if not os.path.exists(output_folder):
  24. os.makedirs(output_folder)
  25. # Find all function and mask files
  26. func_fns = glob(os.path.join(data_dir, r'Sub*.nii'))
  27. mask_fn = os.path.join(data_dir, r'MNI152NLin2009cAsym_desc-brain_mask.nii') ##You can choose from different masks; this is merely an example.
  28. # Loading brain mask
  29. mask, mask_affine = load_boolean_mask(mask_fn)
  30. # Load the feature image and apply the brain mask
  31. images = mask_images(load_images(func_fns), mask)
  32. # Initialise the ISC calculation
  33. iscs = isc(images, num_subjects=len(func_fns), num_permutations=10000, two_sided_test=False, random_state=0)
  34. # Create an ISC plot for each subject
  35. for subject_index, isc_values in enumerate(iscs):
  36. isc_img = Nifti1Image(isc_values, mask_affine)
  37. # Set the output filename and path
  38. output_file_name = f'subject_{subject_index + 1}_isc.nii.gz'
  39. output_file_path = os.path.join(output_folder, output_file_name)
  40. # Save the ISC diagram as an NIfTI file
  41. nib_save(isc_img, output_file_path)
  42. print(f"Subjects saved {subject_index + 1} to {output_file_path}")
  43. # Record completion time
  44. current_time = datetime.datetime.now().strftime("%Y-%m-%d %H:%M:%S")
  45. print(f"Current system time:{current_time}")
  46. print("Done.")

ISC.py, no license · at the source

Overview

Authors: Meiting Wei1,2,3,4, Yandan Li1, Haosen Ni1, Zhenglong Li1, Jiang Liu1, Guang-Heng Dong1
ORCID iDs: Guang-Heng Dong
  1. Center for Educational Cognitive Neuroscience, Faculty of Education, Yunnan Normal University,Kunming, P. R. China
  2. Key Laboratory of Adolescent Cyberpsychology and Behavior (CCNU), Ministry of Education, Central China Normal University,Wuhan, P. R. China
  3. Key Laboratory of Human Development and Mental Health of Hubei Province, School of Psychology, Central China Normal University,Wuhan, P. R. China
  4. School of Psychology, Central China Normal University,Wuhan, P.R. China
Journal: Communications psychology, volume 4, issue 1, article 120
Dates: received 4 December 2025; accepted 18 May 2026; published online 27 May 2026
Type: Research article · Language: English
License: CC BY-NC-ND
Identifiers: DOI 10.1038/s44271-026-00476-x · PMID 42204284 · PMCID PMC13493826 · OpenAlex W7162565654
Open access: gold, a free copy (OpenAlex)
Status: code verified (how the code is found and verified)
Categories: human (organism), cognitive (subfield)
Methods: Spectral & time-frequency, Statistics, Connectivity, Preprocessing, fMRI & imaging
Keywords: Human behaviour, Cultural and media studies
Topic: Action Observation and Synchronization (Social Psychology, Psychology), according to OpenAlex
Citations: not cited yet (Europe PMC); 90 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.

OSF b7pn5

License: none: the authors keep all their rights
State: the link answers, verified on 28 September 2026
Evidence: files inventoried
Languages: Python (2)
Size: 68 files, 2 scripts
Software Heritage: not checked
Found in: “Code availability”
Not found: README, license file, CITATION.cff, environment file, tests, continuous integration, documentation
Tools: NiBabel (2 files), BrainIAK (1 file), NumPy (1 file)
Availability: 1 check, the latest on 28 September 2026: the link answers (HTTP 200)
  • 28 September 2026: the link answers (HTTP 200)
2 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/s44271-026-00476-x.

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;
  • 2 scripts, each with its path and the digest of its content;
  • no match between paragraphs and code yet;
  • 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 paper has a data availability statement. Its license (CC BY-NC-ND) does not allow reproducing it here; in short, from what the harvester recognized in it:

  • no repository, dataset or request procedure was recognized in it

Read it in the paper: doi.org/10.1038/s44271-026-00476-x.

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, 28 September 2026: the first record

Recorded: type, language, journal, volume, issue, pages, dates, 6 authors, 2 keywords, 79 references.

Cite

This paper

Wei, M., Li, Y., Ni, H., Li, Z., Liu, J., & Dong, G.-H. (2026). Learning via short videos impairs memory accuracy and reduces brain synchrony. Communications psychology, 4(1), 120. https://doi.org/10.1038/s44271-026-00476-x

BibTeX

@article{wei2026learning,
author = {Wei, Meiting and Li, Yandan and Ni, Haosen and Li, Zhenglong and Liu, Jiang and Dong, Guang-Heng},
title = {{Learning via short videos impairs memory accuracy and reduces brain synchrony}},
journal = {Communications psychology},
year = {2026},
month = may,
volume = {4},
number = {1},
pages = {120},
publisher = {Springer Science+Business Media},
issn = {2731-9121},
doi = {10.1038/s44271-026-00476-x},
url = {https://doi.org/10.1038/s44271-026-00476-x},
pmid = {42204284},
pmcid = {PMC13493826}
}

RIS

TY - JOUR
AU - Wei, Meiting
AU - Li, Yandan
AU - Ni, Haosen
AU - Li, Zhenglong
AU - Liu, Jiang
AU - Dong, Guang-Heng
TI - Learning via short videos impairs memory accuracy and reduces brain synchrony
T2 - Communications psychology
J2 - Commun Psychol
PY - 2026
DA - 2026/05/27
VL - 4
IS - 1
SP - 120
SN - 2731-9121
PB - Springer Science+Business Media
DO - 10.1038/s44271-026-00476-x
UR - https://doi.org/10.1038/s44271-026-00476-x
LA - en
ER -

CSL-JSON

{
"id": "10.1038/s44271-026-00476-x",
"type": "article-journal",
"title": "Learning via short videos impairs memory accuracy and reduces brain synchrony",
"container-title": "Communications psychology",
"author": [
{
"family": "Wei",
"given": "Meiting"
},
{
"family": "Li",
"given": "Yandan"
},
{
"family": "Ni",
"given": "Haosen"
},
{
"family": "Li",
"given": "Zhenglong"
},
{
"family": "Liu",
"given": "Jiang"
},
{
"family": "Dong",
"given": "Guang-Heng"
}
],
"container-title-short": "Commun Psychol",
"volume": "4",
"issue": "1",
"page": "120",
"DOI": "10.1038/s44271-026-00476-x",
"PMID": "42204284",
"PMCID": "PMC13493826",
"ISSN": "2731-9121",
"publisher": "Springer Science+Business Media",
"URL": "https://doi.org/10.1038/s44271-026-00476-x",
"language": "en",
"issued": {
"date-parts": [
[
2026,
5,
27
]
]
}
}

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/s41539-025-00399-y
Fragmented learning from short videos modulates neural activity and connectivity during memory retrieval.
Journal: NPJ science of learning
In common: cognitive, 12 references
[2] doi:10.1038/s41597-021-01033-3 [code]
The "Narratives" fMRI dataset for evaluating models of naturalistic language comprehension.
Journal: Scientific data
In common: BrainIAK, NiBabel, NumPy, 5 references
[3] doi:10.1111/ejn.70543 [code]
Neural Oscillations Track Subjective and Pupillary Arousal During Naturalistic Movie Viewing.
Journal: The European journal of neuroscience
In common: NumPy, cognitive, 5 references
[4] doi:10.1038/s41467-025-61807-w [code]
Neural dynamics of spontaneous memory recall and future thinking in the continuous flow of thoughts.
Journal: Nature communications
In common: BrainIAK, NiBabel, NumPy, 3 references
[5] doi:10.3389/fphys.2021.809943 [code]
Fractal-Based Analysis of fMRI BOLD Signal During Naturalistic Viewing Conditions.
Journal: Frontiers in physiology
In common: NiBabel, NumPy, 5 references
[6] doi:10.1523/jneurosci.2284-23.2024 [code]
Early Neural Development of Social Interaction Perception: Evidence from Voxel-Wise Encoding in Young Children and Adults.
Journal: The Journal of neuroscience : the official journal of the Society for Neuroscience
In common: BrainIAK, NiBabel, NumPy, cognitive, 2 references
[7] 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: NiBabel, NumPy, 5 references
[8] doi:10.1093/scan/nsad011
Neural responses to biological motion distinguish autistic and schizotypal traits.
Journal: Social cognitive and affective neuroscience
In common: cognitive, 5 references
[9] doi:10.1002/hbm.25669 [code]
Effects of social and emotional context on neural activation and synchrony during movie viewing.
Journal: Human brain mapping
In common: NiBabel, NumPy, cognitive, 4 references
[10] doi:10.1038/s41467-026-73895-3 [code]
Sign language narrative reveals universal and modality-specific features of cortical timescale hierarchy.
Journal: Nature communications
In common: BrainIAK, NiBabel, NumPy, cognitive, 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.1038/s44271-026-00476-x.svg)](https://openscicode.org/badge/doi/10.1038/s44271-026-00476-x)
<!-- oscr-badge:end -->
reStructuredText
.. oscr-badge:start

.. image:: https://openscicode.org/badge/doi/10.1038/s44271-026-00476-x.svg
   :target: https://openscicode.org/badge/doi/10.1038/s44271-026-00476-x
   :alt: OSCR

.. oscr-badge:end
HTML
<!-- oscr-badge:start -->
<a href="https://openscicode.org/badge/doi/10.1038/s44271-026-00476-x"><img src="https://openscicode.org/badge/doi/10.1038/s44271-026-00476-x.svg" alt="OSCR"></a>
<!-- oscr-badge:end -->

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)

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