Dear brainstorm community,
I'm working on scouts*scouts coherence in my MEG data. I followed the tutorial (https://neuroimage.usc.edu/brainstorm/Tutorials/CorticomuscularCoherence#Coherence_Scouts_x_Scouts) and then got codes from the pipeline editor in matlab (Please see codes below).
% Process: Coherence NxN [2023]
sFileCohNN = bst_process('CallProcess', 'process_cohere1n', sFiles, [], ...
'timewindow', [0, 0.4], ...
'scouts', {'Volume 13263: Desikan-Killiany', {'Fusiform L', 'Fusiform R', 'Rostral mid front L'}}, ...
'flatten', 0, ...
'scouttime', 'before', ... % before
'scoutfunc', 'mean', ... % Mean
'scoutfuncaft', 'mean', ... % Mean
'pcaedit', struct(...
'Method', 'pca', ...
'Baseline', [ ], ...
'DataTimeWindow', [ ], ...
'RemoveDcOffset', 'file'), ...
'removeevoked', 0, ...
'cohmeasure', 'mscohere', ... % Magnitude-squared coherence
'tfmeasure', 'morlet', ... % Morlet wavelets
'tfedit', struct(...
'Comment', 'ComplexMorlet,1-50Hz', ...
'TimeBands', [], ...
'Freqs', [1:50], ...
'MorletFc', 1, ...
'MorletFwhmTc', 3, ...
'ClusterFuncTime', 'none', ...
'Measure', 'none', ...
'Output', 'all', ...
'RemoveEvoked', 0, ...
'SaveKernel', 0), ...
'timeres', 'none', ... % None
'avgwinlength', 1, ...
'avgwinoverlap', 50, ...
'outputmode', 'avg'); % across combined files/epochs
However, I noticed that there are two 'removedevoked' in the code. What is the difference between these two options? I'd like to estimate coherence between the fusiform and left middle frontal cortex using the induced power of these two brain regions. Should I change the first 'removeevoked' to 1, the second 'RemoveEvoked', or both?
Best,
Shuting