Multidimensional dynamic characterization and decoding of finger movements using magnetoencephalography.
The 5 matches · 1 of them tie a paragraph to a whole file without given lines: a weak match, whose lines are not tinted
- [1] § Methods › Data processing › MEG and MRI data pre-processing ↔ Showresults/Figure4_MVPA_TimeCourse_Amap_Results.m, lines 6 to 24 · score 0.87 · 30–60 Hz, 0.5–90 Hz, 0.5–4 Hz, 13–30 Hz, 8–13 Hz, 60–90 Hz · Report a mismatch
- [2] § Methods › Data processing › MEG and MRI data pre-processing ↔ Showresults/SFigure4_Accuracy_PCA_AI_TFR_Results.m, lines 6 to 32 · score 0.87 · 30–60 Hz, 0.5–90 Hz, 0.5–4 Hz, 13–30 Hz, 8–13 Hz, 60–90 Hz · Report a mismatch
- [3] § Methods › Data acquisition ↔ func_wxyz/ft_headmovement_wxyz.m, lines 1 to 134 · score 0.75 · head position, MEG sensor, head movements, nasion, CTF, coils · Report a mismatch
- [4] § Methods › Data processing › EMG data processing ↔ func_wxyz/wxyz_emgdetect.m, the whole file · a weak match · score 0.68 · 20–450 Hz, band pass, rectified, threshold, raw, EMG · Report a mismatch
- [5] § Methods › Data processing › MEG and MRI data pre-processing ↔ func_wxyz/ft_headmovement_wxyz.m, lines 1 to 134 · score 0.61 · Head position, MEG sensor, coils, segmented, epochs, movement · 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 · 418 lines · 16 KB · no license · 2 matches
- function [varargout] = ft_headmovement_wxyz(cfg,HLCdata)
- % Update: wxyz ROW 136
- % FT_HEADMOVEMENT outputs a raw data structure, or cell-array of data structures
- % reflecting the variability in the subject's head poisition relative to the
- % MEG sensors, based on continuous head position information. Current support is
- % only for CTF-data. The output timeseries contain the raw HLC data, and a
- % parametrization of the head movement in terms of translation and
- % rotations in 3D space. The grad structure(s) have head position information
- % incorporated in the coils' position/orientation and/or in the tra
- % matrix, depending on the method used.
- %
- % Use as
- % data = ft_headmovement(cfg)
- %
- % where the configuration should contain
- % cfg.dataset = string with the filename
- % cfg.method = string, 'updatesens' (default), 'cluster', 'avgoverrpt',
- % 'pertrial_cluster', 'pertrial' (default = 'updatesens')
- %
- % optional arguments are
- % cfg.trl = empty (default), or Nx3 matrix with the trial
- % definition (see FT_DEFINETRIAL). When specified as empty,
- % the whole recording is used.
- % cfg.numclusters = number of segments with constant headposition in
- % which to split the data (default = 10). This argument
- % is only used for the methods that use clustering ('updatesens',
- % 'cluster', 'pertrial_cluster').
- %
- % If cfg.method = 'updatesens', the grad in the single output structure has
- % a specification of the coils expanded as per the centroids of the position
- % clusters (obtained by kmeans clustering of the HLC time series). The balancing matrix
- % is a weighted concatenation of the original tra-matrix. This method requires
- % cfg.numclusters to be specified
- %
- % If cfg.method = 'avgoverrpt', the grad in the single output structure has
- % a specification of the coils according to the average head position
- % across the specified samples.
- %
- % If cfg.method = 'cluster', the cell-array of output structures represent
- % the epochs in which the head was considered to be positioned close to the
- % corresponding kmeans-cluster's centroid. The corresponding grad-structure
- % is specified according to this cluster's centroid. This method requires
- % cfg.numclusters to be specified.
- %
- % If cfg.method = 'pertrial', the cell-array of output structures contains
- % single trials, each trial with a trial-specific grad structure. Note that
- % this is extremely memory inefficient with large numbers of trials, and
- % probably an overkill.
- %
- % If cfg.method = 'pertrial_clusters', the cell-array of output structures
- % contains sets of trials where the trial-specific head position was
- % considered to be positioned close to the corresponding kmeans-cluster's
- % centroid. The corresponding grad-structure is specified accordin to the
- % cluster's centroid. This method requires cfg.numclusters to be specified.
- %
- % The updatesens method and related methods are described by Stolk et al., Online and
- % offline tools for head movement compensation in MEG. NeuroImage, 2012.
- %
- % See also FT_REGRESSCONFOUND, FT_REALTIME_HEADLOCALIZER
- % Copyright (C) 2008-2018, Jan-Mathijs Schoffelen, Robert Oostenveld
- %
- % This file is part of FieldTrip, see http://www.fieldtriptoolbox.org
- % for the documentation and details.
- %
- % FieldTrip is free software: you can redistribute it and/or modify
- % it under the terms of the GNU General Public License as published by
- % the Free Software Foundation, either version 3 of the License, or
- % (at your option) any later version.
- %
- % FieldTrip is distributed in the hope that it will be useful,
- % but WITHOUT ANY WARRANTY; without even the implied warranty of
- % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- % GNU General Public License for more details.
- %
- % You should have received a copy of the GNU General Public License
- % along with FieldTrip. If not, see <http://www.gnu.org/licenses/>.
- %
- % $Id$
- % these are used by the ft_preamble/ft_postamble function and scripts
- ft_revision = '$Id$';
- ft_nargin = nargin;
- ft_nargout = nargout;
- % do the general setup of the function
- ft_defaults
- ft_preamble init
- ft_preamble debug
- ft_preamble provenance
- % the ft_abort variable is set to true or false in ft_preamble_init
- if ft_abort
- return
- end
- % check if the input cfg is valid for this function
- % FIXME: consider allowing a data structure as input.
- cfg = ft_checkconfig(cfg, 'dataset2files', 'yes');
- % set the defaults
- cfg.method = ft_getopt(cfg, 'method', 'updatesens'); % 'pertrial', 'pertrial_cluster', 'avgoverrpt', 'cluster'
- cfg.numclusters = ft_getopt(cfg, 'numclusters', 10);
- cfg.feedback = ft_getopt(cfg, 'feedback', 'yes');
- if isequal(cfg.method,'updatesens') || isequal(cfg.method, 'pertrial_cluster') || isequal(cfg.method, 'cluster')
- dokmeans = true;
- else
- dokmeans = false;
- end
- % read the header information and check whether it's a CTF dataset with HLC information
- hdr = ft_read_header(cfg.headerfile);
- assert(startsWith(ft_senstype(hdr), 'ctf'), 'currently only CTF MEG data is supported');
- assert(numel(intersect(hdr.label, {'HLC0011' 'HLC0012' 'HLC0013' 'HLC0021' 'HLC0022' 'HLC0023' 'HLC0031' 'HLC0032' 'HLC0033'}))==9, 'the data does not contain the expected head localizer channels');
- grad_head = ft_datatype_sens(ctf2grad(hdr.orig, 0));
- grad_dewar = ft_datatype_sens(ctf2grad(hdr.orig, 1));
- grad = grad_dewar; % we work with dewar coordinates, ...
- grad.chanpos = grad_head.chanpos;
- % read the HLC-channels
- % HLC0011 HLC0012 HLC0013 x, y, z coordinates of nasion-coil in m.
- % HLC0021 HLC0022 HLC0023 x, y, z coordinates of lpa-coil in m.
- % HLC0031 HLC0032 HLC0033 x, y, z coordinates of rpa-coil in m.
- % raw script read HLC-channels
- % tmpcfg = keepfields(cfg, {'datafile' 'trl'});
- % tmpcfg.channel = {'HLC0011' 'HLC0012' 'HLC0013' 'HLC0021' 'HLC0022' 'HLC0023' 'HLC0031' 'HLC0032' 'HLC0033'};
- % tmpcfg.continuous = 'yes';
- % data = ft_preprocessing(tmpcfg);
- %% wxyz - data can be passed by the user, but need cfg.dataset to read CTF.hdr file
- data = HLCdata;
- if ~isfield(cfg, 'trl') || isempty(cfg.trl)
- cfg.trl = [1 hdr.nTrials.*hdr.nSamples 0];
- end
- %%
- data = removefields(data, 'elec'); % this slows down a great deal
- % rendering the persistent variable trick useless. We don't need the elec anyway
- wdat = cellfun('size', data.time, 2); % weights for weighted average
- trial_index = cell(1,numel(data.trial));
- for k = 1:numel(data.trial)
- % it sometimes happens that data are numerically 0, which causes problems downstream, replace with nans
- data.trial{k}(:,sum(data.trial{k}==0)==9) = nan;
- % create a bookkeeping cell-array, indexing the trial-indx
- trial_index{k} = k.*ones(1,numel(data.time{k}));
- end
- % average across time if needed
- if isequal(cfg.method, 'pertrial') || isequal(cfg.method, 'avgoverrpt') || isequal(cfg.method, 'pertrial_cluster')
- tmpcfg = [];
- tmpcfg.avgovertime = 'yes';
- tmpcfg.nanmean = 'yes';
- data_timeavg = ft_selectdata(tmpcfg, data);
- % concatenate across trials and scale the units
- dat = cat(2, data_timeavg.trial{:});
- else
- % concatenate across trials and scale the units
- dat = cat(2, data.trial{:});
- end
- % scale in units of the gradiometer definition, which is probably cm
- dat = dat * ft_scalingfactor('m', grad.unit);
- if isequal(cfg.method, 'pertrial_cluster')
- trl_idx = 1:numel(data.trial);
- else
- trl_idx = cat(2, trial_index{:});
- end
- % average across trials if needed
- if isequal(cfg.method, 'avgoverrpt')
- dat = sum(dat*diag(wdat), 2)./sum(wdat);
- end
- % remove duplicates if clustering is to be performed
- if dokmeans && ~isequal(cfg.method, 'pertrial_cluster')
- [tmpdata, dum, ic] = unique(dat', 'rows');
- dat = tmpdata';
- % count how often each position occurs
- wdat = hist(ic, unique(ic));
- end
- % perform the clustering if needed
- if dokmeans
- % compute the cluster means
- [bin, dat] = kmeans(dat', cfg.numclusters, 'EmptyAction', 'drop');
- % create a cell-array 1xnrpt with time specific indices of cluster id
- cluster_id = cell(1,numel(data.trial));
- for k = 1:numel(data.trial)
- cluster_id{k} = nan+zeros(1,numel(data.time{k}));
- if ~isequal(cfg.method, 'pertrial_cluster')
- for m = 1:size(dat,1)
- tmpdat = ic(trl_idx==k);
- cluster_id{k}(ismember(tmpdat, find(bin==m))) = m;
- end
- else
- cluster_id{k}(:) = bin(k);
- end
- end
- else
- bin = 1:size(dat,2);
- dat = dat';
- end
- % find the three channels for each head localizer coil
- selnas = match_str(data.label,{'HLC0011';'HLC0012';'HLC0013'});
- sellpa = match_str(data.label,{'HLC0021';'HLC0022';'HLC0023'});
- selrpa = match_str(data.label,{'HLC0031';'HLC0032';'HLC0033'});
- ubin = unique(bin(isfinite(bin)));
- nas = zeros(numel(ubin),3);
- lpa = zeros(numel(ubin),3);
- rpa = zeros(numel(ubin),3);
- numperbin = zeros(numel(ubin),1);
- for k = 1:length(ubin)
- nas(k, :) = dat(k, selnas);
- lpa(k, :) = dat(k, sellpa);
- rpa(k, :) = dat(k, selrpa);
- numperbin(k) = sum(wdat(bin==ubin(k)));
- end
- hc = read_ctf_hc([cfg.datafile(1:end-4),'hc']);
- if istrue(cfg.feedback)
- % plot some stuff
- figure; hold on;
- title(sprintf('%s coordinates (%s)', grad_dewar.coordsys, grad_dewar.unit));
- ft_plot_axes(grad_dewar);
- ft_plot_sens(grad_dewar);
- fiducials = [nas;lpa;rpa];
- plot3(fiducials(:,1), fiducials(:,2), fiducials(:,3), 'b.');
- plot3(hc.dewar.nas(1), hc.dewar.nas(2), hc.dewar.nas(3), 'ro');
- plot3(hc.dewar.lpa(1), hc.dewar.lpa(2), hc.dewar.lpa(3), 'ro');
- plot3(hc.dewar.rpa(1), hc.dewar.rpa(2), hc.dewar.rpa(3), 'ro');
- axis vis3d; axis off
- end
- % compute transformation matrix from dewar to head coordinates
- dewar2head = zeros(4, 4, size(nas,1));
- for k = 1:size(dewar2head, 3)
- dewar2head(:,:,k) = ft_headcoordinates(nas(k,:), lpa(k,:), rpa(k,:), 'ctf');
- end
- if isequal(cfg.method, 'updatesens')
- npos = size(dewar2head, 3);
- ncoils = size(grad.coilpos, 1);
- gradnew = grad;
- gradnew.coilpos = zeros(size(grad.coilpos,1)*npos, size(grad.coilpos,2));
- gradnew.coilori = zeros(size(grad.coilpos,1)*npos, size(grad.coilpos,2));
- gradnew.tra = repmat(grad.tra, [1 npos]);
- for m = 1:npos
- tmptransform = dewar2head(:,:,m);
- gradnew.coilpos((m-1)*ncoils+1:(m*ncoils), :) = ft_warp_apply(tmptransform, grad.coilpos); % back to head coordinates
- tmptransform(1:3, 4) = 0; % keep only the rotation
- gradnew.coilori((m-1)*ncoils+1:(m*ncoils), :) = ft_warp_apply(tmptransform, grad.coilori);
- gradnew.tra(:, (m-1)*ncoils+1:(m*ncoils)) = grad.tra.*(numperbin(m)./sum(numperbin));
- end
- grad = gradnew;
- else
- npos = size(dewar2head, 3);
- for k = 1:npos
- grad(k) = ft_transform_geometry(dewar2head(:,:,k), grad_dewar);
- end
- end
- % prepare the output data
- switch cfg.method
- case 'cluster'
- varargout = cell(1,numel(grad));
- tmpdata = data;
- tmpdata.trial = cluster_id;
- tmpdata.label = {'cluster_id'};
- data = ft_appenddata([],data,tmpdata);
- for k = 1:numel(grad)
- tmpcfg = [];
- tmpcfg.artfctdef.bpfilter = 'no';
- tmpcfg.artfctdef.threshold.channel = {'cluster_id'};
- tmpcfg.artfctdef.threshold.min = 0.9+k-1;
- tmpcfg.artfctdef.threshold.max = 1.1+k-1;
- tmpcfg.artfctdef.threshold.bpfilter = 'no';
- tmpcfg = ft_artifact_threshold(tmpcfg, tmpdata);
- artifacts = tmpcfg.artfctdef.threshold.artifact;
- tmpcfg = [];
- tmpcfg.artfctdef.reject = 'partial';
- tmpcfg.artfctdef.threshold.artifact = artifacts;
- tmpdata_clus = ft_rejectartifact(tmpcfg, data);
- tmpdata_clus.grad = grad(k);
- varargout{k} = tmpdata_clus;
- end
- case {'avgoverrpt' 'updatesens'}
- data.grad = grad;
- varargout{1} = data;
- case 'pertrial'
- ft_error('not yet implemented');
- case 'pertrial_cluster'
- varargout = cell(1,numel(grad));
- tmpdata = data;
- tmpdata.trial = cluster_id;
- tmpdata.label = {'cluster_id'};
- data = ft_appenddata([],data,tmpdata);
- for k = 1:numel(grad)
- tmpcfg = [];
- tmpcfg.trials = find(bin==k);
- tmpdata_clus = ft_selectdata(tmpcfg, data);
- %tmpcfg.previous = tmpdata_clus.cfg;
- %tmpdata_clus.cfg = tmpcfg;
- tmpdata_clus.grad = grad(k);
- varargout{k} = tmpdata_clus;
- end
- end % switch method
- for k = 1:numel(varargout)
- for m = 1:numel(varargout{k}.trial)
- nas = varargout{k}.trial{m}(selnas,:);
- lpa = varargout{k}.trial{m}(sellpa,:);
- rpa = varargout{k}.trial{m}(selrpa,:);
- cc = circumcenter(nas, lpa, rpa);
- varargout{k}.trial{m} = cat(1, varargout{k}.trial{m}, cc);
- end
- varargout{k}.label = cat(1, varargout{k}.label, {'cc_xpos';'cc_ypos';'cc_zpos';'cc_xrot';'cc_yrot';'cc_zrot'});
- end
- % do the general cleanup and bookkeeping at the end of the function
- ft_postamble debug
- ft_postamble provenance
- ft_postamble previous varargout
- ft_postamble history varargout
- ft_postamble savevar varargout
- function [cc] = circumcenter(coil1, coil2, coil3)
- % CIRCUMCENTER determines the position and orientation of the circumcenter
- % of the three fiducial markers (MEG headposition coils).
- %
- % Input: X,y,z-coordinates of the 3 coils [3 X N],[3 X N],[3 X N] where N
- % is timesamples/trials.
- %
- % Output: X,y,z-coordinates of the circumcenter [1-3 X N], and the
- % orientations to the x,y,z-axes [4-6 X N].
- %
- % A. Stolk, 2012
- % number of timesamples/trials
- N = size(coil1,2);
- % x-, y-, and z-coordinates of the circumcenter: use coordinates relative to point 'a' of the triangle
- xba = coil2(1,:) - coil1(1,:);
- yba = coil2(2,:) - coil1(2,:);
- zba = coil2(3,:) - coil1(3,:);
- xca = coil3(1,:) - coil1(1,:);
- yca = coil3(2,:) - coil1(2,:);
- zca = coil3(3,:) - coil1(3,:);
- % squares of lengths of the edges incident to 'a'
- balength = xba .* xba + yba .* yba + zba .* zba;
- calength = xca .* xca + yca .* yca + zca .* zca;
- % cross product of these edges
- xcrossbc = yba .* zca - yca .* zba;
- ycrossbc = zba .* xca - zca .* xba;
- zcrossbc = xba .* yca - xca .* yba;
- % calculate the denominator of the formulae
- denominator = 0.5 ./ (xcrossbc .* xcrossbc + ycrossbc .* ycrossbc + zcrossbc .* zcrossbc);
- % calculate offset (from 'a') of circumcenter
- xcirca = ((balength .* yca - calength .* yba) .* zcrossbc - (balength .* zca - calength .* zba) .* ycrossbc) .* denominator;
- ycirca = ((balength .* zca - calength .* zba) .* xcrossbc - (balength .* xca - calength .* xba) .* zcrossbc) .* denominator;
- zcirca = ((balength .* xca - calength .* xba) .* ycrossbc - (balength .* yca - calength .* yba) .* xcrossbc) .* denominator;
- % add the offset back to get the position of the origin over time.
- cc(1,:) = xcirca + coil1(1,:);
- cc(2,:) = ycirca + coil1(2,:);
- cc(3,:) = zcirca + coil1(3,:);
- % orientation of the circumcenter with respect to the x-, y-, and z-axis coordinates
- v = [cc(1,:)', cc(2,:)', cc(3,:)' ];
- vx = [zeros(1,N)', cc(2,:)', cc(3,:)' ]; % on the x-axis
- vy = [cc(1,:)', zeros(1,N)', cc(3,:)' ]; % on the y-axis
- vz = [cc(1,:)', cc(2,:)', zeros(1,N)']; % on the z-axis
- thetax = zeros(1,N);
- thetay = zeros(1,N);
- thetaz = zeros(1,N);
- for j = 1:N
- % find the angles of two vectors opposing the axes
- thetax(j) = acos(dot(v(j,:),vx(j,:))/(norm(v(j,:))*norm(vx(j,:))));
- thetay(j) = acos(dot(v(j,:),vy(j,:))/(norm(v(j,:))*norm(vy(j,:))));
- thetaz(j) = acos(dot(v(j,:),vz(j,:))/(norm(v(j,:))*norm(vz(j,:))));
- % convert to degrees
- cc(4,j) = (thetax(j) * (180/pi));
- cc(5,j) = (thetay(j) * (180/pi));
- cc(6,j) = (thetaz(j) * (180/pi));
- end
ft_headmovement_wxyz.m at commit 41f58cb, no license · at the source
Overview
- State Key Laboratory of Cognitive Science and Mental Health, Institute of Biophysics, Chinese Academy of Sciences, Beijing, China
- University of Chinese Academy of Sciences, Beijing, China
- State Key Laboratory of Mechanical System and Vibration, School of Mechanical Engineering, Shanghai Jiao Tong University, Shanghai, China
Abstract
The similarity of neural activity in finger movements poses challenges for accurate decoding using many non-invasive imaging techniques. Magnetoencephalography (MEG), with its relatively high spatial resolution, offers the potential to capture the underlying dynamic neural differences. In this study, we recorded MEG signals during single extension movements of the right-hand fingers, examining the time-varying cortical activation patterns across different frequency bands and their contribution to decoding finger movements. Our results demonstrate that signals below 8 Hz not only enable effective movement classification but also reveal millisecond-scale neural activation patterns in the sensorimotor cortex. Furthermore, incorporating the spatiotemporal dynamics of neural activity may enhance decoding performance for fine motor control. These findings highlight the value of integrating temporal, frequency, and spatial dimensions in studying motor neural activity and underscore MEG’s potential for broader applications in movement-related neurophysiology and brain–computer interface research.
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 5 matches between paragraphs and lines of code.
Yzheng9725/MEG-study-fingermovement
41f58cb75aa0e7cb80caee7e305d3c09176392eb, 22 January 2026Availability: 1 check, the latest on 30 September 2026: the link answers
- 30 September 2026: the link answers
50 files
- Analysis Pipeline/
Ana1_1_Preprocessing.m , MATLAB, 143 lines - Analysis Pipeline/
Ana1_2_Prepare_sourcemod , MATLAB, 76 linesel.m - Analysis Pipeline/
Ana2_Sensorlevel_Group.m , MATLAB, 165 lines - Analysis Pipeline/
Ana2_Sensorlevel_Individ , MATLAB, 163 linesual.m - Analysis Pipeline/
Ana3_1_Sourcelevel_Indiv , MATLAB, 200 linesidual.m - Analysis Pipeline/
Ana3_2_Sourcelevel_Indiv , MATLAB, 177 linesidual.m - Analysis Pipeline/
Ana4_1_Classification_Lo , MATLAB, 354 lineswFrequency.m - Analysis Pipeline/
Ana4_2_Classification_Al , MATLAB, 382 linespha_Beta_Gamma.m - Analysis Pipeline/
Ana5_1_ActiveROI_TASKnRE , MATLAB, 337 linesST.m - Analysis Pipeline/
Ana5_2_DigitMap_4TASKS.m , MATLAB, 397 lines - Analysis Pipeline/
Analysis_Update/ , MATLAB, 60 linesClassification_step1_pon it_window_wise.m - Analysis Pipeline/
Analysis_Update/ , MATLAB, 190 linesClassification_step2_usi ng_different_feature.m - Analysis Pipeline/
Analysis_Update/ , MATLAB, 107 linesClassification_step3_usi ng_window_combined.m - Analysis Pipeline/
Analysis_Update/ , MATLAB, 103 linesEMG_classification.m - Analysis Pipeline/
Analysis_Update/ , MATLAB, 124 linesSource_projection_TFR_Ac tivationindex.m - Showresults/
Figure2_EMG_Results.m , MATLAB, 126 lines - Showresults/
Figure3_Apos_Results.m , MATLAB, 359 lines - Showresults/
Figure3_Source_TFR_Resul , MATLAB, 78 linests.m - Showresults/
Figure4_Accuracy_PCA_AI_ , MATLAB, 91 linesResults.m - Showresults/
Figure4_MVPA_TimeCourse_ , MATLAB, 133 lines, 1 matchAmap_Results.m - Showresults/
Figure5_Accuracy_Delta_T , MATLAB, 176 linesheta_results.m - Showresults/
Figure6_Digitmap_Results , MATLAB, 136 lines.m - Showresults/
SFigure1_Source_TFR_Resu , MATLAB, 80 lineslts.m - Showresults/
SFigure2_Apos_Results.m , MATLAB, 311 lines - Showresults/
SFigure3_AImap_Results.m , MATLAB, 156 lines - Showresults/
SFigure4_Accuracy_PCA_AI , MATLAB, 88 lines, 1 match_TFR_Results.m - Showresults/
SFigure5_Visual_Wholebra , MATLAB, 183 linesin_MVPA_Results.m - Showresults/
toolbox/ , MATLAB, 744 linesViolinplot/ Violin.m - Showresults/
toolbox/ , MATLAB, 104 linesViolinplot/ readme_figures.m - Showresults/
toolbox/ , MATLAB, 113 linesViolinplot/ test_cases/ testviolinplot.m - Showresults/
toolbox/ , MATLAB, 216 linesViolinplot/ violinplot.m - Showresults/
toolbox/ , MATLAB, 42 linesboundedline/ Inpaint_nans/ demo/ inpaint_nans_demo_old.m - Showresults/
toolbox/ , MATLAB, 187 linesboundedline/ Inpaint_nans/ doc/ methods_of_inpaint_nans. m - Showresults/
toolbox/ , MATLAB, 1 lineboundedline/ Inpaint_nans/ inpaint_nans.m - Showresults/
toolbox/ , MATLAB, 1 lineboundedline/ Inpaint_nans/ inpaint_nans_bc.m - Showresults/
toolbox/ , MATLAB, 43 linesboundedline/ Inpaint_nans/ inpaint_nans_demo.m - Showresults/
toolbox/ , MATLAB, 178 linesboundedline/ Inpaint_nans/ test/ test_main.m - Showresults/
toolbox/ , MATLAB, 240 linesboundedline/ README.m - Showresults/
toolbox/ , MATLAB, 501 linesboundedline/ boundedline/ boundedline.m - Showresults/
toolbox/ , MATLAB, 47 linesboundedline/ boundedline/ outlinebounds.m - Showresults/
toolbox/ , MATLAB, 57 linesboundedline/ catuneven/ catuneven.m - Showresults/
toolbox/ , MATLAB, 65 linesboundedline/ singlepatch/ singlepatch.m - func_wxyz/
ft_headmovement_wxyz.m , MATLAB, 418 lines, 2 matches - func_wxyz/
wxyz_barplot.m , MATLAB, 112 lines - func_wxyz/
wxyz_colormap.m , MATLAB, 130 lines - func_wxyz/
wxyz_colormap_gradient.m , MATLAB, 130 lines - func_wxyz/
wxyz_decorFigure.m , MATLAB, 95 lines - func_wxyz/
wxyz_emgdetect.m , MATLAB, 93 lines, 1 match - func_wxyz/
wxyz_erdsanalysis.m , MATLAB, 69 lines - README.md, Text, 2 lines
The paper's code and data availability statement is in the Data section.
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;
- 49 scripts, each with its path and the digest of its content;
- 5 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
- figshare:28623506, at figshare; found in “Data and Code Availability”
Data and Code Availability
The group-level data files to generate the figures are available at https://
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, pages, dates, 6 authors, 4 keywords, 4 funders, 70 references.
Cite
This paper
Zheng, Y., Wang, X., Zheng, L., Zhang, H., Wang, F., & Zhuo, Y. (2026). Multidimensional dynamic characterization and decoding of finger movements using magnetoencephalography. Imaging neuroscience (Cambridge, Mass.), 4, IMAG.a.1182. https://
BibTeX
@article{zheng2026multid
author = {Zheng, Yu and Wang, Xu and Zheng, Li and Zhang, Hongtao and Wang, Fan and Zhuo, Yan},
title = {{Multidimensional dynamic characterization and decoding of finger movements using magnetoencephalography}}
journal = {Imaging neuroscience (Cambridge, Mass.)},
year = {2026},
month = mar,
volume = {4},
pages = {IMAG.a.1182},
publisher = {MIT Press},
issn = {2837-6056},
doi = {10.1162/
url = {https://
pmid = {41924028},
pmcid = {PMC13037661}
}
RIS
TY - JOUR
AU - Zheng, Yu
AU - Wang, Xu
AU - Zheng, Li
AU - Zhang, Hongtao
AU - Wang, Fan
AU - Zhuo, Yan
TI - Multidimensional dynamic characterization and decoding of finger movements using magnetoencephalography
T2 - Imaging neuroscience (Cambridge, Mass.)
J2 - Imaging Neurosci (Camb)
PY - 2026
DA - 2026/
VL - 4
SP - IMAG.a.1182
SN - 2837-6056
PB - MIT Press
DO - 10.1162/
UR - https://
LA - en
ER -
CSL-JSON
{
"id": "10.1162/
"type": "article-journal",
"title": "Multidimensional dynamic characterization and decoding of finger movements using magnetoencephalography",
"container-title": "Imaging neuroscience (Cambridge, Mass.)",
"author": [
{
"family": "Zheng",
"given": "Yu"
},
{
"family": "Wang",
"given": "Xu"
},
{
"family": "Zheng",
"given": "Li"
},
{
"family": "Zhang",
"given": "Hongtao"
},
{
"family": "Wang",
"given": "Fan"
},
{
"family": "Zhuo",
"given": "Yan"
}
],
"container-title-short":
"volume": "4",
"page": "IMAG.a.1182",
"DOI": "10.1162/
"PMID": "41924028",
"PMCID": "PMC13037661",
"ISSN": "2837-6056",
"publisher": "MIT Press",
"URL": "https://
"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.7554/elife.94561 [code]
- Tracking the neurodevelopmental trajectory of beta band oscillations with optically pumped magnetometer-based magnetoencephalography.Journal: eLifeIn common: Violinplot-Matlab, GIfTI library for MATLAB, FieldTrip, 2 other tools, MEG, 5 references
- [2] doi:10.3389/fnins.2025.1623380 [code]
- Convolutional neural networks decode finger movements in motor sequence learning from MEG data.Journal: Frontiers in neuroscienceIn common: MEG, 7 references
- [3] doi:10.1038/s41467-025-61064-x [code]
- EEG-based brain-computer interface enables real-time robotic hand control at individual finger level.Journal: Nature communicationsIn common: systems, 7 references
- [4] doi:10.1016/j.nbd.2025.106858 [code]
- Essential tremor disrupts rhythmic brain networks during naturalistic movement.Journal: Neurobiology of diseaseIn common: boundedline, Violinplot-Matlab, FieldTrip, 2 other tools, MEG, systems, 2 references
- [5] doi:10.1038/s41586-025-10059-1 [code]
- Parkinson's disease as a somato-cognitive action network disorder.Journal: NatureIn common: GIfTI library for MATLAB, FieldTrip, Signal Processing Toolbox, 1 other tool, 4 references
- [6] doi:10.1016/j.celrep.2026.117033 [code]
- Human superior colliculus pathways represent the form and motion of looming objects.Journal: Cell reportsIn common: boundedline, Violinplot-Matlab, GIfTI library for MATLAB, 3 other tools, 1 reference
- [7] doi:10.1016/j.nicl.2025.103758 [code]
- White matter microstructural integrity mediates associations between prenatal endocrine-disrupting chemicals exposure and intelligence in adolescents.Journal: NeuroImage. ClinicalIn common: boundedline, Violinplot-Matlab, GIfTI library for MATLAB, 3 other tools, 1 reference
- [8] doi:10.1002/hbm.70577 [code]
- Disgust Propensity, Not Disgust Sensitivity, Shapes the Reactivity of a Subjective Disgust Circuit in Humans.Journal: Human brain mappingIn common: boundedline, Violinplot-Matlab, GIfTI library for MATLAB, 3 other tools, systems
- [9] doi:10.1038/s41467-023-39142-9 [code]
- A dorsomedial prefrontal cortex-based dynamic functional connectivity model of rumination.Journal: Nature communicationsIn common: boundedline, Violinplot-Matlab, GIfTI library for MATLAB, 3 other tools, systems
- [10] doi:10.1038/s41586-023-05964-2 [code]
- A somato-cognitive action network alternates with effector regions in motor cortex.Journal: NatureIn common: FieldTrip, Signal Processing Toolbox, Statistics and Machine Learning Toolbox, systems, 4 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.
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, 49 scripts, and 5 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:db99167efa0dd99d…
Add the badge to the code's README
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 -->
[](https://openscicode.org/badge/doi/10.1162/imag.a.1182)
<!-- oscr-badge:end -->reStructuredText
.. oscr-badge:start
.. image:: https://openscicode.org/badge/doi/10.1162/imag.a.1182.svg
:target: https://openscicode.org/badge/doi/10.1162/imag.a.1182
:alt: OSCR
.. oscr-badge:endHTML
<!-- oscr-badge:start -->
<a href="https://openscicode.org/badge/doi/10.1162/imag.a.1182"><img src="https://openscicode.org/badge/doi/10.1162/imag.a.1182.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.
