OSCR

From zero to lab: Guidelines and practical implementation for building a multimodal experimental psychology and cognitive neuroscience laboratory.

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 · 55 lines · 1.8 KB · no license

  1. import os
  2. import xml.etree.ElementTree as ET
  3. import matplotlib.pyplot as plt
  4. # Lista de archivos dentro de la carpeta 'Files'
  5. folder_path = "Files"
  6. file_paths = [
  7. os.path.join(folder_path, "PUNTO2 BFF1E.mdr"),
  8. os.path.join(folder_path, "PUNTO2 BFF2E.mdr"),
  9. os.path.join(folder_path, "PUNTO2 BFF3E.mdr"),
  10. os.path.join(folder_path, "PUNTO2 BFF4E.mdr"),
  11. os.path.join(folder_path, "PUNTO2 BFF5E.mdr"),
  12. os.path.join(folder_path, "PUNTO2 BFF6E.mdr"),
  13. os.path.join(folder_path, "PUNTO2 BFF7E.mdr"),
  14. os.path.join(folder_path, "PUNTO2 BFF8E.mdr")
  15. ]
  16. # Crear la figura
  17. plt.figure(figsize=(10, 5))
  18. # Recorrer todos los archivos y extraer los datos
  19. for file_path in file_paths:
  20. if os.path.exists(file_path):
  21. # Parsear el archivo XML
  22. tree = ET.parse(file_path)
  23. root = tree.getroot()
  24. # Extraer datos del nodo Sweep
  25. sweep_data = root.find(".//Sweep")
  26. if sweep_data is not None:
  27. # Extraer frecuencias y valores
  28. freq_text = sweep_data.find("Frequencies").text.strip()
  29. values_text = sweep_data.find("Values").text.strip()
  30. # Convertir a listas numéricas
  31. frequencies = [float(f) for f in freq_text.split(";") if f]
  32. values = [float(v) for v in values_text.split(";") if v]
  33. # Convertir frecuencias a kHz
  34. frequencies_kHz = [f / 1000 for f in frequencies]
  35. # Graficar
  36. plt.plot(frequencies_kHz, values, linestyle="-", color="black")
  37. # Etiquetas de los ejes
  38. # plt.grid(which='both', linestyle='--', linewidth=0.1)
  39. plt.xlabel("Frequency [in kHz]", fontsize=12)
  40. plt.ylabel("E [in V/m]", fontsize=12)
  41. # Grid
  42. #plt.grid()
  43. # Mostrar la gráfica
  44. plt.savefig("point2.png") # Saves the plot locally
  45. plt.show()

figureS1.py, no license · at the source

Overview

Authors: David del Rosario-Gilabert1, A García-Miquel1, I Vigué-Guix1
  1. Instituto de Neurociencia Avanzada de Barcelona (INAB), Passeig del Mare Nostrum, 15, 08039 Barcelona, Spain
Journal: Behavior research methods, volume 58, issue 4, article 98
Dates: received 8 August 2025; accepted 24 February 2026; published online 30 March 2026; in print 2026
Type: Research article · Language: English
License: CC BY
Identifiers: DOI 10.3758/s13428-026-02988-0 · PMID 41912972 · PMCID PMC13035650 · OpenAlex W7143298774
Open access: hybrid, a free copy (OpenAlex)
Status: code verified (how the code is found and verified)
Categories: EEG (modality), human (organism), cognitive (subfield)
Methods: Evoked potentials, Graphs, Complexity, fMRI & imaging, Physiology & signal measures, Smoothing, state filtering, decompositions, Machine learning
Keywords: Cognitive neuroscience, Neuroimaging, Multimodal integration, Laboratory design, Experimental reproducibility
MeSH: Cognitive Neuroscience*, Laboratories*, Electroencephalography, Eye-Tracking Technology, Humans, Reproducibility of Results, Research Design, Spectroscopy, Near-Infrared (* major topic)
Topic: EEG and Brain-Computer Interfaces (Cognitive Neuroscience, Neuroscience), according to OpenAlex
Citations: not cited yet (Europe PMC); 81 references in the paper

Abstract

As multimodal approaches become increasingly common in cognitive neuroscience, there is a growing need for clear guidelines for designing and building laboratories. Here, we present a structured framework for the development of a multimodal neuroscience laboratory, covering key aspects such as space selection, acoustic treatment, electromagnetic shielding, environmental control, data synchronization, and data management. We also describe its practical implementation at the Instituto de Neurociencia Avanzada de Barcelona (INAB), where the facility was configured to support both individual and multi-participant studies using electroencephalography (EEG), functional near-infrared spectroscopy (fNIRS), eye-tracking, and peripheral biosensors. The laboratory was designed to preserve signal quality, minimize artifacts, and promote experimental reproducibility through controlled environmental conditions and rigorous synchronization procedures. Validation tests confirmed that the recording space achieved reverberation times below 0.6 s and reduced electromagnetic interference (EMI) by more than 30 × . Taken together, these technical and practical considerations provide a replicable model that other research groups can adopt to improve standardization and data reliability in multimodal neuroscience settings.

Supplementary Information: The online version contains supplementary material available at 10.3758/s13428-026-02988-0.

Reproduced under the paper's license (CC BY), from the paper cited above.

Repository

Its files are read in the Code ↔ Paper reader above.

OSF vcs8u

License: none: the authors keep all their rights
State: the link answers, verified on 30 September 2026
Evidence: files inventoried
Languages: Python (2)
Size: 14 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: Matplotlib (2 files)
Availability: 1 check, the latest on 30 September 2026: the link answers (HTTP 200)
  • 30 September 2026: the link answers (HTTP 200)
2 files
At the source: osf.io/vcs8u/

Code availability

The Python scripts used in this study for data processing and figure generation in the acoustic treatment and electromagnetic interference (EMI) analyses are available via the same OSF repository (https://osf.io/vcs8u/).

Reproduced under the paper's license (CC BY), from the paper cited above.

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

All data and materials supporting this study are available on the Open Science Framework (OSF) at https://osf.io/vcs8u/. The repository includes datasets and scripts related to the laboratory’s acoustic treatment measurements, electromagnetic interference (EMI) analyses, and lighting system simulations and measurements, as well as documentation describing the procedures and results.

The Python scripts used in this study for data processing and figure generation in the acoustic treatment and electromagnetic interference (EMI) analyses are available via the same OSF repository (https://osf.io/vcs8u/).

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

Recorded: type, language, journal, volume, issue, pages, dates, 3 authors, 5 keywords, 8 MeSH terms, 69 references.

Cite

This paper

del Rosario-Gilabert, D., García-Miquel, A., & Vigué-Guix, I. (2026). From zero to lab: Guidelines and practical implementation for building a multimodal experimental psychology and cognitive neuroscience laboratory. Behavior research methods, 58(4), 98. https://doi.org/10.3758/s13428-026-02988-0

BibTeX

@article{delrosariogilabert2026zero,
author = {del Rosario-Gilabert, David and García-Miquel, A and Vigué-Guix, I},
title = {{From zero to lab: Guidelines and practical implementation for building a multimodal experimental psychology and cognitive neuroscience laboratory}},
journal = {Behavior research methods},
year = {2026},
month = mar,
volume = {58},
number = {4},
pages = {98},
publisher = {Springer Science+Business Media},
issn = {1554-351X},
doi = {10.3758/s13428-026-02988-0},
url = {https://doi.org/10.3758/s13428-026-02988-0},
pmid = {41912972},
pmcid = {PMC13035650}
}

RIS

TY - JOUR
AU - del Rosario-Gilabert, David
AU - García-Miquel, A
AU - Vigué-Guix, I
TI - From zero to lab: Guidelines and practical implementation for building a multimodal experimental psychology and cognitive neuroscience laboratory
T2 - Behavior research methods
J2 - Behav Res Methods
PY - 2026
DA - 2026/03/30
VL - 58
IS - 4
SP - 98
SN - 1554-351X
PB - Springer Science+Business Media
DO - 10.3758/s13428-026-02988-0
UR - https://doi.org/10.3758/s13428-026-02988-0
LA - en
ER -

CSL-JSON

{
"id": "10.3758/s13428-026-02988-0",
"type": "article-journal",
"title": "From zero to lab: Guidelines and practical implementation for building a multimodal experimental psychology and cognitive neuroscience laboratory",
"container-title": "Behavior research methods",
"author": [
{
"family": "del Rosario-Gilabert",
"given": "David"
},
{
"family": "García-Miquel",
"given": "A"
},
{
"family": "Vigué-Guix",
"given": "I"
}
],
"container-title-short": "Behav Res Methods",
"volume": "58",
"issue": "4",
"page": "98",
"DOI": "10.3758/s13428-026-02988-0",
"PMID": "41912972",
"PMCID": "PMC13035650",
"ISSN": "1554-351X",
"publisher": "Springer Science+Business Media",
"URL": "https://doi.org/10.3758/s13428-026-02988-0",
"language": "en",
"issued": {
"date-parts": [
[
2026,
3,
30
]
]
}
}

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.3758/s13428-026-03060-7 [code]
Synchronizing brains and hearts: A practical guide for caregiver-child fNIRS-ECG multimodal hyperscanning.
Journal: Behavior research methods
In common: 4 references
[2] doi:10.1162/imag_a_00331 [code]
Assessing the consistency and sensitivity of the neural correlates of narrative stimuli using functional near-infrared spectroscopy.
Journal: Imaging neuroscience (Cambridge, Mass.)
In common: Matplotlib, cognitive, 3 references
[3] doi:10.1117/1.nph.12.3.035009
Functional near-infrared spectroscopy short-channel regression improves cortical activation estimates of working memory load.
Journal: Neurophotonics
In common: cognitive, 3 references
[4] doi:10.1016/j.isci.2026.114894
Shaping inter-brain plasticity: A feasibility study of enhancing inter-brain synchrony with dyadic neurofeedback.
Journal: iScience
In common: cognitive, 3 references
[5] doi:10.1016/j.ijchp.2024.100462 [code]
Transcutaneous auricular vagus nerve stimulation enhanced emotional inhibitory control via increasing intrinsic prefrontal couplings.
Journal: International journal of clinical and health psychology : IJCHP
In common: Matplotlib, cognitive, 2 references
[6] doi:10.1002/hbm.26786
Awareness of embodiment enhances enjoyment and engages sensorimotor cortices.
Journal: Human brain mapping
In common: 3 references
[7] doi:10.1098/rsob.230382 [code]
Inhibiting responses under the watch of a recently synchronized peer increases self-monitoring: evidence from functional near-infrared spectroscopy.
Journal: Open biology
In common: 3 references
[8] doi:10.3389/fnhum.2023.1129362 [code]
An open-source human-in-the-loop BCI research framework: method and design.
Journal: Frontiers in human neuroscience
In common: Matplotlib, EEG, 2 references
[9] doi:10.3389/fnrgo.2024.1286586 [code]
Optimizing spatial specificity and signal quality in fNIRS: an overview of potential challenges and possible options for improving the reliability of real-time applications.
Journal: Frontiers in neuroergonomics
In common: 3 references
[10] doi:10.3390/s23052387 [code]
Online Learning for Wearable EEG-Based Emotion Classification.
Journal: Sensors (Basel, Switzerland)
In common: EEG, 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.3758/s13428-026-02988-0.svg)](https://openscicode.org/badge/doi/10.3758/s13428-026-02988-0)
<!-- oscr-badge:end -->
reStructuredText
.. oscr-badge:start

.. image:: https://openscicode.org/badge/doi/10.3758/s13428-026-02988-0.svg
   :target: https://openscicode.org/badge/doi/10.3758/s13428-026-02988-0
   :alt: OSCR

.. oscr-badge:end
HTML
<!-- oscr-badge:start -->
<a href="https://openscicode.org/badge/doi/10.3758/s13428-026-02988-0"><img src="https://openscicode.org/badge/doi/10.3758/s13428-026-02988-0.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.