A Multimodal fNIRS-EEG Dataset for Unilateral Limb Motor Imagery.
The 10 matches
- [1] § Background & Summary › Data preprocessing › EEG preprocessing ↔ Code/Preprocessing/reprocessing/EEGPreprocess.m, lines 1–81 · score 0.95 · pop_subcomp, Rejected components, PCA reduction, ICA decomposition, ICLabel, EEGLAB
- [2] § Technical Validation › EEG data analysis › Time–domain analysis (ERD/ERS) ↔ Code/Plot/ERDERS.m, lines 153–199 · score 0.70 · Event related desynchronization, baseline power, ERD, ERS, band, filtered
- [3] § Background & Summary › Data preprocessing › fNIRS preprocessing ↔ Code/Classification/HybridClassification.m, lines 67–78 · score 0.64 · 5–25 seconds, dimensional, HbR, HbO, event, fNIRS
- [4] § Background & Summary › Data preprocessing › EEG preprocessing ↔ Code/Preprocessing/reprocessing/EEG_process.py, lines 6–56 · score 0.64 · notch filtered, bad channels, MNE, preprocessed, raw, Event
- [5] § Background & Summary › Data preprocessing › EEG preprocessing ↔ Code/Preprocessing/reprocessing/utils.py, lines 151–201 · score 0.61 · spherical interpolation, bad channels, MNE, raw, preprocessed, EEG
- [6] § Technical Validation › EEG data analysis › Time–domain analysis (ERD/ERS) ↔ Code/Plot/ERDERS.m, lines 81–151 · score 0.58 · ERS curves, power changes, ERD
- [7] § Technical Validation › EEG data analysis › Frequency-domain analysis (ERSP) ↔ Code/Classification/HybridClassification.m, lines 137–164 · score 0.57 · central parietal, brain regions, frontal, EEG
- [8] § Technical Validation › EEG data analysis › Frequency-domain analysis (ERSP) ↔ Code/Plot/ERDERS.m, lines 56–77 · score 0.56 · 13–30 Hz, beta band, 13 Hz
- [9] § Technical Validation › fNIRS–EEG classification ↔ Code/Classification/EEGClassification.m, lines 128–146 · score 0.55 · Filter Bank, window classification, EEG
- [10] § Technical Validation › fNIRS–EEG classification ↔ Code/Classification/HybridClassification.m, lines 516–584 · score 0.51 · meta features, scores, fold, multimodal, modality, classifiers
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
MATLAB · 250 lines · 8.4 KB · no license · 3 matches
- %% ERD/ERS Curves for Specific Frequency Bands - Four-Class Task (Individual Plots)
- % Subject configuration
- subject_index = 2;
- subject_id = sprintf('%02d', subject_index);
- filename = sprintf('subject_%s_motor_imagery_events.mat', subject_id);
- % Data directory configuration
- time = '0927';
- data_root = 'D:\Code\Dataset_4-classification MI';
- data_file_path = fullfile(data_root, 'Data', 'Dataset v2', time, 'EEG', filename);
- % Load data
- load(data_file_path)
- % Select C3 and C4 channels (motor cortex channels)
- selected_channels = [17, 21];
- % Prepare data with correct dimensions
- x_train = zeros(length(selected_channels), size(preprocessed_data, 2), size(preprocessed_data, 3));
- for i = 1:length(selected_channels)
- channel_data = preprocessed_data(selected_channels(i), :, :);
- x_train(i, :, :) = reshape(channel_data, [1, size(channel_data, 2), size(channel_data, 3)]);
- end
- fs = srate;
- % Prepare labels
- [~, y_label] = max(label, [], 1);
- % Task class names
- task_names = {'Left to right', 'Top to bottom', 'Top left to bottom right', 'Top right to bottom left'};
- %% Alpha band (8-12Hz) ERD/ERS curves - separate plot for each task
- for task = 1:4
- % Select data for current task
- task_indices = find(y_label == task);
- if isempty(task_indices)
- warning(['No data found for task ', num2str(task)]);
- continue;
- end
- x_task = x_train(:, :, task_indices);
- y_task = ones(size(task_indices));
- % Create figure
- figure('Name', ['Alpha Band ERD/ERS Curves - ', task_names{task}], 'Position', [100, 100, 1000, 500]);
- annotation('textbox', [0.1, 0.98, 0.8, 0.02], ...
- 'String', ['Four-Class Task - ', task_names{task}, ' Alpha Band (8-12Hz) ERD/ERS Curves'], ...
- 'HorizontalAlignment', 'center', 'VerticalAlignment', 'top', ...
- 'FontSize', 14, 'FontWeight', 'bold', 'EdgeColor', 'none', 'FitBoxToText', false);
- % Plot ERD/ERS curves
- plotERDERS(x_task, y_task, 8, 12, fs, 5, 15, ch_names, selected_channels, [-100, 250], [-5, 10]);
- end
- %% Beta band (13-30Hz) ERD/ERS curves - separate plot for each task
- for task = 1:4
- % Select data for current task
- task_indices = find(y_label == task);
- if isempty(task_indices)
- warning(['No data found for task ', num2str(task)]);
- continue;
- end
- x_task = x_train(:, :, task_indices);
- y_task = ones(size(task_indices));
- % Create figure
- figure('Name', ['Beta band ERD/ERS Curves - ', task_names{task}], 'Position', [100, 100, 1000, 500]);
- annotation('textbox', [0.1, 0.98, 0.8, 0.02], ...
- 'String', ['Four-Class Task - ', task_names{task}, ' Beta Band (13-30Hz) ERD/ERS Curves'], ...
- 'HorizontalAlignment', 'center', 'VerticalAlignment', 'top', ...
- 'FontSize', 14, 'FontWeight', 'bold', 'EdgeColor', 'none', 'FitBoxToText', false);
- % Plot ERD/ERS curves
- plotERDERS(x_task, y_task, 13, 30, fs, 5, 15, ch_names, selected_channels, [-100, 100], [-5, 10]);
- end
- %% Helper Functions
- function plotERDERS(data, labels, flow, fhigh, fs, baseline_end, trial_length, ch_names, selected_channels, ylim_range, time_range)
- % Plot ERD/ERS curves
- %
- % Inputs:
- % data - Input data [channels x time_points x trials]
- % labels - Task labels [1 x trials]
- % flow, fhigh - Lower and upper frequency band limits (Hz)
- % fs - Sampling rate (Hz)
- % baseline_end - Baseline period end time (seconds)
- % trial_length - Total trial length (seconds)
- % ch_names - Channel names cell array
- % selected_channels - Selected channel indices
- % ylim_range - Y-axis range [lower upper], e.g., [-100 250]
- % time_range - Time axis range [start end], e.g., [-2 10]
- % Set default time range if not provided
- if nargin < 11 || isempty(time_range)
- time_range = [0, trial_length];
- end
- % Plot style configuration
- colors = {'r', 'b'};
- line_width = 2;
- smoothPara = 80; % Smoothing window size
- % Calculate and plot ERD/ERS curves
- hold on;
- for ch = 1:size(data, 1)
- % Get all trials for current channel
- channel_trials = squeeze(data(ch, :, :));
- % Compute ERD/ERS
- [erders, t] = computeERDERS(channel_trials, flow, fhigh, fs, ...
- round(baseline_end*fs), round(trial_length*fs), smoothPara);
- % Apply smoothing
- erders = movingAverage(erders, smoothPara);
- % Adjust time axis (shift left by baseline_end seconds)
- t_adjusted = t - baseline_end;
- % Plot curve
- plot(t_adjusted, erders, colors{ch}, 'LineWidth', line_width);
- end
- % Set axis limits and labels
- xlim(time_range);
- xlabel('Time (s)');
- ylabel('Relative Power Change (%)');
- % Set Y-axis range
- if nargin >= 10 && ~isempty(ylim_range)
- ylim(ylim_range);
- else
- ylim([-100 100]);
- end
- grid on;
- % Add reference lines
- plot([baseline_end baseline_end], ylim_range, 'k:'); % Baseline end
- plot([0 0], ylim_range, 'k:'); % Zero time point
- plot([time_range(1) time_range(2)], [0 0], 'k--'); % Zero percent reference
- % Add legend
- legend_labels = cell(size(data, 1), 1);
- for i = 1:size(data, 1)
- legend_labels{i} = ['Channel ', ch_names{selected_channels(i)}];
- end
- legend(legend_labels, 'Location', 'best');
- hold off;
- end
- function [erders, t] = computeERDERS(trials, flow, fhigh, fs, baseline_samples, total_samples, smoothPara)
- % Compute ERD/ERS (Event-Related Desynchronization/Synchronization)
- %
- % Inputs:
- % trials - Input trials [time_points x trials]
- % flow, fhigh - Lower and upper frequency band limits (Hz)
- % fs - Sampling rate (Hz)
- % baseline_samples - Number of baseline samples
- % total_samples - Total number of samples
- % smoothPara - Smoothing window size
- %
- % Outputs:
- % erders - ERD/ERS values (%)
- % t - Time vector (seconds)
- % Ensure total samples doesn't exceed available data
- total_samples = min(total_samples, size(trials, 1));
- % Initialize
- n_trials = size(trials, 2);
- filtered_data = zeros(size(trials));
- butterOrder = 6; % Butterworth filter order
- % Filter each trial separately
- for i = 1:n_trials
- filtered_data(:, i) = filter_param(trials(:, i), flow, fhigh, fs, butterOrder);
- end
- % Calculate power
- power_data = filtered_data.^2;
- % Average power across all trials
- avg_power = mean(power_data, 2);
- avg_power = avg_power(1:total_samples);
- % Apply smoothing
- avg_power = movingAverage(avg_power, smoothPara);
- % Calculate baseline power (average during baseline period)
- baseline_power = mean(avg_power(1:baseline_samples));
- % Calculate ERD/ERS
- erders = ((avg_power - baseline_power) / baseline_power) * 100;
- % Create time vector
- t = (0:length(erders)-1) / fs;
- end
- function smoothed = movingAverage(data, window_size)
- % Custom moving average smoothing function
- %
- % Inputs:
- % data - Input data vector
- % window_size - Window size (must be odd)
- %
- % Output:
- % smoothed - Smoothed data vector
- % Ensure window size is odd
- if mod(window_size, 2) == 0
- window_size = window_size + 1;
- end
- n = length(data);
- half_window = floor(window_size / 2);
- smoothed = zeros(size(data));
- % Pad data to handle boundaries
- padded_data = [repmat(data(1), [half_window, 1]); data; repmat(data(end), [half_window, 1])];
- % Apply moving average
- for i = 1:n
- smoothed(i) = mean(padded_data(i:i+window_size-1));
- end
- end
- function filterdata = filter_param(data, low, high, sampleRate, filterorder)
- % Bandpass filter for EEG data
- %
- % Inputs:
- % data - EEG data to be filtered
- % low - High-pass filter cutoff frequency (Hz)
- % high - Low-pass filter cutoff frequency (Hz)
- % sampleRate - Sampling rate (Hz)
- % filterorder - Butterworth filter order
- %
- % Output:
- % filterdata - Filtered EEG data
- % Calculate normalized cutoff frequencies
- filtercutoff = [low*2/sampleRate high*2/sampleRate];
- % Design Butterworth filter
- [filterParamB, filterParamA] = butter(filterorder, filtercutoff);
- % Apply filter
- filterdata = filter(filterParamB, filterParamA, data);
- end
ERDERS.m at commit dc0536f, no license · at the source
Overview
- Beijing Jiaotong University,Beijing, 100044 China
- Nanyang Technological University,50 Nanyang Avenue, Singapore, Singapore
- Simon Fraser University, Vancouver V5A 1S6,Burnaby, Canada
- Institute of Automation, Chinese Academy of Sciences,Beijing, 100044 China
Abstract
Unilateral limb motor imagery (MI) plays an important role in upper-limb motor rehabilitation and precise control of external devices, and places higher demands on spatial resolution. However, most existing public datasets focus on binary- or four-class left–right limb paradigms that mainly exploit coarse hemispheric lateralization, and there is still a lack of multimodal datasets that simultaneously record electroencephalography (EEG) and functional near-infrared spectroscopy (fNIRS) for unilateral multi-directional MI. To address this gap, we present MIND, a public motor imagery fNIRS–EEG dataset based on a four-class directional MI paradigm of the right upper limb. The dataset includes 64-channel EEG recordings (1000 Hz) and 51-channel fNIRS recordings (47.62 Hz) from 30 participants (12 females, 18 males; aged 19.0–25.0 years). We analyze the spatiotemporal characteristics of EEG spectral power and hemodynamic responses, and provide baseline classification summaries for EEG, fNIRS, and combined modalities as technical validation of task-related information in the dataset. We expect that this dataset will facilitate the evaluation and comparison of neuroimaging analysis and decoding methods.
Reproduced under the paper's license (CC BY), from the paper cited above.
Repository
Its files are read in the Code ↔ Paper reader above, with 10 matches between paragraphs and lines of code.
useflf/Multimodal-fNIRS-EEG-Dataset
dc0536ffa7add0b1ab893210a31e5ea742b3e617, 25 December 2025Availability: 1 check, the latest on 27 September 2026: the link answers
- 27 September 2026: the link answers
9 files
- Code/
Classification/ , MATLAB, 318 lines, 1 matchEEGClassification.m - Code/
Classification/ , MATLAB, 765 lines, 3 matchesHybridClassification.m - Code/
Classification/ , MATLAB, 372 linesNIRSClassification.m - Code/
Classification/ , MATLAB, 29 linesapplyRLDAClassifier.m - Code/
Plot/ , MATLAB, 250 lines, 3 matchesERDERS.m - Code/
Preprocessing/ , MATLAB, 230 lines, 1 matchreprocessing/ EEGPreprocess.m - Code/
Preprocessing/ , Python, 117 lines, 1 matchreprocessing/ EEG_process.py - Code/
Preprocessing/ , Python, 500 lines, 1 matchreprocessing/ utils.py - README.md, Text, 18 lines
Code availability
The usage instructions for this dataset are openly available in our GitHub mirror repository (https://
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;
- 8 scripts, each with its path and the digest of its content;
- 10 matches between paragraphs of the paper and lines of the code (method lexical-v1);
- 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
Datasets cited
- doi:10.18112/
openneuro.ds004022.v1.0. , at OpenNeuro; found in the references0
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, 27 September 2026: the first record
Recorded: type, language, journal, volume, issue, pages, dates, 10 authors, 9 MeSH terms, 3 funders, 45 references.
Cite
This paper
Feng, L., Xu, B., Zhang, H., Lin, B., Deng, Z., Tao, S., Liu, C., Jia, S., Duan, L., & Jia, Z. (2026). A Multimodal fNIRS-EEG Dataset for Unilateral Limb Motor Imagery. Scientific data, 13(1), 1159. https://
BibTeX
@article{feng2026multimo
author = {Feng, Lufeng and Xu, Baomin and Zhang, Haoran and Lin, Bihai and Deng, Zuxuan and Tao, Sidi and Liu, Chenyu and Jia, Shifan and Duan, Li and Jia, Ziyu},
title = {{A Multimodal fNIRS-EEG Dataset for Unilateral Limb Motor Imagery}},
journal = {Scientific data},
year = {2026},
month = aug,
volume = {13},
number = {1},
pages = {1159},
publisher = {Nature Publishing Group},
issn = {2052-4463},
doi = {10.1038/
url = {https://
pmid = {42575895},
pmcid = {PMC13458765}
}
RIS
TY - JOUR
AU - Feng, Lufeng
AU - Xu, Baomin
AU - Zhang, Haoran
AU - Lin, Bihai
AU - Deng, Zuxuan
AU - Tao, Sidi
AU - Liu, Chenyu
AU - Jia, Shifan
AU - Duan, Li
AU - Jia, Ziyu
TI - A Multimodal fNIRS-EEG Dataset for Unilateral Limb Motor Imagery
T2 - Scientific data
J2 - Sci Data
PY - 2026
DA - 2026/
VL - 13
IS - 1
SP - 1159
SN - 2052-4463
PB - Nature Publishing Group
DO - 10.1038/
UR - https://
LA - en
ER -
CSL-JSON
{
"id": "10.1038/
"type": "article-journal",
"title": "A Multimodal fNIRS-EEG Dataset for Unilateral Limb Motor Imagery",
"container-title": "Scientific data",
"author": [
{
"family": "Feng",
"given": "Lufeng"
},
{
"family": "Xu",
"given": "Baomin"
},
{
"family": "Zhang",
"given": "Haoran"
},
{
"family": "Lin",
"given": "Bihai"
},
{
"family": "Deng",
"given": "Zuxuan"
},
{
"family": "Tao",
"given": "Sidi"
},
{
"family": "Liu",
"given": "Chenyu"
},
{
"family": "Jia",
"given": "Shifan"
},
{
"family": "Duan",
"given": "Li"
},
{
"family": "Jia",
"given": "Ziyu"
}
],
"container-title-short":
"volume": "13",
"issue": "1",
"page": "1159",
"DOI": "10.1038/
"PMID": "42575895",
"PMCID": "PMC13458765",
"ISSN": "2052-4463",
"publisher": "Nature Publishing Group",
"URL": "https://
"language": "en",
"issued": {
"date-parts": [
[
2026,
8,
10
]
]
}
}
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/s41597-026-07146-x [code]
- Intention-Action Conflict EEG-Hand Kinematics Dataset for Unimanual Control under Congruent and Incongruent Conditions.Journal: Scientific dataIn common: ICLabel, EEGLAB, MNE-Python, 4 other tools, methods / tools, EEG, 1 reference
- [2] doi:10.1038/s41598-026-56070-y [code]
- SSDLabeler: realistic semi-synthetic data generation for multi-label artifact classification in EEG.Journal: Scientific reportsIn common: ICLabel, EEGLAB, Signal Processing Toolbox, 3 other tools, EEG, 2 references
- [3] doi:10.7554/elife.107088 [code]
- Development of auditory and spontaneous movement responses to music over the first postnatal year.Journal: eLifeIn common: ICLabel, EEGLAB, MNE-Python, 5 other tools, EEG
- [4] doi:10.1016/j.ebiom.2026.106375 [code]
- Brainwaves under medication: revealing class-specific neural signatures of psychotropic medication from 24,000 EEGs.Journal: EBioMedicineIn common: ICLabel, EEGLAB, MNE-Python, 4 other tools, EEG
- [5] doi:10.2196/80286 [code]
- At-Home Sleep Electroencephalography Assessment in Young and Older Adults Using a Novel Wireless Soft Electronics Sleep Monitoring System: Experimental Study.Journal: JMIR formative researchIn common: EEGLAB, MNE-Python, Signal Processing Toolbox, 4 other tools, methods / tools, EEG
- [6] doi:10.1038/s41597-026-07215-1 [code]
- The Brain, Body, and Behavior Dataset (BBBD): Multimodal Recordings during Educational Videos.Journal: Scientific dataIn common: EEGLAB, MNE-Python, Signal Processing Toolbox, 4 other tools, methods / tools, EEG
- [7] doi:10.1162/imag.a.1229 [code]
- 40 Hz audiovisual stimulation improves sustained attention and related brain oscillations.Journal: Imaging neuroscience (Cambridge, Mass.)In common: ICLabel, EEGLAB, Signal Processing Toolbox, 4 other tools, EEG
- [8] doi:10.3390/s26134019 [code]
- NeuroStat: An Open-Source EEG Connectivity Platform for Randomised Controlled Trials.Journal: Sensors (Basel, Switzerland)In common: ICLabel, MNE-Python, SciPy, 2 other tools, EEG, 2 references
- [9] doi:10.1016/j.isci.2026.116586 [code]
- Condition-specific neural signatures of reactivation during post-retrieval rest: An EEG study.Journal: iScienceIn common: EEGLAB, MNE-Python, Signal Processing Toolbox, 4 other tools, EEG
- [10] doi:10.1002/mds.70348 [code]
- Electroencephalography-B
ased Clustering Reveals Robust Neurophysiological Subtypes in Parkinson's Disease. Journal: Movement disorders : official journal of the Movement Disorder SocietyIn common: ICLabel, EEGLAB, MNE-Python, 3 other tools, EEG
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, 8 scripts, and 10 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:84481e478f84a225…
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
[, paste the snippet at the top, then “Commit changes…” and, to review it first, “Create a new branch and start a pull request”. You open the pull request; OSCR asks for no permission.
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: 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.
