OSCR

Intention-Action Conflict EEG-Hand Kinematics Dataset for Unimanual Control under Congruent and Incongruent Conditions.

Code ↔ Paper

15 matches between paragraphs of the paper and lines of its authors' code, computed by the harvester (lexical-v1). Click a colored paragraph or line to see its counterpart.

8 blocks of code here have a permanent identifier (oscr:b:…), listed with the matches below: citable for good, with a page of its own. Select a match and press Cite to copy it. What a block identifier is.

The 15 matches · 2 of them tie a paragraph to a whole file without given lines: weak matches, whose lines are not tinted
  1. [1] § Methods › Data Pre-processing ↔ code/scripts/matlab/preprocess_eeg_pipeline.m, lines 1 to 133 · score 0.92 · amplitude threshold, zero phase FIR, ICLabel, pipeline, HEOG, M1 · block oscr:b:11DYSW175BJTW-R · Report a mismatch
  2. [2] § Methods › Data Pre-processing ↔ code/scripts/matlab/preprocess_premove_55_14.m, lines 1 to 107 · score 0.88 · 0.1–45 Hz, ICLabel, HEOG, M1, M2, VEOG · block oscr:b:53E86ZPTSSN05-R · Report a mismatch
  3. [3] § Methods › Data Pre-processing ↔ code/scripts/matlab/preprocess_eeg_pipeline.m, lines 1 to 133 · score 0.83 · preprocess eeg pipeline, amplitude threshold, baseline correction, ICA, event, segmented · block oscr:b:11DYSW175BJTW-R · Report a mismatch
  4. [4] § Methods › Data Pre-processing ↔ code/scripts/matlab/process_leap_dual_csv.m, lines 117 to 160 · score 0.71 · nearest neighbor, process leap dual, uniform, hit, trajectory, ball · block oscr:b:WA1GY65YFKQRX-6 · Report a mismatch
  5. [5] § Methods › Data Pre-processing ↔ code/scripts/matlab/export_eeg_leap_aligned.m, lines 1 to 101 · score 0.68 · export eeg leap, cov, residual, global, segmented · block oscr:b:V4XM61FF5VMPP-C · Report a mismatch
  6. [6] § Methods › Data Pre-processing ↔ code/scripts/matlab/align_eeg_leap.m, lines 46 to 90 · score 0.67 · dynamic programming, align eeg leap, Leap trials, matched · block oscr:b:SBY740V79BEPJ-Y · Report a mismatch
  7. [7] § Methods › Data Pre-processing ↔ code/scripts/matlab/calibrate_pairs_with_events.m, the whole file · a weak match · score 0.67 · calibrate pairs, eeg leap, fitted, ratio, global, events · block oscr:b:JN9C3GJG0XJP7-O · Report a mismatch
  8. [8] § Technical Validation › Neural and behavioral signal validation ↔ code/scripts/python/ersp_itc_trajectory.ipynb, lines 4 to 136 · score 0.63 · 2–30 Hz, baseline corrected, Morlet, ERSP, ITC, power · Report a mismatch
  9. [9] § Technical Validation › Readiness potentials (RPs) ↔ code/scripts/python/rp4pre_move.ipynb, lines 33 to 105 · score 0.62 · low pass filtered, rp4pre move, baseline, Python, EEG · Report a mismatch
  10. [10] § Data Records › Derived data ↔ code/scripts/matlab/preprocess_premove_55_14.m, lines 1 to 107 · score 0.60 · keep_mask_1s, extracted pre, variable, preprocessing, segment · block oscr:b:53E86ZPTSSN05-R · Report a mismatch
  11. [11] § Data Records › Raw data › Leap motion ↔ code/scripts/matlab/process_leap_dual_csv.m, lines 1 to 39 · score 0.59 · ball_x_pix, move_direct, ball_color, mm, hit, leap · block oscr:b:BJFKR9HB1PKMD-6 · Report a mismatch
  12. [12] § Data Records › Raw data › Leap motion ↔ code/scripts/matlab/export_eeg_leap_aligned.m, lines 1 to 101 · score 0.59 · ball_x_pix, move_direct, ball_color, mm, hit, leap · block oscr:b:V4XM61FF5VMPP-C · Report a mismatch
  13. [13] § Data Records › Derived data ↔ code/scripts/matlab/preprocess_premove_55_14.m, lines 159 to 250 · score 0.55 · segs_var, Variable length, pre, EEG · block oscr:b:3YPZC2TRQ4WTN-A · Report a mismatch
  14. [14] § Technical Validation › Neural and behavioral signal validation ↔ code/scripts/python/ersp_itc_trajectory.ipynb, lines 138 to 165 · score 0.55 · ersp itc trajectory, hand trajectories, CI, axis, Python · Report a mismatch
  15. [15] § Methods › Data Pre-processing ↔ code/scripts/matlab/calibrate_pairs_with_events.m, the whole file · a weak match · score 0.53 · duration ratio, iterative, outlier, median · block oscr:b:JN9C3GJG0XJP7-O · Report a mismatch

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

MATLAB · 404 lines · 13 KB · CC-BY-4.0 · 3 matches

  1. function preprocess_premove_55_14(CDT_FILE, CSV_BALL, OUT_MAT, opts)
  2. % Preprocessing + Extracting pre-motion (55→14) segments + Reading CSV labels (color_ball / move_direct)
  3. % Save it as a .mat file in a specified path
  4. %
  5. % Required parameter:
  6. % CDT_FILE : .cdt file path
  7. % CSV_BALL : left_ball_1.csv path (including color_ball / move_direct /
  8. % trial / global_time)
  9. % OUT_MAT : The path of the output .mat file
  10. %
  11. % Optional parameters (opts) (with defaults):
  12. % .resample_hz = 200
  13. % .bp_lo_hz = 0.1
  14. % .bp_hi_hz = 50
  15. % .del_chans = {'HEO','VEOG','TRIGGER'}
  16. % .iclabel_thr = 0.90 % Eye/Muscle ≥ this probability is just removed
  17. % .reref_mode = 'average'
  18. % .pre_ms = 1000 % Fixed segment length (1s with 14 as the end)
  19. % .tol_ms_lo = 800 % Accept the lower time limit of 55→14
  20. % .tol_ms_hi = 1200 % Accept the upper time limit of 55→14
  21. if nargin < 4, opts = struct; end
  22. opts = setdef(opts, 'resample_hz', 200);
  23. opts = setdef(opts, 'bp_lo_hz', 0.1);
  24. opts = setdef(opts, 'bp_hi_hz', 45);
  25. opts = setdef(opts, 'del_chans', {'M1','M2','HEOG','VEOG','TRIGGER'});
  26. opts = setdef(opts, 'iclabel_thr', 0.90);
  27. opts = setdef(opts, 'reref_mode', 'average');
  28. opts = setdef(opts, 'pre_ms', 1000);
  29. opts = setdef(opts, 'tol_ms_lo', 800);
  30. opts = setdef(opts, 'tol_ms_hi', 1200);
  31. % Ensure that the output directory exists
  32. outdir = fileparts(OUT_MAT);
  33. if ~isempty(outdir) && ~exist(outdir,'dir'), mkdir(outdir); end
  34. % ---------------- 0) Load EEG ----------------
  35. fprintf('[0] Loading: %s\n', CDT_FILE);
  36. [~,~,ext] = fileparts(CDT_FILE);
  37. switch lower(ext)
  38. case '.set', EEG = pop_loadset(CDT_FILE);
  39. case {'.cdt','.dap','.dat','.rs3'}
  40. EEG = pop_loadcurry(CDT_FILE, 'CurryLocations','on', 'CurryEvents','on');
  41. otherwise, error('Unsupported EEG file: %s', ext);
  42. end
  43. EEG = eeg_checkset(EEG);
  44. % ---------------- 1) Electrode position -----------------
  45. fprintf('[1] Set channel locations...\n');
  46. EEG = try_set_chanlocs(EEG, '');
  47. % ---------------- 2) Downsample to 200 Hz -------------
  48. fprintf('[2] Resample to %d Hz...\n', opts.resample_hz);
  49. EEG = pop_resample(EEG, opts.resample_hz);
  50. % ---------------- 3) 0.1–45 Hz bandpass ------------
  51. fprintf('[3] Bandpass %.1f–%.1f Hz...\n', opts.bp_lo_hz, opts.bp_hi_hz);
  52. EEG = pop_eegfiltnew(EEG, opts.bp_lo_hz, opts.bp_hi_hz);
  53. % ---------------- 4) Delete channel --------------------
  54. fprintf('[4] Drop chans: %s\n', strjoin(opts.del_chans, ', '));
  55. EEG = delete_if_present(EEG, opts.del_chans);
  56. % ---------------- 5) ICA+ICLabel(Eye/Muscle)--
  57. fprintf('[5] ICA + ICLabel (Eye/Muscle >= %.2f)\n', opts.iclabel_thr);
  58. EEG = run_ica_remove_eye_muscle(EEG, opts.iclabel_thr);
  59. % ---------------- 6) Re-reference --------------------
  60. fprintf('[6] Re-reference: %s\n', opts.reref_mode);
  61. EEG = do_reref(EEG, opts.reref_mode);
  62. % ---------------- 7) Extract 55→14 segment ------------
  63. fprintf('[7] Extract 55→14 (var) & [-%d..0]ms (1s) segments...\n', opts.pre_ms);
  64. [segs_var, times_var, segs_1s, times_1s, trial_info, keep_mask_1s] = ...
  65. extract_premotor_segments(EEG, 55, 14, opts.pre_ms, [opts.tol_ms_lo opts.tol_ms_hi]);
  66. % ——Unify the 1s segment length to 200 points (C×200)
  67. [segs_1s, times_1s] = force_len_fixed(segs_1s, times_1s, 200, EEG.nbchan, EEG.srate);
  68. % ---------------- 8) Read CSV labels ----------------
  69. fprintf('[8] Read labels from CSV: %s\n', CSV_BALL);
  70. labels = read_ball_labels(CSV_BALL);
  71. % Align labels with EEG segments based on their "appearance order"
  72. n_eeg = numel(segs_var);
  73. n_lab = height(labels);
  74. m = min(n_eeg, n_lab);
  75. labels = labels(1:m, :);
  76. if n_eeg > m
  77. pad = table( (m+1:n_eeg)', repmat("",n_eeg-m,1), repmat("",n_eeg-m,1), ...
  78. 'VariableNames', {'trial_csv','color_ball','move_direct'});
  79. labels = [labels; pad];
  80. end
  81. % ---------------- Save to the specified .mat ----------------
  82. meta = struct();
  83. meta.srate = EEG.srate;
  84. meta.chanlabels = {EEG.chanlocs.labels}';
  85. meta.nbchan = EEG.nbchan;
  86. meta.preprocess = opts;
  87. save(OUT_MAT, 'segs_var','times_var','segs_1s','times_1s', ...
  88. 'trial_info','keep_mask_1s','labels','meta','-v7.3');
  89. fprintf('Saved: %s\n', OUT_MAT);
  90. fprintf('Done.\n');
  91. end
  92. % ====== helper function ======
  93. function s = setdef(s, f, v), if ~isfield(s, f), s.(f) = v; end, end
  94. function EEG = try_set_chanlocs(EEG, CHANLOC_FILE)
  95. try
  96. if ~isempty(CHANLOC_FILE) && exist(CHANLOC_FILE,'file')
  97. EEG = pop_chanedit(EEG, 'lookup', CHANLOC_FILE); return;
  98. end
  99. eeglabroot = fileparts(which('eeglab.m'));
  100. cands = { ...
  101. fullfile(eeglabroot,'plugins','dipfit','standard_BEM','elec','standard_1005.elc'), ...
  102. fullfile(eeglabroot,'plugins','dipfit','standard_BEM','elec','standard_1020.elc'), ...
  103. fullfile(eeglabroot,'sample_locs','standard-10-5-cap385.elp')};
  104. for i=1:numel(cands)
  105. if exist(cands{i},'file'), EEG = pop_chanedit(EEG, 'lookup', cands{i}); return; end
  106. end
  107. catch ME
  108. warning('Set chanlocs failed: %s', ME.message);
  109. end
  110. end
  111. function EEG = delete_if_present(EEG, chans)
  112. labels = {EEG.chanlocs.labels};
  113. mask = ismember(labels, chans);
  114. if any(mask)
  115. EEG = pop_select(EEG, 'nochannel', labels(mask));
  116. end
  117. end
  118. function EEG = run_ica_remove_eye_muscle(EEG, thr)
  119. EEG = pop_runica(EEG, 'icatype','runica','extended',1,'interrupt','off');
  120. if exist('pop_iclabel','file')==2
  121. EEG = pop_iclabel(EEG, 'default');
  122. if isfield(EEG,'etc') && isfield(EEG.etc,'ic_classification') && ...
  123. isfield(EEG.etc.ic_classification,'ICLabel')
  124. P = EEG.etc.ic_classification.ICLabel.classifications; % [IC x 7]
  125. % 列: Brain(1) Muscle(2) Eye(3) Heart(4) Line(5) Chan(6) Other(7)
  126. rm = find(P(:,2)>=thr | P(:,3)>=thr);
  127. if ~isempty(rm)
  128. fprintf(' Removing %d ICs (Eye/Muscle >= %.2f)\n', numel(rm), thr);
  129. EEG = pop_subcomp(EEG, rm, 0);
  130. else
  131. fprintf(' No IC meets Eye/Muscle >= %.2f\n', thr);
  132. end
  133. else
  134. warning('ICLabel result not found; skip removal.');
  135. end
  136. else
  137. warning('ICLabel plugin not found; skip IC removal.');
  138. end
  139. end
  140. function EEG = do_reref(EEG, mode)
  141. try
  142. if ischar(mode) && strcmpi(mode,'average')
  143. EEG = pop_reref(EEG, []);
  144. elseif iscell(mode)
  145. lab = {EEG.chanlocs.labels};
  146. idx = find(ismember(lab, mode));
  147. if isempty(idx), warning('Ref chans missing; using average.'); EEG = pop_reref(EEG, []);
  148. else, EEG = pop_reref(EEG, idx); end
  149. else
  150. EEG = pop_reref(EEG, []);
  151. end
  152. catch ME
  153. warning('Reref failed: %s; using average.', ME.message);
  154. EEG = pop_reref(EEG, []);
  155. end
  156. end
  157. function [segs_var, times_var, segs_1s, times_1s, info, keep_1s] = ...
  158. extract_premotor_segments(EEG, code_start, code_end, pre_ms, tol_ms_pair)
  159. % 输出:
  160. % segs_var/times_var : 55→14 variable length segment (0 alignment 14; time unit: second)
  161. % segs_1s/times_1s : Fixed 1s ([-1,0]s, 0 alignment 14)
  162. % info : Struct(i55/i14/t55/t14/dur_ms/valid)
  163. % keep_1s : Trial mask satisfying dur in [tol_lo, tol_hi]ms
  164. srate = EEG.srate;
  165. types = arrayfun(@(e) type2num(e.type), EEG.event);
  166. lats = [EEG.event.latency]; % sample point
  167. idx55 = find(types==code_start); % 55
  168. idx14 = find(types==code_end); % 14
  169. segs_var = {}; times_var = {};
  170. segs_1s = {}; times_1s = {};
  171. info = struct('i55',{},'i14',{},'t55',{},'t14',{},'dur_ms',{},'valid',{});
  172. keep_1s = [];
  173. pre_samp = round(pre_ms/1000 * srate);
  174. for ii = 1:numel(idx14)
  175. i14 = idx14(ii);
  176. t14 = lats(i14);
  177. % "The adjacent previous 55": the last 55 that comes after the previous 14 and before the current 14
  178. prev14_lat = -inf; if ii>1, prev14_lat = lats(idx14(ii-1)); end
  179. cand = idx55(lats(idx55) > prev14_lat & lats(idx55) < t14);
  180. i55 = NaN; t55 = NaN; valid = false; dur_ms = NaN;
  181. if ~isempty(cand)
  182. i55 = cand(end); t55 = lats(i55);
  183. dur_ms = (t14 - t55)/srate*1000;
  184. valid = (dur_ms>=0);
  185. end
  186. % variable length 55→14
  187. if valid
  188. s1 = max(1, round(t55));
  189. s2 = min(size(EEG.data,2), round(t14));
  190. segs_var{end+1} = EEG.data(:, s1:s2);
  191. t0 = ((s1:s2) - t14)/srate; % 0 aligh to 14
  192. times_var{end+1} = t0;
  193. else
  194. segs_var{end+1} = [];
  195. times_var{end+1} = [];
  196. end
  197. % Fixed 1s (only when dur is within tolerance)
  198. ok1s = valid && (dur_ms >= tol_ms_pair(1)) && (dur_ms <= tol_ms_pair(2));
  199. if ok1s
  200. s1f = round(t14 - pre_samp);
  201. s2f = round(t14);
  202. if s1f >= 1 && s2f <= size(EEG.data,2)
  203. segs_1s{end+1} = EEG.data(:, s1f:s2f);
  204. times_1s{end+1} = ((s1f:s2f) - t14)/srate;
  205. else
  206. segs_1s{end+1} = [];
  207. times_1s{end+1} = [];
  208. ok1s = false;
  209. end
  210. else
  211. segs_1s{end+1} = [];
  212. times_1s{end+1} = [];
  213. end
  214. info(end+1).i55 = i55; %#ok<AGROW>
  215. info(end ).i14 = i14;
  216. info(end ).t55 = t55;
  217. info(end ).t14 = t14;
  218. info(end ).dur_ms = dur_ms;
  219. info(end ).valid = valid;
  220. keep_1s(end+1,1) = ok1s; %#ok<AGROW>
  221. end
  222. end
  223. function v = type2num(x)
  224. if isnumeric(x), v = x; return; end
  225. if ischar(x) || isstring(x)
  226. y = str2double(x); if ~isnan(y), v = y; return; end
  227. end
  228. v = NaN;
  229. end
  230. function T = read_ball_labels(csvfile)
  231. Tb = readtable(csvfile);
  232. Tb.Properties.VariableNames = lower(strrep(strtrim(Tb.Properties.VariableNames),' ','_'));
  233. allnames = Tb.Properties.VariableNames;
  234. trial_col = pick_col(allnames, {'trial','trial_id','trialindex','trial_idx'});
  235. assert(~isempty(trial_col), 'CSV is missing the trial column');
  236. color_col = pick_col(allnames, {'color_ball','ball_color','color','colour'});
  237. assert(~isempty(color_col), 'CSV is missing color_ball / ball_color column');
  238. move_col = pick_col(allnames, {'move_direct','movedirect','move_direction','movement_direction','movement','direction','move_dir','dir'});
  239. assert(~isempty(move_col), 'CSV is missing move_direct column');
  240. % —— Cleaning: Remove leading and trailing quotation marks, white spaces, and convert to lowercase ——
  241. clean = @(s) regexprep(lower(strtrim(string(s))), '^["'']+|["'']+$', '');
  242. trial = Tb.(trial_col);
  243. color = clean(Tb.(color_col));
  244. move = clean(Tb.(move_col));
  245. u = unique(trial, 'stable');
  246. trial_csv = zeros(numel(u),1);
  247. color_lab = strings(numel(u),1);
  248. move_lab = strings(numel(u),1);
  249. label_code = -1*ones(numel(u),1,'int8');
  250. for k = 1:numel(u)
  251. m = (trial == u(k));
  252. c_k = char(mode(categorical(color(m))));
  253. d_k = char(mode(categorical(move(m))));
  254. color_lab(k) = string(c_k);
  255. move_lab(k) = string(d_k);
  256. trial_csv(k) = u(k);
  257. label_code(k)= map_label_code(d_k, c_k); % map to 0/1/2/3/-1
  258. end
  259. T = table(trial_csv, color_lab, move_lab, label_code, ...
  260. 'VariableNames', {'trial_csv','color_ball','move_direct','label_code'});
  261. function name = pick_col(names, aliases)
  262. name = '';
  263. for ii = 1:numel(aliases)
  264. hit = find(strcmpi(names, aliases{ii}), 1, 'first');
  265. if ~isempty(hit), name = names{hit}; return; end
  266. end
  267. end
  268. function code = map_label_code(move_dir, color_ball)
  269. md = clean(move_dir); cb = clean(color_ball);
  270. if md=="left" && cb=="red", code = int8(0); return; end
  271. if md=="right" && cb=="red", code = int8(1); return; end
  272. if md=="left" && cb=="yellow", code = int8(2); return; end
  273. if md=="right" && cb=="yellow", code = int8(3); return; end
  274. code = int8(-1);
  275. end
  276. end
  277. function [Sfix, Tfix] = force_len_fixed(Sin, Tin, target_len, nbchan, srate)
  278. % Unify each segment of EEG in the cell array into C×target_len:
  279. % - Trim at the end (T > target_len)
  280. % - Pad with 0s at the end (T<target_len)
  281. % Synchronized cropping/padding times (linear extension), in seconds
  282. n = numel(Sin);
  283. Sfix = cell(n,1);
  284. Tfix = cell(n,1);
  285. for i = 1:n
  286. Xi = Sin{i};
  287. ti = Tin{i};
  288. if isempty(Xi)
  289. Sfix{i} = zeros(nbchan, target_len);
  290. if ~isempty(srate) && isfinite(srate)
  291. dt = 1./double(srate);
  292. Tfix{i} = ((-target_len+1):0) * dt;
  293. else
  294. Tfix{i} = zeros(1, target_len);
  295. end
  296. continue;
  297. end
  298. [C,T] = size(Xi);
  299. if C ~= nbchan
  300. nb = C;
  301. else
  302. nb = nbchan;
  303. end
  304. % —— Data cropping/padding ——
  305. if T >= target_len
  306. Sfix{i} = Xi(:, 1:target_len);
  307. t_out = safe_times_trim(ti, target_len);
  308. else
  309. Xo = zeros(nb, target_len);
  310. Xo(:,1:T) = Xi;
  311. Sfix{i} = Xo;
  312. t_out = safe_times_pad(ti, target_len, srate);
  313. end
  314. Tfix{i} = t_out(:)';
  315. end
  316. end
  317. function t_out = safe_times_trim(t_in, target_len)
  318. if isempty(t_in)
  319. t_out = zeros(1, target_len);
  320. else
  321. t_in = t_in(:)';
  322. if numel(t_in) >= target_len
  323. t_out = t_in(1:target_len);
  324. else
  325. dt = median(diff(t_in));
  326. last = t_in(end);
  327. need = target_len - numel(t_in);
  328. t_extra = last + dt*(1:need);
  329. t_out = [t_in, t_extra];
  330. end
  331. end
  332. end
  333. function t_out = safe_times_pad(t_in, target_len, srate)
  334. if isempty(t_in)
  335. if ~isempty(srate) && isfinite(srate)
  336. dt = 1./double(srate);
  337. t_out = ((-target_len+1):0) * dt;
  338. else
  339. t_out = zeros(1, target_len);
  340. end
  341. return;
  342. end
  343. t_in = t_in(:)';
  344. T = numel(t_in);
  345. if T == 1
  346. dt = (1./double(srate));
  347. else
  348. dt = median(diff(t_in));
  349. if ~isfinite(dt) || dt<=0
  350. dt = (1./double(srate));
  351. end
  352. end
  353. need = target_len - T;
  354. if need <= 0
  355. t_out = t_in(1:target_len);
  356. else
  357. t_extra = t_in(end) + dt*(1:need);
  358. t_out = [t_in, t_extra];
  359. end
  360. end

preprocess_premove_55_14.m at commit c0b595d, under CC-BY-4.0 · at the source

Overview

Authors: Mengpu Cai1,2, Rongrong Fu1,3, Yaodong Wang4, Bin Lu1,2, Saiwei Guo1,2, Fangyao Xu1,2
  1. School of Electrical Engineering, Yanshan University, Qinhuangdao, 066004 China
  2. Hebei Key Laboratory of Measurement Technology and Instrumentation, Yanshan University, Qinhuangdao, 066000 Hebei Province China
  3. Key Laboratory of Intelligent Control and Neural Information Processing, Ministry of Education, Yanshan University, Qinhuangdao, 066004 Hebei Province China
  4. School of Computer Science, Wuhan University, Wuhan, 430072 China
Institutions: Yanshan University (China); Wuhan University (China)
Journal: Scientific data, volume 13, issue 1, article 933
Dates: received 31 October 2025; accepted 27 March 2026; published online 22 April 2026
Type: Data paper · Language: English
License: CC BY
Identifiers: DOI 10.1038/s41597-026-07146-x · PMID 42020467 · PMCID PMC13287794 · OpenAlex W7155158592
Open access: gold, a free copy (OpenAlex)
Status: code verified (how the code is found and verified)
Categories: EEG (modality), other (modality), human (organism), methods / tools (subfield)
Methods: Spectral & time-frequency, Connectivity, Smoothing, state filtering, decompositions, Preprocessing, Machine learning
MeSH: Electroencephalography*, Hand*, Intention*, Biomechanical Phenomena, Humans, Movement (* major topic)
Topic: EEG and Brain-Computer Interfaces (Cognitive Neuroscience, Neuroscience), according to OpenAlex
Funding: State Key Laboratory for Novel Software Technology, China (KFKT2025B88); National Natural Science Foundation of China (62073282); S & T Program of Qinhuangdao City, China (202302B015)
Citations: cited by 1 paper (Europe PMC); 24 references in the paper

Abstract

The Intention-Action Conflict EEG-Hand Kinematics Dataset (IACKD) is a joint resource for studying congruent and incongruent intention-action conditions during unimanual control. It comprises 7,040 trials from 15 participants. Each trial includes a 1-s pre-movement period and a movement-execution period. A target frame and a controllable ball define the task; ball color cues congruency (red = same direction; yellow = opposite). EEG was recorded with a 32-channel Compumedics Neuroscan system at 1024 Hz, and 3-D hand trajectories were captured with Leap Motion at 170 Hz. Streams are time-aligned, and complete preprocessing and alignment scripts are provided. Technical validation includes readiness potentials at C3/C4/Cz, μ/β-band ERD/ERS with post-movement β rebound, sub-30-ms cross-modal residuals on >99.375% of trials, and expected completion-time differences between congruent and incongruent conditions. IACKD is intended for reuse in intention decoding, continuous trajectory decoding, and evaluation of decoder robustness under conflict or perturbed feedback.

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 15 matches between paragraphs and lines of code.

Boketto1/IACKD

License: CC-BY-4.0
State: the link answers, verified on 29 September 2026
Evidence: files inventoried
Commit: c0b595de7571c7e04abae7477c61d0b92b5702cd, 28 January 2026
Languages: MATLAB (6), Jupyter (3), Python (2)
Size: 30 files, 11 scripts
Software Heritage: not archived
Found in: “Code availability”
Holds: README, 3 notebooks
Not found: license file, CITATION.cff, environment file, tests, continuous integration, documentation
Tools: Matplotlib (5 files), NumPy (5 files), SciPy (5 files), EEGLAB (2 files), ICLabel (2 files), MNE-Python (2 files), pandas (2 files), Signal Processing Toolbox (1 file)
Availability: 1 check, the latest on 29 September 2026: the link answers
  • 29 September 2026: the link answers
12 files

Code availability

The source code used for all technical validations conducted in this experiment has been uploaded and is publicly available on GitHub (https://github.com/Boketto1/IACKD).

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;
  • 11 scripts, each with its path and the digest of its content;
  • 15 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

Data availability

The dataset described in this study is publicly available on OpenNeuro under accession number ds006840 and can be accessed via its 10.18112/openneuro.ds006840.v1.0.0.

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

Recorded: type, language, journal, volume, issue, pages, dates, 6 authors, 6 MeSH terms, 3 funders, 17 references.

Cite

This paper

Cai, M., Fu, R., Wang, Y., Lu, B., Guo, S., & Xu, F. (2026). Intention-Action Conflict EEG-Hand Kinematics Dataset for Unimanual Control under Congruent and Incongruent Conditions. Scientific data, 13(1), 933. https://doi.org/10.1038/s41597-026-07146-x

BibTeX

@article{cai2026intention,
author = {Cai, Mengpu and Fu, Rongrong and Wang, Yaodong and Lu, Bin and Guo, Saiwei and Xu, Fangyao},
title = {{Intention-Action Conflict EEG-Hand Kinematics Dataset for Unimanual Control under Congruent and Incongruent Conditions}},
journal = {Scientific data},
year = {2026},
month = apr,
volume = {13},
number = {1},
pages = {933},
publisher = {Nature Publishing Group},
issn = {2052-4463},
doi = {10.1038/s41597-026-07146-x},
url = {https://doi.org/10.1038/s41597-026-07146-x},
pmid = {42020467},
pmcid = {PMC13287794}
}

RIS

TY - JOUR
AU - Cai, Mengpu
AU - Fu, Rongrong
AU - Wang, Yaodong
AU - Lu, Bin
AU - Guo, Saiwei
AU - Xu, Fangyao
TI - Intention-Action Conflict EEG-Hand Kinematics Dataset for Unimanual Control under Congruent and Incongruent Conditions
T2 - Scientific data
J2 - Sci Data
PY - 2026
DA - 2026/04/22
VL - 13
IS - 1
SP - 933
SN - 2052-4463
PB - Nature Publishing Group
DO - 10.1038/s41597-026-07146-x
UR - https://doi.org/10.1038/s41597-026-07146-x
LA - en
ER -

CSL-JSON

{
"id": "10.1038/s41597-026-07146-x",
"type": "article-journal",
"title": "Intention-Action Conflict EEG-Hand Kinematics Dataset for Unimanual Control under Congruent and Incongruent Conditions",
"container-title": "Scientific data",
"author": [
{
"family": "Cai",
"given": "Mengpu"
},
{
"family": "Fu",
"given": "Rongrong"
},
{
"family": "Wang",
"given": "Yaodong"
},
{
"family": "Lu",
"given": "Bin"
},
{
"family": "Guo",
"given": "Saiwei"
},
{
"family": "Xu",
"given": "Fangyao"
}
],
"container-title-short": "Sci Data",
"volume": "13",
"issue": "1",
"page": "933",
"DOI": "10.1038/s41597-026-07146-x",
"PMID": "42020467",
"PMCID": "PMC13287794",
"ISSN": "2052-4463",
"publisher": "Nature Publishing Group",
"URL": "https://doi.org/10.1038/s41597-026-07146-x",
"language": "en",
"issued": {
"date-parts": [
[
2026,
4,
22
]
]
}
}

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-022-01538-5 [code]
A resource for assessing dynamic binary choices in the adult brain using EEG and mouse-tracking.
Journal: Scientific data
In common: ICLabel, EEGLAB, MNE-Python, 5 other tools, methods / tools, EEG, 3 references
[2] doi:10.1038/s41597-026-07807-x [code]
A Multimodal fNIRS-EEG Dataset for Unilateral Limb Motor Imagery.
Journal: Scientific data
In common: ICLabel, EEGLAB, MNE-Python, 4 other tools, methods / tools, EEG, 1 reference
[3] doi:10.7554/elife.107088 [code]
Development of auditory and spontaneous movement responses to music over the first postnatal year.
Journal: eLife
In common: ICLabel, EEGLAB, MNE-Python, 5 other tools, EEG, 1 reference
[4] doi:10.1371/journal.pone.0306157 [code]
Frontal cortex hyperactivation and gamma desynchrony in Fragile X syndrome: Correlates of auditory hypersensitivity.
Journal: PloS one
In common: ICLabel, EEGLAB, MNE-Python, 5 other tools, EEG, 1 reference
[5] doi:10.1038/s41597-024-04102-5 [code]
A finer-grained high altitude EEG dataset for hypoxia levels assessment.
Journal: Scientific data
In common: ICLabel, EEGLAB, MNE-Python, 5 other tools, methods / tools, EEG
[6] doi:10.3389/fpsyg.2025.1598196 [code]
Investigating mu and alpha oscillations as indicators of intra-individual success and inter-individual ability in motor imagery performance.
Journal: Frontiers in psychology
In common: ICLabel, EEGLAB, Signal Processing Toolbox, 4 other tools, EEG, 2 references
[7] doi:10.1038/s41597-025-06175-2 [code]
An EEG Dataset of Exploring Navigation in Virtual Reality.
Journal: Scientific data
In common: ICLabel, MNE-Python, pandas, 3 other tools, methods / tools, EEG, 2 references
[8] doi:10.1038/s42003-022-03395-9 [code]
Neocortical localization and thalamocortical modulation of neuronal hyperexcitability contribute to Fragile X Syndrome.
Journal: Communications biology
In common: ICLabel, EEGLAB, MNE-Python, 5 other tools, 1 reference
[9] doi:10.1002/advs.202417408 [code]
BrainFusion: a Low-Code, Reproducible, and Deployable Software Framework for Multimodal Brain‒Computer Interface and Brain‒Body Interaction Research.
Journal: Advanced science (Weinheim, Baden-Wurttemberg, Germany)
In common: ICLabel, MNE-Python, pandas, 3 other tools, other, methods / tools, EEG, 2 references
[10] doi:10.1038/s41598-025-20294-1 [code]
Plasticity of interhemispheric motor cortex connectivity induced by brain state-dependent cortico-cortical paired-associative stimulation.
Journal: Scientific reports
In common: ICLabel, EEGLAB, MNE-Python, 4 other tools, other, EEG, 1 reference

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.1038/s41597-026-07146-x.svg)](https://openscicode.org/badge/doi/10.1038/s41597-026-07146-x)
<!-- oscr-badge:end -->
reStructuredText
.. oscr-badge:start

.. image:: https://openscicode.org/badge/doi/10.1038/s41597-026-07146-x.svg
   :target: https://openscicode.org/badge/doi/10.1038/s41597-026-07146-x
   :alt: OSCR

.. oscr-badge:end
HTML
<!-- oscr-badge:start -->
<a href="https://openscicode.org/badge/doi/10.1038/s41597-026-07146-x"><img src="https://openscicode.org/badge/doi/10.1038/s41597-026-07146-x.svg" alt="OSCR"></a>
<!-- oscr-badge:end -->

On GitHub, open the README, choose Edit (the pencil), paste the snippet under the title, then "Commit changes".

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)

Versions of its code: the releases of its code tied to a version of this paper (the preprint, the accepted manuscript, the version of record…), each with the tracing map versioned with it.

Activity: what happens around this paper: new versions of its record, its map's validation, discussions and reproductions. It opens with sign-in.