NM000128: eeg dataset, 59 subjects#
Dong2023 – 59-subject 40-class SSVEP dataset
Citation: Yue Dong, Sen Tian (2019). Dong2023 – 59-subject 40-class SSVEP dataset. 10.82901/nemar.nm000128
59-participant EEG dataset — Dong2023 – 59-subject 40-class SSVEP dataset.
Quickstart#
Install
pip install eegdash
Access the data
from eegdash.dataset import NM000128
dataset = NM000128(cache_dir="./data")
# Get the raw object of the first recording
raw = dataset.datasets[0].raw
print(raw.info)
Filter by subject
dataset = NM000128(cache_dir="./data", subject="01")
Advanced query
dataset = NM000128(
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{nm000128,
title = {Dong2023 – 59-subject 40-class SSVEP dataset},
author = {Yue Dong and Sen Tian},
doi = {10.82901/nemar.nm000128},
url = {https://doi.org/10.82901/nemar.nm000128},
}
About This Dataset#
59-subject 40-class SSVEP dataset.
Schema: HED 8.4.0 | Browse: https://www.hedtags.org/hed-schema-browser
59-subject 40-class SSVEP dataset
8
View full README
59-subject 40-class SSVEP dataset
8
├─ Sensory-event
├─ Experimental-stimulus
├─ Visual-presentation
└─ Label/8
8.2
├─ Sensory-event
├─ Experimental-stimulus
├─ Visual-presentation
└─ Label/8_2
8.4
├─ Sensory-event
├─ Experimental-stimulus
├─ Visual-presentation
└─ Label/8_4
8.6
├─ Sensory-event
├─ Experimental-stimulus
├─ Visual-presentation
└─ Label/8_6
8.8
├─ Sensory-event
├─ Experimental-stimulus
├─ Visual-presentation
└─ Label/8_8
9
├─ Sensory-event
├─ Experimental-stimulus
├─ Visual-presentation
└─ Label/9
9.2
├─ Sensory-event
├─ Experimental-stimulus
├─ Visual-presentation
└─ Label/9_2
9.4
├─ Sensory-event
├─ Experimental-stimulus
├─ Visual-presentation
└─ Label/9_4
9.6
├─ Sensory-event
├─ Experimental-stimulus
├─ Visual-presentation
└─ Label/9_6
9.8
├─ Sensory-event
├─ Experimental-stimulus
├─ Visual-presentation
└─ Label/9_8
10
├─ Sensory-event
├─ Experimental-stimulus
├─ Visual-presentation
└─ Label/10
10.2
├─ Sensory-event
├─ Experimental-stimulus
├─ Visual-presentation
└─ Label/10_2
10.4
├─ Sensory-event
├─ Experimental-stimulus
├─ Visual-presentation
└─ Label/10_4
10.6
├─ Sensory-event
├─ Experimental-stimulus
├─ Visual-presentation
└─ Label/10_6
10.8
├─ Sensory-event
├─ Experimental-stimulus
├─ Visual-presentation
└─ Label/10_8
11
├─ Sensory-event
├─ Experimental-stimulus
├─ Visual-presentation
└─ Label/11
11.2
├─ Sensory-event
├─ Experimental-stimulus
├─ Visual-presentation
└─ Label/11_2
11.4
├─ Sensory-event
├─ Experimental-stimulus
├─ Visual-presentation
└─ Label/11_4
11.6
├─ Sensory-event
├─ Experimental-stimulus
├─ Visual-presentation
└─ Label/11_6
11.8
├─ Sensory-event
├─ Experimental-stimulus
├─ Visual-presentation
└─ Label/11_8
12
├─ Sensory-event
├─ Experimental-stimulus
├─ Visual-presentation
└─ Label/12
12.2
├─ Sensory-event
├─ Experimental-stimulus
├─ Visual-presentation
└─ Label/12_2
12.4
├─ Sensory-event
├─ Experimental-stimulus
├─ Visual-presentation
└─ Label/12_4
12.6
├─ Sensory-event
├─ Experimental-stimulus
├─ Visual-presentation
└─ Label/12_6
12.8
├─ Sensory-event
├─ Experimental-stimulus
├─ Visual-presentation
└─ Label/12_8
13
├─ Sensory-event
├─ Experimental-stimulus
├─ Visual-presentation
└─ Label/13
13.2
├─ Sensory-event
├─ Experimental-stimulus
├─ Visual-presentation
└─ Label/13_2
13.4
├─ Sensory-event
├─ Experimental-stimulus
├─ Visual-presentation
└─ Label/13_4
13.6
├─ Sensory-event
├─ Experimental-stimulus
├─ Visual-presentation
└─ Label/13_6
13.8
├─ Sensory-event
├─ Experimental-stimulus
├─ Visual-presentation
└─ Label/13_8
14
├─ Sensory-event
├─ Experimental-stimulus
├─ Visual-presentation
└─ Label/14
14.2
├─ Sensory-event
├─ Experimental-stimulus
├─ Visual-presentation
└─ Label/14_2
14.4
├─ Sensory-event
├─ Experimental-stimulus
├─ Visual-presentation
└─ Label/14_4
14.6
├─ Sensory-event
├─ Experimental-stimulus
├─ Visual-presentation
└─ Label/14_6
14.8
├─ Sensory-event
├─ Experimental-stimulus
├─ Visual-presentation
└─ Label/14_8
15
├─ Sensory-event
├─ Experimental-stimulus
├─ Visual-presentation
└─ Label/15
15.2
├─ Sensory-event
├─ Experimental-stimulus
├─ Visual-presentation
└─ Label/15_2
15.4
├─ Sensory-event
├─ Experimental-stimulus
├─ Visual-presentation
└─ Label/15_4
15.6
├─ Sensory-event
├─ Experimental-stimulus
├─ Visual-presentation
└─ Label/15_6
15.8
├─ Sensory-event
├─ Experimental-stimulus
├─ Visual-presentation
└─ Label/15_8
Paradigm-Specific Parameters
Detected paradigm: ssvep
Stimulus frequencies: [8.0, 8.2, 8.4, 8.6, 8.8, 9.0, 9.2, 9.4, 9.6, 9.8, 10.0, 10.2, 10.4, 10.6, 10.8, 11.0, 11.2, 11.4, 11.6, 11.8, 12.0, 12.2, 12.4, 12.600000000000001, 12.8, 13.0, 13.2, 13.4, 13.600000000000001, 13.8, 14.0, 14.2, 14.4, 14.600000000000001, 14.8, 15.0, 15.2, 15.4, 15.600000000000001, 15.8] Hz
Frequency resolution: 0.2 Hz
Data Structure
Trials: 160
Blocks per session: 4
Preprocessing
Data state: epoched
Downsampled to: 250.0 Hz
Signal Processing
Classifiers: FBCCA, eTRCA, msTRCA
Spatial filters: CCA, TRCA
Cross-Validation
Method: leave-one-block-out
Folds: 4
Evaluation type: within_subject
BCI Application
Environment: non-shielded
Online feedback: True
Tags
Pathology: healthy
Modality: visual
Type: perception
Documentation
DOI: 10.26599/BSA.2023.9050020
License: CC BY-NC 4.0
Investigators: Yue Dong, Sen Tian
Senior author: Yue Dong
Institution: Jiangsu JITRI Brain Machine Fusion Intelligence Institute
Country: CN
Repository: Zenodo
Data URL: https://zenodo.org/records/18847318
Publication year: 2023
References
Y. Dong and S. Tian, “A large database towards user-friendly SSVEP-based BCI,” Brain Science Advances, vol. 9, no. 4, pp. 297-309, 2023. DOI: 10.26599/BSA.2023.9050020 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.4.3 (Mother of All BCI Benchmarks) NeuroTechX/moabb
Cohort#
Dataset Statistics#
Age distribution by gender (n=59, range 10–16 yr, mean 12.4 yr)
Sex composition
Channel counts: 8 ch (n=59 recordings)
Sampling frequencies: 250.0 Hz (n=59 recordings)
Total recording duration: 14 h 9 min
Signal · Electrodes & live trace#
Live trace viewer — sub-13 · ses-0 · task-ssvep · run-0
Showing one representative recording out of
59 subjects and 59 recordings in this dataset.
Browse the full set on OpenNeuro;
drop any other _eeg.{set,edf,bdf,vhdr} file onto the
viewer (or pass ?eeg=<url>) to inspect it.
Electrode layout — EEG · 8 sensors — 8 channels
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
Manifest#
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.
Full dataset metadata table
Dataset ID |
|
Title |
Dong2023 – 59-subject 40-class SSVEP dataset |
Author (year) |
|
Canonical |
— |
Importable as |
|
Year |
2019 |
Authors |
Yue Dong, Sen Tian |
License |
CC BY-NC 4.0 |
Citation / DOI |
|
Source links |
OpenNeuro | NeMAR | Source URL |
Copy-paste BibTeX
@dataset{nm000128,
title = {Dong2023 – 59-subject 40-class SSVEP dataset},
author = {Yue Dong and Sen Tian},
doi = {10.82901/nemar.nm000128},
url = {https://doi.org/10.82901/nemar.nm000128},
}
API Reference#
eegdash.datasetEEGDashDatasetNM000128 · Dong2023eegdash/dataset/registry.py · [source ↗]- class eegdash.dataset.NM000128(cache_dir: str, query: dict | None = None, s3_bucket: str | None = None, **kwargs)[source]#
Dong2023 – 59-subject 40-class SSVEP dataset
- Study:
nm000128(NeMAR)- Author (year):
Dong2023- Canonical:
—
Also importable as:
NM000128,Dong2023.Modality:
eeg; Experiment type:Perception; Subject type:Healthy. Subjects: 59; recordings: 59; 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/nm000128 NeMAR dataset: https://nemar.org/dataexplorer/detail?dataset_id=nm000128 DOI: https://doi.org/10.82901/nemar.nm000128
Examples
>>> from eegdash.dataset import NM000128 >>> dataset = NM000128(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.
BaseDataset from braindecode — windowed via create_windows_from_events.braindecodeDataLoader; supports parallel workers and on-the-fly augmentations.pytorchSwap any load_dataset(...) call for nm000128 to reproduce the tutorial on this dataset.
Citation
Yue Dong, Sen Tian (2019). Dong2023 – 59-subject 40-class SSVEP dataset. 10.82901/nemar.nm000128
Provenance
¹Contributed to nemar in BIDS format.
²Curated & ingested by the EEGDash catalog; see CITATION.cff for canonical reference.
³Persistent identifier: 10.82901/nemar.nm000128.
See Also#
eegdash.dataset.EEGDashDataseteegdash.dataset