Frequency and laminar profile of feature-specific visual activity revealed by interleaved EEG-fMRI.
The 18 matches · 6 of them tie a paragraph to a whole file without given lines: weak matches, whose lines are not tinted
- [1] § Materials and methods › EEG data processing ↔ scriptTemplates/eegSetParameters.m, the whole file · a weak match · score 0.83 · Pre stimulus, pass band, virtual channel, Hanning, DPSS, taper · Report a mismatch
- [2] § Materials and methods › EEG data processing ↔ scriptTemplates/eegProcessData.m, lines 190 to 268 · score 0.80 · EEG electrode positions, FEM model, janus3D, SimBio, FieldTrip, MRI · Report a mismatch
- [3] § Materials and methods › Combined EEG–fMRI analysis ↔ fmriRegAnalysis/a_confound_and_task_regressors.m, lines 7 to 38 · score 0.71 · button presses, task regressors, parametric modulation, alarm, blink, onset · Report a mismatch
- [4] § Materials and methods › Data processing ↔ getToolboxes.sh, lines 59 to 125 · score 0.67 · FreeSurfer, MRICron, FSL, Workbench, SPM12, FieldTrip · Report a mismatch
- [5] § Materials and methods › Combined EEG–fMRI analysis ↔ fmriRegAnalysis/a2_confound_and_hrf_regressors.m, lines 7 to 44 · score 0.61 · button presses, parametric modulation, alarm, blink, onset, regressors · Report a mismatch
- [6] § Materials and methods › fMRI motion correction and co-registration ↔ vol2mask.py, lines 359 to 440 · score 0.60 · Volume Masker, brain mask, TM, affine · Report a mismatch
- [7] § Materials and methods › Data acquisition ↔ scriptTemplates/fmriCorrectFieldDistortion.sh, the whole file · a weak match · score 0.56 · partial brain, consecutive volumes, fMRI, scan, block, EEG · Report a mismatch
- [8] § Results › Behavioural and intermediate results ↔ fmriRegAnalysis/final_plots.m, lines 831 to 904 · score 0.55 · 0.1–0.8 s, 50–70 Hz, 8–14 Hz, stimulus onset, hemisphere, 0.2 s · Report a mismatch
- [9] § Materials and methods › Combined EEG–fMRI analysis ↔ scriptTemplates/eegVirtualChannelOptSpacePower.m, lines 117 to 261 · score 0.53 · sliding window, virtual channel, TF, transformed, power, EEG · Report a mismatch
- [10] § Materials and methods › Experimental procedure ↔ fmriRegAnalysis/a2_confound_and_hrf_regressors.m, lines 7 to 44 · score 0.53 · button press, stimulus onset, hit, alarm, fixation, blinking · Report a mismatch
- [11] § Materials and methods › Experimental procedure ↔ fmriRegAnalysis/a_confound_and_task_regressors.m, lines 7 to 38 · score 0.53 · button press, stimulus onset, hit, alarm, fixation, blinking · Report a mismatch
- [12] § Materials and methods › Data acquisition ↔ scriptTemplates/fmriCoregistration.m, the whole file · a weak match · score 0.53 · recursive boundary, inverted, displacement, frame, mapping, volumes · Report a mismatch
- [13] § Results › Combined EEG–fMRI analyses ↔ scriptTemplates/eegFmriRegression_old.m, lines 51 to 110 · score 0.52 · fMRI regressors, SPM, 0.8 s, CSF, deep, superficial · Report a mismatch
- [14] § Materials and methods › Data acquisition ↔ scriptTemplates/fmriCorrectFieldDistortion.sh, the whole file · a weak match · score 0.52 · consecutive blocks, inverted, distortion, fMRI, field, pause · Report a mismatch
- [15] § Materials and methods › pRF mapping ↔ scriptTemplates/eegPrepareFreesurferOutput.sh, lines 41 to 79 · score 0.52 · pial surface, volumetric, inflated, FreeSurfer, anatomical · Report a mismatch
- [16] § Materials and methods › pRF mapping ↔ scriptTemplates/fmriRetGUI2ROIs.sh, the whole file · a weak match · score 0.51 · FreeSurfer, Freeview, inflated, atlas, mapping, V2 · Report a mismatch
- [17] § Materials and methods › fMRI motion correction and co-registration ↔ python_scripts/fmriMotionCorrection.py, the whole file · a weak match · score 0.51 · ANTs, motion, rigid, transformation, mask, laminar · Report a mismatch
- [18] § Materials and methods › Combined EEG–fMRI analysis ↔ scriptTemplates/paper_figures_compute.m, lines 374 to 481 · score 0.50 · 50–70 Hz, 8–14 Hz, tailed, aros, FOI, bins · 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 · 276 lines · 11 KB · MIT · 2 matches
- function R_all_blocks = a_confound_and_task_regressors(parameters, delete_files)
- %% R_out = a_confound_and_task_regressors(mainpath, subject, delete_files)
- % mainpath = '/project/3018037.01/Experiment3.2_ERC/AnalysisFolder/scripts/scriptTemplates/..';
- tc_struct2ws('caller', parameters.main);
- %% setup parameters
- tc_struct2ws('caller', parameters.paths);
- tc_struct2ws('caller', parameters.experiment);
- tc_struct2ws('caller', parameters.convolution);
- fmri_high_pass_freq = 0.006;
- % regressors (name | selected trials | onset time rel to stim | duration | modulation | is parameter modulation)
- config_nuis_and_task_regs_fieldnames = {'name', 'trial_sel', 'onset', 'duration', 'modulation', 'isparmod'};
- config_nuis_and_task_regs = {...
- {'left'}, {'left', 'no_odd_balls', 'no_artifacts', 'no_false_alarm', 'no_blinks'}, {0}, {stim_duration}, {1}, {false}; ... % task regressor left
- {'right'}, {'right', 'no_odd_balls', 'no_artifacts', 'no_false_alarm', 'no_blinks'}, {0}, {stim_duration}, {1}, {false}; ... % task regressor right
- {'fix_dim'}, {}, {time_fix_change}, {-time_fix_change}, {1}, {false}; ... % fixation change before stimulus onset
- {'correct_target_L'}, {'left', 'hit', 'no_blinks', 'no_artifacts'}, {0}, {stim_duration}, {1}, {false}; ... % correct odd ball
- {'correct_target_R'}, {'right', 'hit', 'no_blinks', 'no_artifacts'}, {0}, {stim_duration}, {1}, {false}; ... % correct odd ball
- {'incorrect_standard_L'}, {'left', 'false_alarm', 'no_blinks', 'no_artifacts'}, {0}, {stim_duration}, {1}, {false}; ... % false alarm
- {'incorrect_standard_R'}, {'right', 'false_alarm', 'no_blinks', 'no_artifacts'}, {0}, {stim_duration}, {1}, {false}; ... % false alarm
- {'incorrect_target_L'}, {'left', 'miss', 'no_blinks', 'no_artifacts'}, {0}, {stim_duration}, {1}, {false}; ... % missed odd ball
- {'incorrect_target_R'}, {'right', 'miss', 'no_blinks', 'no_artifacts'}, {0}, {stim_duration}, {1}, {false}; ... % missed odd ball
- {'blink_L'}, {'left', 'blinks', 'no_artifacts'}, {0}, {stim_duration}, {1}, {false}; ... % blink trial
- {'blink_R'}, {'right', 'blinks', 'no_artifacts'}, {0}, {stim_duration}, {1}, {false}; ... % blink trial
- {'art_L'}, {'left', 'artifacts', 'no_blinks'}, {0}, {stim_duration}, {1}, {false}; ... % artifact trial
- {'art_R'}, {'right', 'artifacts', 'no_blinks'}, {0}, {stim_duration}, {1}, {false}; ... % artifact trial
- {'button_press'}, {'response'}, {'rt'}, {0}, {1}, {false}; ... % response button press
- {'rt_pmod_L'}, {'left', 'response'}, {'rt'}, {'mean_rt'}, {'rt'}, {true}; ... % response time
- {'rt_pmod_R'}, {'right', 'response'}, {'rt'}, {'mean_rt'}, {'rt'}, {true}}; % response time
- % convert to struct
- config_nuis_and_task_regs = cell2struct(config_nuis_and_task_regs', config_nuis_and_task_regs_fieldnames)';
- % convolution parameters for regressors
- config_conv = parameters.convolution;
- %% delete files if indicated
- if delete_files
- for block = 1:num_blocks
- delete(sprintf(design_matrix_file, block))
- end
- end
- %% get preprocessed data
- load(MRI_data_file, 'data');
- avg_white_matter = squeeze(mean(data.data(logical(data.maskwhite),:,:), 1));
- avg_not_gray_not_white_matter = squeeze(mean(data.data(logical(data.masknotgrayorwhite),:,:), 1));
- realign_params = squeeze(data.transvecs);
- %% make data noise regressors
- % model average white matter data
- avg_signal_over_blocks = mean(avg_white_matter,2); % avg over blocks
- avg_signal_over_blocks = reshape(avg_signal_over_blocks, num_volumes_per_trial, []); % reshape to consecutive volume per row
- avg_signal_over_blocks = mean(avg_signal_over_blocks, 2)'; % avg over columns
- T1_avg_white_drop_off = repmat(avg_signal_over_blocks, 1, num_scans_per_block / num_volumes_per_trial); % repmat to extend to number of volumes
- % normalize signal drop off between 0 and 1
- T1_avg_white_drop_off = double(T1_avg_white_drop_off);
- T1_avg_white_drop_off = T1_avg_white_drop_off - min(T1_avg_white_drop_off);
- T1_avg_white_drop_off = T1_avg_white_drop_off ./ max(T1_avg_white_drop_off);
- % model residuals for white matter drop off
- betas = [T1_avg_white_drop_off' * ones(1, num_blocks) ones(num_scans_per_block,1)] \ avg_white_matter;
- white_matter_signal_res = avg_white_matter -...
- [T1_avg_white_drop_off' * ones(1, num_blocks) ones(num_scans_per_block,1)] * betas;
- not_gray_not_white_matter_signal_res = avg_not_gray_not_white_matter -...
- [T1_avg_white_drop_off' * ones(1, num_blocks) ones(num_scans_per_block,1)] * betas;
- % normalize between 0 and 1
- white_matter_signal_res = white_matter_signal_res - ...
- ones(num_scans_per_block, 1) * min(white_matter_signal_res, [], 1);
- white_matter_signal_res = white_matter_signal_res ./ ...
- (ones(num_scans_per_block, 1) * max(white_matter_signal_res, [], 1));
- not_gray_not_white_matter_signal_res = not_gray_not_white_matter_signal_res - ...
- ones(num_scans_per_block, 1) * min(not_gray_not_white_matter_signal_res, [], 1);
- not_gray_not_white_matter_signal_res = not_gray_not_white_matter_signal_res ./ ...
- (ones(num_scans_per_block, 1) * max(not_gray_not_white_matter_signal_res, [], 1));
- % model realignment parameters
- decomposed_params = zeros(size(realign_params));
- for parameter = 1: size(realign_params, 1)
- for block = 1:num_blocks
- stats_rp = regstats(realign_params(parameter, :, block), T1_avg_white_drop_off, 'linear', {'beta', 'r'});
- decomposed_params(parameter, :, block) = stats_rp.r + stats_rp.beta(1);
- end
- end
- % compute first derivative
- decomposed_params = permute(decomposed_params, [2, 1, 3]);
- derivative_params = cat(1, zeros(1, size(decomposed_params, 2), num_blocks), diff(decomposed_params, [], 1));
- % model first volume separately from others due to scanner pause within
- % trial
- ders1 = zeros(size(derivative_params));
- ders23 = ders1;
- ders1(1:3:end, :, :) = derivative_params(1:3:end, :, :);
- sel = setdiff(1:num_scans_per_block,1:3:num_scans_per_block);
- ders23(sel, :, :) = derivative_params(sel, :, :);
- all_realignment_parameters = cat(2, ...
- decomposed_params,...
- decomposed_params .^ 2,...
- ders1,...
- ders23);
- %% make filter regs
- % initiate time vector
- time_vec = pseudo_TR:pseudo_TR:pseudo_TR * num_pseudo_volumes;
- time_end_2pi = time_vec(end) ./ 2 ./ pi;
- % find number of regressors
- num_regressors = 1:ceil(fmri_high_pass_freq / (1 / time_vec(end)));
- % construct sines and cosines
- cosines = cos(num_regressors' * (time_vec / time_end_2pi))';
- sines = sin(num_regressors' * (time_vec / time_end_2pi))';
- % make filter struct
- filt.regs=[cosines(mid_volume_indices,:) sines(mid_volume_indices,:)];
- filt.requested_freq=fmri_high_pass_freq;
- filt.real_freq=num_regressors(end) / time_vec(end);
- %% nuisance regressors
- nuis_names = vertcat(config_nuis_and_task_regs.name);
- % extract from EEG data: stim onset relative to scanner trigger before
- % stimulus, values of received triggers, reaction time values relative to
- % stimulus onset and sampling rate
- [...
- all_stim_onset_rel_to_A1, ...
- all_trigger_values_vec, ...
- all_reaction_times,...
- sampling_rate] = tc_get_event_times_from_eeg(EEG_parameters, scanner_trigger, skip_first_N_scanner_triggers_eeg, response_trigger);
- % apply slice time correction to regressors
- all_stim_onset_rel_to_A1 = all_stim_onset_rel_to_A1 + mark_offset + slicetime_offset;
- % extract trial type (e.g. odd ball or left or response, etc) and indices
- % of responses themselves
- trial_types = tc_get_events_from_trigger_values(...
- all_trigger_values_vec, ... % from above
- left_triggers,... % triggers for left stimuli
- right_triggers, ... % triggers for right stimuli
- [left_triggers(1), right_triggers(1)], ... % non odd balls
- 99, ... % code for response trigger value
- all_reaction_times, ... % reaction times for invalid eresponse detection
- sampling_rate, ... % sampling rate to convert reaction time
- stim_duration); % stimulus duration to exclude responses that were hereafter
- % only select valid reaction times
- all_valid_reaction_times = tc_get_reaction_times(parameters);
- % attach blink trial data
- load(blinks_file, 'no_blinks')
- trial_types.blinks = ~no_blinks;
- trial_types.no_blinks = no_blinks;
- % attach artifact trial data
- load(art_file, 'sel_trls')
- no_artifacts = sel_trls;
- trial_types.artifacts = ~no_artifacts;
- trial_types.no_artifacts = no_artifacts;
- % make reaction time a vector of length trial number
- reaction_time_vec = zeros(size(trial_types.hit));
- reaction_time_vec(trial_types.response) = all_valid_reaction_times;
- % construct regressors
- nuis_regs = {};
- % loop over regressor configuration
- for conf_reg = config_nuis_and_task_regs
- % concat logical statements to select trials
- % multiple selection criteria
- if length(conf_reg.trial_sel) > 1
- trial_sel = trial_types.(conf_reg.trial_sel{1});
- for trial_type = conf_reg.trial_sel(2:end)
- trial_sel = trial_sel & trial_types.(trial_type{1});
- end
- % single selection criteria
- elseif length(conf_reg.trial_sel) == 1
- trial_sel = trial_types.(conf_reg.trial_sel{1});
- % all trials
- else
- trial_sel = ones(size(trial_types.left));
- end
- % extract stimulus onsets
- rel_to_A1 = all_stim_onset_rel_to_A1(trial_sel);
- % determine stimulus onset offset (e.g. for change in fixation)
- onset_setoff = conf_reg.onset;
- % determine whether single or multiple parameter setup. In the later
- % case it has to be determined according to specifications
- if ischar(onset_setoff{1})
- switch onset_setoff{1}
- case 'rt'
- onset_setoff = reaction_time_vec(trial_sel);
- end
- else
- onset_setoff = onset_setoff{1};
- end
- % see above
- duration = conf_reg.duration;
- if ischar(duration{1})
- switch duration{1}
- case 'mean_rt'
- duration = mean(reaction_time_vec(trial_sel));
- end
- else
- duration = duration{1};
- end
- % see above
- pmod = conf_reg.modulation;
- if ischar(pmod{1})
- switch pmod{1}
- case 'rt'
- pmod = reaction_time_vec(trial_sel);
- end
- else
- pmod = pmod{1};
- end
- % append regressor
- nuis_regs = cat(1, nuis_regs, {[...
- rel_to_A1 + onset_setoff, ...
- ones(size(rel_to_A1)) .* duration,...
- ones(size(rel_to_A1)) .* pmod,...
- block_vec(trial_sel)]});
- end
- %% convolve regressors
- nuis_regs_conv = tc_conv_regs(nuis_regs, nuis_names, config_conv, mid_volume_indices);
- %% make design matrix
- is_parmod_vec = cell2mat([config_nuis_and_task_regs.isparmod])';
- R_all_blocks = [];
- for block = 1: num_blocks
- is_not_parmod = ~is_parmod_vec(cellfun(@(x) logical(sum(strcmpi(x, [nuis_regs_conv.(['b' num2str(block)]).names]))), nuis_names));
- R = double([...
- nuis_regs_conv.(['b' num2str(block)]).task(:, is_not_parmod),...
- nuis_regs_conv.(['b' num2str(block)]).par,...
- white_matter_signal_res(:, block),...
- not_gray_not_white_matter_signal_res(:, block),...
- all_realignment_parameters(:, :, block),...
- T1_avg_white_drop_off',...
- filt.regs...
- ]);
- R_all_blocks.(['b' num2str(block)]) = R;
- save(sprintf(design_matrix_file, block), 'R')
- end
- R_all_blocks.config_nuis_and_task_regs = config_nuis_and_task_regs;
- R_all_blocks.config_conv = config_conv;
- save(strrep(design_matrix_file, 'B%d', 'fmri'), 'R_all_blocks')
a_confound_and_task_regressors.m at commit f076311, under MIT · at the source
Overview
- Lyon Neuroscience Research Center, Computation, Cognition and Neurophysiology COPHY, INSERM UMRS 1028, CNRS UMR 5292, Université Claude Bernard Lyon 1 Lyon France
- Donders Institute for Brain Cognition and Behaviour, Radboud University Nijmegen Netherlands
- INRIA, Computation, Cognition and Neurophysiology COPHY Bron France
Abstract
The role of cortical oscillations in brain function has been extensively debated, resulting in a variety of theoretical frameworks. Using interleaved simultaneous electroencephalography–f
Reproduced under the paper's license (CC BY), from the paper cited above.
Repositories
Its files are read in the Code ↔ Paper reader above, with 18 matches between paragraphs and lines of code.
TommyClausner/laminarfMRIv2
f076311ff3dd4fa924067657247603e111f615fe, 10 August 2026Availability: 1 check, the latest on 26 September 2026: the link answers
- 26 September 2026: the link answers
203 files
- .cleanScriptsFolder.sh, Shell, 7 lines
- .collectModelData.sh, Shell, 25 lines
- .distributeElectrodesDat
a.sh , Shell, 18 lines - .transferOldStructure.sh
, Shell, 31 lines - constructScript.sh, Shell, 119 lines
- external/
artRej.m , MATLAB, 35 lines - external/
blinks_combined.m , MATLAB, 62 lines - external/
detect_blinks_ICA.m , MATLAB, 99 lines - external/
do_art_chnl_rej.m , MATLAB, 27 lines - external/
extract_eye_trials.m , MATLAB, 112 lines - external/
selected_eeg_blinks_dete , MATLAB, 62 linesction.m - fmriRegAnalysis/
A_control_posT_Aspec.m , MATLAB, 531 lines - fmriRegAnalysis/
a2_confound_and_hrf_regr , MATLAB, 296 lines, 2 matchesessors.m - fmriRegAnalysis/
a_confound_and_task_regr , MATLAB, 276 lines, 2 matchesessors.m - fmriRegAnalysis/
b_first_level_contrasts. , MATLAB, 116 linesm - fmriRegAnalysis/
c_eeg_plot_power.m , MATLAB, 145 lines - fmriRegAnalysis/
c_eeg_power_regressors.m , MATLAB, 397 lines - fmriRegAnalysis/
d2_separate_analysis.m , MATLAB, 501 lines - fmriRegAnalysis/
dAllSubjectData.m , MATLAB, 151 lines - fmriRegAnalysis/
dClusterStats.m , MATLAB, 365 lines - fmriRegAnalysis/
dSeparateAnalysis.m , MATLAB, 125 lines - fmriRegAnalysis/
dSeparateAnalysisAct.m , MATLAB, 109 lines - fmriRegAnalysis/
d_fmri_feature_signals_p , MATLAB, 123 lineser_layer.m - fmriRegAnalysis/
eHRFbetas.m , MATLAB, 165 lines - fmriRegAnalysis/
e_fmri_betas_feature_sig , MATLAB, 47 linesnal.m - fmriRegAnalysis/
f_eeg_betas_feature_sign , MATLAB, 101 linesal.m - fmriRegAnalysis/
final_plots.m , MATLAB, 1,234 lines, 1 match - fmriRegAnalysis/
fmri_correlations.m , MATLAB, 171 lines - fmriRegAnalysis/
fmri_estimate_hrf.m , MATLAB, 173 lines - fmriRegAnalysis/
g_average_betas.m , MATLAB, 111 lines - fmriRegAnalysis/
get_eegfmri_all_subject_ , MATLAB, 23 linesdata.m - fmriRegAnalysis/
h_make_t_stat_eeg_over_s , MATLAB, 287 linesubjects.m - fmriRegAnalysis/
i_make_t_stat_fmri_over_ , MATLAB, 102 linessubjects.m - fmriRegAnalysis/
j_check_voxel_neighborho , MATLAB, 75 linesod.m - fmriRegAnalysis/
makeBOLDresults4surf.m , MATLAB, 173 lines - fmriRegAnalysis/
overview_signal_fmri.m , MATLAB, 60 lines - fmriRegAnalysis/
plot_surfaces.sh , Shell, 44 lines - fmriRegAnalysis/
scatterbar3.m , MATLAB, 86 lines - fmriRegAnalysis/
sim_procedure.m , MATLAB, 54 lines - fmriRegAnalysis/
tc_check_voxel_neighborh , MATLAB, 32 linesood.m - fmriRegAnalysis/
tc_compress_files.m , MATLAB, 30 lines - fmriRegAnalysis/
tc_conv_parmod_hrf.m , MATLAB, 88 lines - fmriRegAnalysis/
tc_conv_regs.m , MATLAB, 45 lines - fmriRegAnalysis/
tc_data2nii.m , MATLAB, 18 lines - fmriRegAnalysis/
tc_decomposeMatrix.m , MATLAB, 23 lines - fmriRegAnalysis/
tc_ez_diffusion.m , MATLAB, 70 lines - fmriRegAnalysis/
tc_fit_feature_template. , MATLAB, 3 linesm - fmriRegAnalysis/
tc_get_event_times_from_ , MATLAB, 75 lineseeg.m - fmriRegAnalysis/
tc_get_events_from_trigg , MATLAB, 77 lineser_values.m - fmriRegAnalysis/
tc_get_layer_signal.m , MATLAB, 186 lines - fmriRegAnalysis/
tc_get_reaction_times.m , MATLAB, 27 lines - fmriRegAnalysis/
tc_get_res_inds.m , MATLAB, 287 lines - fmriRegAnalysis/
tc_interpolate_compartme , MATLAB, 19 linesnts.m - fmriRegAnalysis/
tc_make_contrast_mask.m , MATLAB, 45 lines - fmriRegAnalysis/
tc_make_feature_template , MATLAB, 7 lines.m - fmriRegAnalysis/
tc_make_reg_analysis_def , MATLAB, 255 linesaults.m - fmriRegAnalysis/
tc_make_reg_setups.m , MATLAB, 29 lines - fmriRegAnalysis/
tc_make_sliding_windows. , MATLAB, 32 linesm - fmriRegAnalysis/
tc_make_spm_contrast_bat , MATLAB, 14 linesch.m - fmriRegAnalysis/
tc_make_spm_fmri_batch.m , MATLAB, 40 lines - fmriRegAnalysis/
tc_move_spm_results.m , MATLAB, 12 lines - fmriRegAnalysis/
tc_num_volumes.m , MATLAB, 13 lines - fmriRegAnalysis/
tc_perform_eegfmri_regre , MATLAB, 134 linesssion.m - fmriRegAnalysis/
tc_reg_middle_volume_ind , MATLAB, 24 linesex.m - fmriRegAnalysis/
tc_regress_out_confounds , MATLAB, 11 lines.m - fmriRegAnalysis/
tc_show_contour_on_slice , MATLAB, 135 lines.m - fmriRegAnalysis/
tc_show_single_boundary_ , MATLAB, 130 linesframe.m - fmriRegAnalysis/
tc_source_cluster_fieldt , MATLAB, 243 linesrip.m - fmriRegAnalysis/
tc_tkr2scanner.m , MATLAB, 15 lines - fmriRegAnalysis/
tc_turbo_map.m , MATLAB, 261 lines - fmriRegAnalysis/
tc_wrapper_fssurf2fsnift , MATLAB, 9 linesi.m - fmriRegAnalysis/
tc_wrapper_nifti2surf.m , MATLAB, 27 lines - fmriRegAnalysis/
tc_zscore.m , MATLAB, 6 lines - getToolboxes.sh, Shell, 125 lines, 1 match
- laminarEEGfMRI.sh, Shell, 38 lines
- legacy/
thesis_figures.m , MATLAB, 267 lines - legacy/
thesis_figures_compute.s , Shell, 13 linesh - makeNewSubject.sh, Shell, 71 lines
- python/
EEG-fMRI_alternative_fig , Python, 740 linesures.py - python/
alpha_analysis.py , Python, 248 lines - python/
alpha_beh_analysis.py , Python, 70 lines - python/
motion.py , Python, 93 lines - python/
tsnr.py , Python, 42 lines - python_scripts/
fmriMotionCorrection.py , Python, 15 lines, 1 match - python_scripts/
laminarfMRI.py , Python, 193 lines - python_scripts/
optimize_masks.py , Python, 73 lines - python_scripts/
plot_eeg_power.py , Python, 43 lines - python_scripts/
plot_from_mat.py , Python, 116 lines - qsub2slurm.sh, Shell, 75 lines
- scriptTemplates/
.addLogEntry.sh , Shell, 13 lines - scriptTemplates/
.checkAndCleanData.sh , Shell, 12 lines - scriptTemplates/
.collectBeamformerFigure , Shell, 63 liness.sh - scriptTemplates/
.collectBeamformerFigure , Shell, 63 linessOpt.sh - scriptTemplates/
.collectConnectivityFigu , Shell, 62 linesres.sh - scriptTemplates/
.collectEyeTrackingFigur , Shell, 53 lineses.sh - scriptTemplates/
.collectRetModelFit.sh , Shell, 42 lines - scriptTemplates/
.liveUpdateQsub.sh , Shell, 22 lines - scriptTemplates/
.makeMatlabJob.sh , Shell, 178 lines - scriptTemplates/
.makeTrialSet.sh , Shell, 40 lines - scriptTemplates/
.matrixMultiply.sh , Shell, 15 lines - scriptTemplates/
.moveDataToSubfolder.sh , Shell, 37 lines - scriptTemplates/
.movesinglevolume.sh , Shell, 3 lines - scriptTemplates/
.removeLogEntry.sh , Shell, 21 lines - scriptTemplates/
.runMatlabJob.sh , Shell, 6 lines - scriptTemplates/
.take_analysis_note.sh , Shell, 6 lines - scriptTemplates/
.waitForLogEntry.sh , Shell, 16 lines - scriptTemplates/
.waitForQsubPID.sh , Shell, 11 lines - scriptTemplates/
cluster_perm_fieldtrip.m , MATLAB, 78 lines - scriptTemplates/
eegAlphaGrandAvg.m , MATLAB, 200 lines - scriptTemplates/
eegAnalysis.m , MATLAB, 107 lines - scriptTemplates/
eegConnectivityAnalysis. , MATLAB, 114 linesm - scriptTemplates/
eegCrossFrequencyAnalysi , MATLAB, 75 liness.m - scriptTemplates/
eegDICSfullbrain.m , MATLAB, 184 lines - scriptTemplates/
eegDemonstrateGammaBandS , MATLAB, 53 lineselectionByPeaks.m - scriptTemplates/
eegERPGrandAvg.m , MATLAB, 199 lines - scriptTemplates/
eegFmriCombineRegression , MATLAB, 379 linesResults.m - scriptTemplates/
eegFmriMakeClusterStats. , MATLAB, 252 linesm - scriptTemplates/
eegFmriPrepareRegression , MATLAB, 115 lines.m - scriptTemplates/
eegFmriRegression.m , MATLAB, 49 lines - scriptTemplates/
eegFmriRegression2.m , MATLAB, 88 lines - scriptTemplates/
eegFmriRegressionResults , MATLAB, 396 lines.m - scriptTemplates/
eegFmriRegressionResults , MATLAB, 1,208 lines4Paper.m - scriptTemplates/
eegFmriRegression_old.m , MATLAB, 186 lines, 1 match - scriptTemplates/
eegFmriRegression_old2.m , MATLAB, 279 lines - scriptTemplates/
eegFmriSplitAllSubjectDa , Shell, 31 linesta.sh - scriptTemplates/
eegFmriSplitReg.sh , Shell, 31 lines - scriptTemplates/
eegFmriSplitRegAct.sh , Shell, 31 lines - scriptTemplates/
eegFmriSupplementaryAnal , MATLAB, 436 linesyses.m - scriptTemplates/
eegFmri_deactivation_cor , MATLAB, 637 linesrelation.m - scriptTemplates/
eegFreqAnalysis.m , MATLAB, 36 lines - scriptTemplates/
eegLightWeightAnalysis.m , MATLAB, 297 lines - scriptTemplates/
eegMakeMultiResultsPlots , MATLAB, 653 lines.m - scriptTemplates/
eegMakeResultsFiles.m , MATLAB, 42 lines - scriptTemplates/
eegPrepareFreesurferOutp , Shell, 276 lines, 1 matchut.sh - scriptTemplates/
eegPreprocessing.m , MATLAB, 175 lines - scriptTemplates/
eegProcessData.m , MATLAB, 672 lines, 1 match - scriptTemplates/
eegSelectVC.m , MATLAB, 70 lines - scriptTemplates/
eegSetParameters.m , MATLAB, 123 lines, 1 match - scriptTemplates/
eegSimulationOptimizeV12 , MATLAB, 51 lines3DistanceAndPower.m - scriptTemplates/
eegTimelockOnVC.m , MATLAB, 25 lines - scriptTemplates/
eegVirtualChannelOptSpac , MATLAB, 261 lines, 1 matchePower.m - scriptTemplates/
eegVirtualChannels.m , MATLAB, 59 lines - scriptTemplates/
eyeProcessData.m , MATLAB, 466 lines - scriptTemplates/
eyeProcessEyeLinkData.sh , Shell, 15 lines - scriptTemplates/
fmriCombineMovePar.sh , Shell, 44 lines - scriptTemplates/
fmriConcatANTsTransforms , Shell, 24 lines.sh - scriptTemplates/
fmriCoregistration.m , MATLAB, 83 lines, 1 match - scriptTemplates/
fmriCoregistrationANTs.s , Shell, 110 linesh - scriptTemplates/
fmriCorrectFieldDistorti , Shell, 34 lines, 2 matcheson.sh - scriptTemplates/
fmriDefaceT1s.sh , Shell, 28 lines - scriptTemplates/
fmriDicoms2niftis.sh , Shell, 35 lines - scriptTemplates/
fmriFctMask2FSbrainmask. , Shell, 72 linessh - scriptTemplates/
fmriFreesurferReconAll.s , Shell, 16 linesh - scriptTemplates/
fmriLayerMakeMovie.m , MATLAB, 39 lines - scriptTemplates/
fmriLayerSegmentation.m , MATLAB, 101 lines - scriptTemplates/
fmriLayniiSegmentation.s , Shell, 36 linesh - scriptTemplates/
fmriMake3Minus1Contrast. , Shell, 22 linessh - scriptTemplates/
fmriMakeAnatomicalMasks. , Shell, 44 linessh - scriptTemplates/
fmriMakeCSFmask.sh , Shell, 9 lines - scriptTemplates/
fmriMakeContrastAndRoiMa , Shell, 24 linessk.sh - scriptTemplates/
fmriMakeResults.m , MATLAB, 111 lines - scriptTemplates/
fmriMoveBoundariesANTs.m , MATLAB, 109 lines - scriptTemplates/
fmriPrepareFunctionals.s , Shell, 30 linesh - scriptTemplates/
fmriRealign.m , MATLAB, 41 lines - scriptTemplates/
fmriRealign.sh , Shell, 214 lines - scriptTemplates/
fmriRealign2.sh , Shell, 102 lines - scriptTemplates/
fmriRealign3.sh , Shell, 185 lines - scriptTemplates/
fmriRealign4.sh , Shell, 179 lines - scriptTemplates/
fmriRealignANTs.sh , Shell, 104 lines - scriptTemplates/
fmriRealignANTs2-single. , Shell, 165 linessh - scriptTemplates/
fmriRealignANTs2.sh , Shell, 59 lines - scriptTemplates/
fmriRealignANTsFSL-singl , Shell, 128 linese.sh - scriptTemplates/
fmriRealignANTsFSL.sh , Shell, 45 lines - scriptTemplates/
fmriRealignInterTask.sh , Shell, 23 lines - scriptTemplates/
fmriRealignIntraBlock.sh , Shell, 25 lines - scriptTemplates/
fmriRealignIntraTask.sh , Shell, 26 lines - scriptTemplates/
fmriRealignTest.sh , Shell, 22 lines - scriptTemplates/
fmriRegAnalysis.m , MATLAB, 57 lines - scriptTemplates/
fmriRegAnalysisStats.m , MATLAB, 193 lines - scriptTemplates/
fmriRetAnalyzePRF.m , MATLAB, 35 lines - scriptTemplates/
fmriRetAtlasFit.sh , Shell, 35 lines - scriptTemplates/
fmriRetCombinePRFresults , MATLAB, 106 lines.m - scriptTemplates/
fmriRetGUI2Patch.sh , Shell, 15 lines - scriptTemplates/
fmriRetGUI2ROIs.sh , Shell, 54 lines, 1 match - scriptTemplates/
fmriRetLabels2Masks.sh , Shell, 36 lines - scriptTemplates/
fmriRetMakeModelFitPlot. , MATLAB, 80 linesm - scriptTemplates/
fmriRetMakeOverlays.sh , Shell, 31 lines - scriptTemplates/
fmriRetMorphResultMaps.s , Shell, 14 linesh - scriptTemplates/
fmriRetPatch2Flat.sh , Shell, 13 lines - scriptTemplates/
fmriRetSmoothData.sh , Shell, 5 lines - scriptTemplates/
fmriRetSplitAnalyzePRF.s , Shell, 50 linesh - scriptTemplates/
fmriRetTseriesInterpolat , MATLAB, 67 linesion.m - scriptTemplates/
fmriSpmTmap2Overlay.sh , Shell, 56 lines - scriptTemplates/
fmriTestRealignment.sh , Shell, 103 lines - scriptTemplates/
optimizePowerAndSpace.m , MATLAB, 101 lines - scriptTemplates/
paper_figures_compute.m , MATLAB, 3,569 lines, 1 match - scriptTemplates/
plotVirtualChannel.m , MATLAB, 26 lines - scriptTemplates/
selectVirtChannels.m , MATLAB, 5 lines - scriptTemplates/
sortVirtualChannel.m , MATLAB, 139 lines - scriptTemplates/
thesis_figures_compute.m , MATLAB, 1,845 lines - scriptTemplates/
timelock2virtualChannels , MATLAB, 70 lines.m - LICENSE, License, 21 lines
- README.md, Text, 36 lines
Zenodo 7211757
Availability: 1 check, the latest on 26 September 2026: the link answers (HTTP 200)
- 26 September 2026: the link answers (HTTP 200)
3 files
- vol2mask.py, Python, 751 lines
- LICENSE, License, 674 lines
- README.md, Text, 72 lines
tommyclausner/mri-volume-masker-3000-tm
28edfc8cef53197f6725c285bf914b13ddcd0305, 16 October 2022Availability: 1 check, the latest on 26 September 2026: the link answers
- 26 September 2026: the link answers
3 files
- vol2mask.py, Python, 751 lines, 1 match
- LICENSE, License, 674 lines
- README.md, Text, 74 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:
- 3 repositories of the authors' code, each at its verified commit, with its license and how the link was found in the paper;
- 203 scripts, each with its path and the digest of its content;
- 18 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
No dataset and no data link were found in the paper.
Data availability
All raw eye tracking, EEG and fMRI data, as well as all derivatives have been deposited at https://
The following dataset was generated:
ClausnerT MarquesJ ScheeringaR BonnefondM 2026Frequency and Laminar Profile of Feature Specific and nonspecific Neural Activity in Human Visual Cortex Revealed by Interleaved EEG-fMRIRadboud Data Repository10.34973/
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, 27 September 2026: the first record
Recorded: type, language, journal, volume, pages, dates, 4 authors, 7 keywords, 8 MeSH terms, 3 funders, 109 references.
Cite
This paper
Clausner, T., Marques, J. P., Scheeringa, R., & Bonnefond, M. (2026). Frequency and laminar profile of feature-specific visual activity revealed by interleaved EEG-fMRI. eLife, 14, RP108408. https://
BibTeX
@article{clausner2026fre
author = {Clausner, Tommy and Marques, José P and Scheeringa, René and Bonnefond, Mathilde},
title = {{Frequency and laminar profile of feature-specific visual activity revealed by interleaved EEG-fMRI}},
journal = {eLife},
year = {2026},
month = sep,
volume = {14},
pages = {RP108408},
publisher = {eLife Sciences Publications, Ltd},
issn = {2050-084X},
doi = {10.7554/
url = {https://
pmid = {42689526},
pmcid = {PMC13541303}
}
RIS
TY - JOUR
AU - Clausner, Tommy
AU - Marques, José P
AU - Scheeringa, René
AU - Bonnefond, Mathilde
TI - Frequency and laminar profile of feature-specific visual activity revealed by interleaved EEG-fMRI
T2 - eLife
J2 - eLife
PY - 2026
DA - 2026/
VL - 14
SP - RP108408
SN - 2050-084X
PB - eLife Sciences Publications, Ltd
DO - 10.7554/
UR - https://
LA - en
ER -
CSL-JSON
{
"id": "10.7554/
"type": "article-journal",
"title": "Frequency and laminar profile of feature-specific visual activity revealed by interleaved EEG-fMRI",
"container-title": "eLife",
"author": [
{
"family": "Clausner",
"given": "Tommy"
},
{
"family": "Marques",
"given": "José P"
},
{
"family": "Scheeringa",
"given": "René"
},
{
"family": "Bonnefond",
"given": "Mathilde"
}
],
"container-title-short":
"volume": "14",
"page": "RP108408",
"DOI": "10.7554/
"PMID": "42689526",
"PMCID": "PMC13541303",
"ISSN": "2050-084X",
"publisher": "eLife Sciences Publications, Ltd",
"URL": "https://
"language": "en",
"issued": {
"date-parts": [
[
2026,
9,
3
]
]
}
}
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.64898/2026.02.06.704362 [code]
- Functional gradients dissociate between cortical layersJournal: bioRxiv (preprint)In common: Connectome Workbench, ANTs, FreeSurfer, 9 other tools, fMRI, systems, 11 references
- [2] doi:10.1016/j.isci.2025.112967 [code]
- Contextual responses drive a unique laminar signature in human V1.Journal: iScienceIn common: Pingouin, Tools for NIfTI and ANALYZE image (MATLAB), ANTs, 13 other tools, systems, 6 references
- [3] doi:10.1038/s41467-026-77782-9 [code]
- Multilayer MEG source modelling enables depth-resolved laminar inference in humans.Journal: Nature communicationsIn common: FieldTrip, FreeSurfer, FSL, 11 other tools, systems, 5 references, author Mathilde Bonnefond
- [4] doi:10.1101/2025.05.28.656642 [code]
- Multilayer MEG source modelling enables depth-resolved laminar inference in humansJournal: bioRxiv (preprint)In common: FieldTrip, FreeSurfer, FSL, 11 other tools, systems, 4 references, author Mathilde Bonnefond
- [5] doi:10.1371/journal.pone.0280855 [code]
- Cerebral blood volume sensitive layer-fMRI in the human auditory cortex at 7T: Challenges and capabilities.Journal: PloS oneIn common: Tools for NIfTI and ANALYZE image (MATLAB), ANTs, FreeSurfer, 9 other tools, fMRI, systems, 7 references
- [6] doi:10.7554/elife.90387 [code]
- Precise spatial tuning of visually driven alpha oscillations in human visual cortex.Journal: eLifeIn common: FieldTrip, FreeSurfer, SPM, 6 other tools, systems, EEG, 11 references
- [7] doi:10.1152/physrev.00001.2025 [code]
- The alpha rhythm: from physiology to behavior.Journal: Physiological reviewsIn common: EEG, 13 references, author Mathilde Bonnefond
- [8] doi:10.1038/s41562-025-02252-z [code]
- In silico discovery of representational relationships across visual cortex.Journal: Nature human behaviourIn common: Tools for NIfTI and ANALYZE image (MATLAB), ANTs, FreeSurfer, 12 other tools, fMRI, 4 references
- [9] doi:10.1371/journal.pbio.3003461 [code]
- Distinct alpha networks modulate different aspects of perceptual decision-making.Journal: PLoS biologyIn common: FSL, h5py, NiBabel, 4 other tools, 11 references
- [10] doi:10.1167/jov.25.11.3 [code]
- The precision of attention controls attraction of population receptive fields.Journal: Journal of visionIn common: Pingouin, Tools for NIfTI and ANALYZE image (MATLAB), ANTs, 11 other tools, 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: 3 repositories of the authors' code, each at its verified commit and with its license, 203 scripts, and 18 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:c8aef393077f66c8…
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.7554/elife.108408)
<!-- oscr-badge:end -->reStructuredText
.. oscr-badge:start
.. image:: https://openscicode.org/badge/doi/10.7554/elife.108408.svg
:target: https://openscicode.org/badge/doi/10.7554/elife.108408
:alt: OSCR
.. oscr-badge:endHTML
<!-- oscr-badge:start -->
<a href="https://openscicode.org/badge/doi/10.7554/elife.108408"><img src="https://openscicode.org/badge/doi/10.7554/elife.108408.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".
- TommyClausner/laminarfMRIv2: README.md on GitHub
- tommyclausner/mri-volume-masker-3000-tm: README.md on GitHub
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.
