NM000239: eeg dataset, 16 subjects#
P-ary m-sequence-based c-VEP dataset from Martínez-Cagigal et al. (2023)
Access recordings and metadata through EEGDash.
Citation: Víctor Martínez-Cagigal, Eduardo Santamaría-Vázquez, Sergio Pérez-Velasco, Diego Marcos-Martínez, Selene Moreno-Calderón, Roberto Hornero (2023). P-ary m-sequence-based c-VEP dataset from Martínez-Cagigal et al. (2023).
Modality: eeg Subjects: 16 Recordings: 640 License: CC-BY-NC-SA-4.0 Source: nemar
Metadata: Complete (90%)
Quickstart#
Install
pip install eegdash
Access the data
from eegdash.dataset import NM000239
dataset = NM000239(cache_dir="./data")
# Get the raw object of the first recording
raw = dataset.datasets[0].raw
print(raw.info)
Filter by subject
dataset = NM000239(cache_dir="./data", subject="01")
Advanced query
dataset = NM000239(
cache_dir="./data",
query={"subject": {"$in": ["01", "02"]}},
)
Iterate recordings
for rec in dataset:
print(rec.subject, rec.raw.info['sfreq'])
If you use this dataset in your research, please cite the original authors.
BibTeX
@dataset{nm000239,
title = {P-ary m-sequence-based c-VEP dataset from Martínez-Cagigal et al. (2023)},
author = {Víctor Martínez-Cagigal and Eduardo Santamaría-Vázquez and Sergio Pérez-Velasco and Diego Marcos-Martínez and Selene Moreno-Calderón and Roberto Hornero},
}
About This Dataset#
P-ary m-sequence-based c-VEP dataset from Martínez-Cagigal et al. (2023)
P-ary m-sequence-based c-VEP dataset from Martínez-Cagigal et al. (2023)
Dataset Overview
Code: MartinezCagigal2023Parycvep
Paradigm: cvep
View full README
P-ary m-sequence-based c-VEP dataset from Martínez-Cagigal et al. (2023)
P-ary m-sequence-based c-VEP dataset from Martínez-Cagigal et al. (2023)
Dataset Overview
Code: MartinezCagigal2023Parycvep
Paradigm: cvep
Subjects: 16
Sessions per subject: 5
Events: 0.0=100, 1.0=101, 2.0=102, 3.0=103, 4.0=104, 5.0=105, 6.0=106, 7.0=107, 8.0=108, 9.0=109, 10.0=110
Trial interval: (0, 1) s
Runs per session: 8
Acquisition
Sampling rate: 256.0 Hz
Number of channels: 16
Channel types: eeg=16
Montage: standard_1005
Line frequency: 50.0 Hz
Participants
Number of subjects: 16
Health status: healthy
Experimental Protocol
Paradigm: cvep
Number of classes: 11
Class labels: 0.0, 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0, 10.0
HED Event Annotations
Schema: HED 8.4.0 | Browse: https://www.hedtags.org/hed-schema-browser
0.0
├─ Sensory-event
├─ Experimental-stimulus
├─ Visual-presentation
└─ Label/intensity_0_0
1.0
├─ Sensory-event
├─ Experimental-stimulus
├─ Visual-presentation
└─ Label/intensity_1_0
2.0
├─ Sensory-event
├─ Experimental-stimulus
├─ Visual-presentation
└─ Label/intensity_2_0
3.0
├─ Sensory-event
├─ Experimental-stimulus
├─ Visual-presentation
└─ Label/intensity_3_0
4.0
├─ Sensory-event
├─ Experimental-stimulus
├─ Visual-presentation
└─ Label/intensity_4_0
5.0
├─ Sensory-event
├─ Experimental-stimulus
├─ Visual-presentation
└─ Label/intensity_5_0
6.0
├─ Sensory-event
├─ Experimental-stimulus
├─ Visual-presentation
└─ Label/intensity_6_0
7.0
├─ Sensory-event
├─ Experimental-stimulus
├─ Visual-presentation
└─ Label/intensity_7_0
8.0
├─ Sensory-event
├─ Experimental-stimulus
├─ Visual-presentation
└─ Label/intensity_8_0
9.0
├─ Sensory-event
├─ Experimental-stimulus
├─ Visual-presentation
└─ Label/intensity_9_0
10.0
├─ Sensory-event
├─ Experimental-stimulus
├─ Visual-presentation
└─ Label/intensity_10_0
Documentation
DOI: 10.71569/025s-eq10
Associated paper DOI: 10.1016/j.eswa.2023.120815
License: CC-BY-NC-SA-4.0
Investigators: Víctor Martínez-Cagigal, Eduardo Santamaría-Vázquez, Sergio Pérez-Velasco, Diego Marcos-Martínez, Selene Moreno-Calderón, Roberto Hornero
Senior author: Roberto Hornero
Contact: victor.martinez@gib.tel.uva.es
Institution: University of Valladolid
Department: Biomedical Engineering Group, ETSIT
Address: Paseo de Belén, 15, 47011, Valladolid, Spain
Country: ES
Repository: U Valladoid
Data URL: https://doi.org/10.71569/025s-eq10
Publication year: 2023
Funding: Ministerio de Ciencia e Innovación/Agencia Estatal de Investigación and ERDF (TED2021-129915B-I00, RTC2019-007350-1, PID2020-115468RB-I00); CIBER-BBN through Instituto de Salud Carlos III
Ethics approval: Approved by the local ethics committee; all participants provided informed consent
Acknowledgements: This study was partially funded by Ministerio de Ciencia e Innovación/Agencia Estatal de Investigación and ERDF, and CIBER-BBN through Instituto de Salud Carlos III.
How to acknowledge: Please cite: Martínez-Cagigal et al. (2023). Non-binary m-sequences for more comfortable brain-computer interfaces based on c-VEPs. Expert Systems With Applications, 232, 120815. https://doi.org/10.1016/j.eswa.2023.120815
References
Martínez-Cagigal, V., Santamaría-Vázquez, E., Pérez-Velasco, S., Marcos-Martínez, D., Moreno-Calderón, S., & Hornero, R. (2023). Non-binary m-sequences for more comfortable brain-computer interfaces based on c-VEPs. Expert Systems with Applications, 232, 120815. https://doi.org/10.1016/j.eswa.2023.120815 Martínez-Cagigal, V., Thielen, J., Santamaría-Vázquez, E., Pérez-Velasco, S., Desain, P., & Hornero, R. (2021). Brain-computer interfaces based on code-modulated visual evoked potentials (c-VEP): A literature review. Journal of Neural Engineering, 18(6), 061002. https://doi.org/10.1088/1741-2552/ac38cf Martínez-Cagigal, V. (2025). Dataset: Non-binary m-sequences for more comfortable brain-computer interfaces based on c-VEPs. https://doi.org/10.35376/10324/70945 Santamaría-Vázquez, E., Martínez-Cagigal, V., Marcos-Martínez, D., Rodríguez-González, V., Pérez-Velasco, S., Moreno-Calderón, S., & Hornero, R. (2023). MEDUSA©: A novel Python-based software ecosystem to accelerate brain-computer interface and cognitive neuroscience research. Computer Methods and Programs in Biomedicine, 230, 107357. https://doi.org/10.1016/j.cmpb.2023.107357 Notes Although the dataset was recorded in a single session, each condition is stored as a separate session to match the MOABB structure. Within each session, eight runs are available (six for training, two for testing). .. versionadded:: 1.2.0 Appelhoff, S., Sanderson, M., Brooks, T., Vliet, M., Quentin, R., Holdgraf, C., Chaumon, M., Mikulan, E., Tavabi, K., Hochenberger, R., Welke, D., Brunner, C., Rockhill, A., Larson, E., Gramfort, A. and Jas, M. (2019). MNE-BIDS: Organizing electrophysiological data into the BIDS format and facilitating their analysis. Journal of Open Source Software 4: (1896). https://doi.org/10.21105/joss.01896 Pernet, C. R., Appelhoff, S., Gorgolewski, K. J., Flandin, G., Phillips, C., Delorme, A., Oostenveld, R. (2019). EEG-BIDS, an extension to the brain imaging data structure for electroencephalography. Scientific Data, 6, 103. https://doi.org/10.1038/s41597-019-0104-8 Generated by MOABB 1.5.0 (Mother of All BCI Benchmarks) NeuroTechX/moabb
Dataset Information#
Dataset ID |
|
Title |
P-ary m-sequence-based c-VEP dataset from Martínez-Cagigal et al. (2023) |
Author (year) |
|
Canonical |
— |
Importable as |
|
Year |
2023 |
Authors |
Víctor Martínez-Cagigal, Eduardo Santamaría-Vázquez, Sergio Pérez-Velasco, Diego Marcos-Martínez, Selene Moreno-Calderón, Roberto Hornero |
License |
CC-BY-NC-SA-4.0 |
Citation / DOI |
Unknown |
Source links |
OpenNeuro | NeMAR | Source URL |
Found an issue with this dataset?
If you encounter any problems with this dataset (missing files, incorrect metadata, loading errors, etc.), please let us know!
Technical Details#
Subjects: 16
Recordings: 640
Tasks: 1
Channels: 16
Sampling rate (Hz): 256.0 (608), 600.0 (32)
Duration (hours): 15.095158796296298
Pathology: Healthy
Modality: Visual
Type: Perception
Size on disk: 783.0 MB
File count: 640
Format: BIDS
License: CC-BY-NC-SA-4.0
DOI: —
Electrode Layout#
Electrode layout — EEG · 16 sensors — 16 channels
Dataset Statistics#
Channel counts: 16 ch (n=640 recordings)
Sampling frequencies (Hz)
Total recording duration: 15 h 5 min
NEMAR Processing Statistics#
The plots below are generated by NEMAR’s automated EEG pipeline. The histogram shows pipeline success for data cleaning and ICA decomposition, the percentage of data frames and EEG channels retained after artefact removal, line noise per channel (RMS, dB), and the age/gender distribution of participants.
HED event descriptors word cloud
File Explorer#
Browse the BIDS file structure of this dataset. Records are fetched on demand from the EEGDash catalog the first time you open the explorer.
API Reference#
Use the NM000239 class to access this dataset programmatically.
- class eegdash.dataset.NM000239(cache_dir: str, query: dict | None = None, s3_bucket: str | None = None, **kwargs)[source]#
Bases:
EEGDashDatasetP-ary m-sequence-based c-VEP dataset from Martínez-Cagigal et al. (2023)
- Study:
nm000239(NeMAR)- Author (year):
MartinezCagigal2023- Canonical:
—
Also importable as:
NM000239,MartinezCagigal2023.Modality:
eeg; Experiment type:Perception; Subject type:Healthy. Subjects: 16; recordings: 640; tasks: 1.- Parameters:
cache_dir (str | Path) – Directory where data are cached locally.
query (dict | None) – Additional MongoDB-style filters to AND with the dataset selection. Must not contain the key
dataset.s3_bucket (str | None) – Base S3 bucket used to locate the data.
**kwargs (dict) – Additional keyword arguments forwarded to
EEGDashDataset.
- data_dir#
Local dataset cache directory (
cache_dir / dataset_id).- Type:
Path
Notes
Each item is a recording; recording-level metadata are available via
dataset.description.querysupports MongoDB-style filters on fields inALLOWED_QUERY_FIELDSand is combined with the dataset filter. Dataset-specific caveats are not provided in the summary metadata.References
OpenNeuro dataset: https://openneuro.org/datasets/nm000239 NeMAR dataset: https://nemar.org/dataexplorer/detail?dataset_id=nm000239
Examples
>>> from eegdash.dataset import NM000239 >>> dataset = NM000239(cache_dir="./data") >>> recording = dataset[0] >>> raw = recording.load()
- __init__(cache_dir: str, query: dict | None = None, s3_bucket: str | None = None, **kwargs)[source]#
- save(path: str, overwrite: bool = False, offset: int = 0)[source]#
Save datasets to files by creating one subdirectory for each dataset:
path/ 0/ 0-raw.fif | 0-epo.fif description.json raw_preproc_kwargs.json (if raws were preprocessed) window_kwargs.json (if this is a windowed dataset) window_preproc_kwargs.json (if windows were preprocessed) target_name.json (if target_name is not None and dataset is raw) 1/ 1-raw.fif | 1-epo.fif description.json raw_preproc_kwargs.json (if raws were preprocessed) window_kwargs.json (if this is a windowed dataset) window_preproc_kwargs.json (if windows were preprocessed) target_name.json (if target_name is not None and dataset is raw)
- Parameters:
path (str) –
- Directory in which subdirectories are created to store
-raw.fif | -epo.fif and .json files to.
overwrite (bool) – Whether to delete old subdirectories that will be saved to in this call.
offset (int) – If provided, the integer is added to the id of the dataset in the concat. This is useful in the setting of very large datasets, where one dataset has to be processed and saved at a time to account for its original position.
See Also#
eegdash.dataset.EEGDashDataseteegdash.dataset