Learning via short videos impairs memory accuracy and reduces brain synchrony.
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
Python · 64 lines · 2.3 KB · no license
- ## Code for Manuscript Wei et al., 2026 (Communications psychology)
- ## Learning via Short Videos Impairs Memory Accuracy and Reduces Brain Synchrony
- ## If you have any questions, please contact the first [email hidden]
- ## last update: 6/May/2026
- ### This script serves as the core code for inter-subject correlation (ISC) analysis. Before running it,
- ### you should first crop out the time window of interest using the “cut” step.
- ### Doing so isolates the content of interest, improves the accuracy of the results, and helps reduce computational cost to some extent.
- import os
- from brainiak.isc import isc
- from brainiak.io import load_boolean_mask, load_images
- from brainiak.image import mask_images
- from nibabel import save as nib_save, Nifti1Image
- import numpy as np
- from glob import glob
- import datetime
- # Record the current time
- current_time = datetime.datetime.now().strftime("%Y-%m-%d %H:%M:%S")
- print(f"Current system time:{current_time}")
- # Please replace the following path with the correct one
- data_dir =
- output_folder =
- # Ensure that the output folder exists
- if not os.path.exists(output_folder):
- os.makedirs(output_folder)
- # Find all function and mask files
- func_fns = glob(os.path.join(data_dir, r'Sub*.nii'))
- mask_fn = os.path.join(data_dir, r'MNI152NLin2009cAsym_desc-brain_mask.nii') ##You can choose from different masks; this is merely an example.
- # Loading brain mask
- mask, mask_affine = load_boolean_mask(mask_fn)
- # Load the feature image and apply the brain mask
- images = mask_images(load_images(func_fns), mask)
- # Initialise the ISC calculation
- iscs = isc(images, num_subjects=len(func_fns), num_permutations=10000, two_sided_test=False, random_state=0)
- # Create an ISC plot for each subject
- for subject_index, isc_values in enumerate(iscs):
- isc_img = Nifti1Image(isc_values, mask_affine)
- # Set the output filename and path
- output_file_name = f'subject_{subject_index + 1}_isc.nii.gz'
- output_file_path = os.path.join(output_folder, output_file_name)
- # Save the ISC diagram as an NIfTI file
- nib_save(isc_img, output_file_path)
- print(f"Subjects saved {subject_index + 1} to {output_file_path}")
- # Record completion time
- current_time = datetime.datetime.now().strftime("%Y-%m-%d %H:%M:%S")
- print(f"Current system time:{current_time}")
- print("Done.")
ISC.py, no license · at the source
Overview
- Center for Educational Cognitive Neuroscience, Faculty of Education, Yunnan Normal University,Kunming, P. R. China
- Key Laboratory of Adolescent Cyberpsychology and Behavior (CCNU), Ministry of Education, Central China Normal University,Wuhan, P. R. China
- Key Laboratory of Human Development and Mental Health of Hubei Province, School of Psychology, Central China Normal University,Wuhan, P. R. China
- School of Psychology, Central China Normal University,Wuhan, P.R. China
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
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/
ISC.py , Python, 64 lines - CODE/
cut.py , Python, 50 lines
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:
- it points to the authors' code: OSF b7pn5
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://
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 = {Nature Publishing Group},
issn = {2731-9121},
doi = {10.1038/
url = {https://
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/
VL - 4
IS - 1
SP - 120
SN - 2731-9121
PB - Nature Publishing Group
DO - 10.1038/
UR - https://
LA - en
ER -
CSL-JSON
{
"id": "10.1038/
"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":
"volume": "4",
"issue": "1",
"page": "120",
"DOI": "10.1038/
"PMID": "42204284",
"PMCID": "PMC13493826",
"ISSN": "2731-9121",
"publisher": "Nature Publishing Group",
"URL": "https://
"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.1111/ejn.70543 [code]
- Neural Oscillations Track Subjective and Pupillary Arousal During Naturalistic Movie Viewing.Journal: The European journal of neuroscienceIn common: NumPy, cognitive, 5 references
- [2] 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: NeuroImageIn common: NiBabel, NumPy, 5 references
- [3] doi:10.1038/s41467-026-73895-3 [code]
- Sign language narrative reveals universal and modality-specific features of cortical timescale hierarchy.Journal: Nature communicationsIn common: BrainIAK, NiBabel, NumPy, cognitive, 2 references
- [4] doi:10.1038/s42003-026-10169-0 [code]
- Shared representations in brains and models reveal a two-route cortical organization during scene perception.Journal: Communications biologyIn common: NiBabel, NumPy, cognitive, 3 references
- [5] doi:10.1162/imag.a.1347 [code]
- Neural and behavioural correlates of theory of mind reasoning in five-year-old children born preterm.Journal: Imaging neuroscience (Cambridge, Mass.)In common: NiBabel, NumPy, 3 references
- [6] doi:10.1038/s41597-026-07676-4 [code]
- A neuroimaging dataset combining movie-watching, eye-tracking, sensorimotor mapping, and cognitive tasks.Journal: Scientific dataIn common: NiBabel, NumPy, 3 references
- [7] doi:10.1162/netn.a.571 [code]
- Regional activity and interregional functional connectivity uniquely contribute to social cognitive judgments during movie-watching.Journal: Network neuroscience (Cambridge, Mass.)In common: NumPy, 4 references
- [8] doi:10.21203/rs.3.rs-9326213/v1 [code]
- Multi-task fMRI outperforms resting-state fMRI for revealing task-invariant organization of the human brainJournal: Research Square (preprint)In common: NiBabel, NumPy, cognitive, 3 references
- [9] doi:10.64898/2026.03.09.710558 [code]
- Multi-task fMRI outperforms resting-state fMRI for revealing task-invariant organization of the human brainJournal: bioRxiv (preprint)In common: NiBabel, NumPy, cognitive, 3 references
- [10] doi:10.1038/s41467-026-75745-8 [code]
- A language network in the individualized functional connectomes of 1199 human brains doing arbitrary tasks.Journal: Nature communicationsIn common: NiBabel, NumPy, cognitive, 3 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.
Claim this paper
Correct its record
Say what each link of this record is, remove the ones that are not the paper's, add the ones that are missing. The correction becomes a new version of the record, in its Versions section.
Validate its tracing map
You validate the map as this page shows it: 1 repository of the authors' code, each at its verified commit and with its license, 2 scripts, and 0 matches between paragraphs and code (see the Code and Map sections). It then receives a DOI on Zenodo, with you (your ORCID iD) and OSCR as its creators; the code itself is not deposited.
The map's fingerprint: sha256:0a5ffaaf4c3cb6d4…
Add the badge to its README
The badge links the code to this page. Copy one of these into the README of the paper's code: only you decide where it goes, and nothing is changed for you.
Markdown
[.
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.
