<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
Hi Prasad,
<div class=""><br class="">
</div>
<div class="">Units of source level activity are not expected to be the same as the units of the recording device. Dipole amplitudes are expressed in <something>A<something>m, e.g. nAm, Am, microAkm etc</div>
<div class="">This being said, FieldTrip tries to be consistent w.r.t. the units, and gets them right most of the time, as long as the user’s input is consistent w.r.t itself (i.e. electrode positions defined in m AND headmodel vertex positions also defined
 in m etc). The safest option would be to input everything according to the base S.I. units (i.e. metric distances in m, and potentials in V).</div>
<div class=""><br class="">
</div>
<div class="">However, still then, there’s the well known depth bias associated with LCMV beamformer based source reconstructions, which causes the reconstructed amplitudes not to be taken at face value (in other words, comparing the amplitudes of a ‘deep’
 virtual channel with the amplitudes of a superficial one is somewhat meaningless, unless a good normalisation has been applied). </div>
<div class=""><br class="">
</div>
<div class="">Best wishes,</div>
<div class="">Jan-Mathijs </div>
<div class=""><br class="">
<div><br class="">
<blockquote type="cite" class="">
<div class="">On 26 May 2023, at 18:47, Prasad Tendolkar - Research Engineer II via fieldtrip <<a href="mailto:fieldtrip@science.ru.nl" class="">fieldtrip@science.ru.nl</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div class="WordSection1" style="page: WordSection1; caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;">
<div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
Hello,<o:p class=""></o:p></div>
<div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<o:p class=""> </o:p></div>
<div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
I have obtained the voltage time series of cortical sources using the fieldtrip lcmv method for source reconstruction. I am concerned that the source voltage amplitudes are too large to be physiologically possible. After ensuring that input EEG dataset is in
 units of volts, I get source voltage amplitudes with root-mean-square voltage values ranging from 0.2799 to 0.8739 Volts. Does that seem reasonable? The EEG data is recorded during a walking task with no external stimulation.<o:p class=""></o:p></div>
<div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<o:p class=""> </o:p></div>
<div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
The voltages time series from the source locations are obtained using the following code, “eegData” is the eeglab-preprocessed data converted to a fieldtrip raw datatype, and “roiData” contains the voltage time series of the source locations that I calculated
 the rms from:<o:p class=""></o:p></div>
<div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<o:p class=""> </o:p></div>
<div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span style="font-size: 10pt; font-family: "Courier New";" class="">tempElec = ft_read_sens(electrodePos);<span class="Apple-converted-space"> </span></span><span style="font-size: 10pt; font-family: "Courier New"; color: rgb(60, 118, 61);" class="">%electrodePos
 is the standard_1020.elc from fieldtrip</span><span style="font-size: 12pt; font-family: "Courier New";" class=""><o:p class=""></o:p></span></div>
<div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span style="font-size: 12pt; font-family: "Courier New";" class=""><o:p class=""> </o:p></span></div>
<div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span style="font-size: 10pt; font-family: "Courier New";" class="">newElec = tempElec;</span><span style="font-size: 12pt; font-family: "Courier New";" class=""><o:p class=""></o:p></span></div>
<div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span style="font-size: 12pt; font-family: "Courier New";" class=""><o:p class=""> </o:p></span></div>
<div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span style="font-size: 10pt; font-family: "Courier New"; color: blue;" class="">for</span><span style="font-size: 10pt; font-family: "Courier New";" class=""><span class="Apple-converted-space"> </span>i = 1:length(eegData.label)</span><span style="font-size: 12pt; font-family: "Courier New";" class=""><o:p class=""></o:p></span></div>
<div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span style="font-size: 10pt; font-family: "Courier New";" class="">    checker = 0;</span><span style="font-size: 12pt; font-family: "Courier New";" class=""><o:p class=""></o:p></span></div>
<div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span style="font-size: 10pt; font-family: "Courier New";" class="">   <span class="Apple-converted-space"> </span></span><span style="font-size: 10pt; font-family: "Courier New"; color: blue;" class="">for</span><span style="font-size: 10pt; font-family: "Courier New";" class=""><span class="Apple-converted-space"> </span>i2
 = 1:length(tempElec.label)</span><span style="font-size: 12pt; font-family: "Courier New";" class=""><o:p class=""></o:p></span></div>
<div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span style="font-size: 10pt; font-family: "Courier New";" class="">       <span class="Apple-converted-space"> </span></span><span style="font-size: 10pt; font-family: "Courier New"; color: blue;" class="">if</span><span style="font-size: 10pt; font-family: "Courier New";" class=""><span class="Apple-converted-space"> </span>strcmpi(eegData.label{i},tempElec.label{i2})</span><span style="font-size: 12pt; font-family: "Courier New";" class=""><o:p class=""></o:p></span></div>
<div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span style="font-size: 10pt; font-family: "Courier New";" class="">            checker = 1;</span><span style="font-size: 12pt; font-family: "Courier New";" class=""><o:p class=""></o:p></span></div>
<div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span style="font-size: 10pt; font-family: "Courier New";" class="">            newElec.chanpos(i,:) = tempElec.chanpos(i2,:);</span><span style="font-size: 12pt; font-family: "Courier New";" class=""><o:p class=""></o:p></span></div>
<div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span style="font-size: 10pt; font-family: "Courier New";" class="">            newElec.chantype{i} = tempElec.chantype{i2};</span><span style="font-size: 12pt; font-family: "Courier New";" class=""><o:p class=""></o:p></span></div>
<div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span style="font-size: 10pt; font-family: "Courier New";" class="">            newElec.chanunit{i} = tempElec.chanunit{i2};</span><span style="font-size: 12pt; font-family: "Courier New";" class=""><o:p class=""></o:p></span></div>
<div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span style="font-size: 10pt; font-family: "Courier New";" class="">           newElec.elecpos(i,:) = tempElec.elecpos(i2,:);</span><span style="font-size: 12pt; font-family: "Courier New";" class=""><o:p class=""></o:p></span></div>
<div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span style="font-size: 10pt; font-family: "Courier New";" class="">            newElec.label{i} = tempElec.label{i2};</span><span style="font-size: 12pt; font-family: "Courier New";" class=""><o:p class=""></o:p></span></div>
<div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span style="font-size: 10pt; font-family: "Courier New";" class="">           </span><span style="font-size: 12pt; font-family: "Courier New";" class=""><o:p class=""></o:p></span></div>
<div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span style="font-size: 10pt; font-family: "Courier New";" class="">        </span><span style="font-size: 10pt; font-family: "Courier New"; color: blue;" class="">end</span><span style="font-size: 12pt; font-family: "Courier New";" class=""><o:p class=""></o:p></span></div>
<div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span style="font-size: 10pt; font-family: "Courier New";" class="">   <span class="Apple-converted-space"> </span></span><span style="font-size: 10pt; font-family: "Courier New"; color: blue;" class="">end</span><span style="font-size: 12pt; font-family: "Courier New";" class=""><o:p class=""></o:p></span></div>
<div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span style="font-size: 10pt; font-family: "Courier New";" class="">   <span class="Apple-converted-space"> </span></span><span style="font-size: 10pt; font-family: "Courier New"; color: blue;" class="">if</span><span style="font-size: 10pt; font-family: "Courier New";" class=""><span class="Apple-converted-space"> </span>checker
 == 0</span><span style="font-size: 12pt; font-family: "Courier New";" class=""><o:p class=""></o:p></span></div>
<div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span style="font-size: 10pt; font-family: "Courier New";" class="">        eegData.elec.label{i}</span><span style="font-size: 12pt; font-family: "Courier New";" class=""><o:p class=""></o:p></span></div>
<div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span style="font-size: 10pt; font-family: "Courier New";" class="">   <span class="Apple-converted-space"> </span></span><span style="font-size: 10pt; font-family: "Courier New"; color: blue;" class="">end</span><span style="font-size: 12pt; font-family: "Courier New";" class=""><o:p class=""></o:p></span></div>
<div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span style="font-size: 10pt; font-family: "Courier New"; color: blue;" class="">end</span><span style="font-size: 12pt; font-family: "Courier New";" class=""><o:p class=""></o:p></span></div>
<div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span style="font-size: 12pt; font-family: "Courier New";" class=""><o:p class=""> </o:p></span></div>
<div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span style="font-size: 10pt; font-family: "Courier New";" class="">newElec.chanpos(length(eegData.label)+1:end,:) = [];</span><span style="font-size: 12pt; font-family: "Courier New";" class=""><o:p class=""></o:p></span></div>
<div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span style="font-size: 10pt; font-family: "Courier New";" class="">newElec.chantype(length(eegData.label)+1:end) = [];</span><span style="font-size: 12pt; font-family: "Courier New";" class=""><o:p class=""></o:p></span></div>
<div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span style="font-size: 10pt; font-family: "Courier New";" class="">newElec.chanunit(length(eegData.label)+1:end) = [];</span><span style="font-size: 12pt; font-family: "Courier New";" class=""><o:p class=""></o:p></span></div>
<div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span style="font-size: 10pt; font-family: "Courier New";" class="">newElec.elecpos(length(eegData.label)+1:end,:) = [];</span><span style="font-size: 12pt; font-family: "Courier New";" class=""><o:p class=""></o:p></span></div>
<div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span style="font-size: 10pt; font-family: "Courier New";" class="">newElec.label(length(eegData.label)+1:end) = [];</span><span style="font-size: 12pt; font-family: "Courier New";" class=""><o:p class=""></o:p></span></div>
<div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span style="font-size: 12pt; font-family: "Courier New";" class=""><o:p class=""> </o:p></span></div>
<div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span style="font-size: 10pt; font-family: "Courier New";" class="">eegData.elec = newElec;</span><span style="font-size: 12pt; font-family: "Courier New";" class=""><o:p class=""></o:p></span></div>
<div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span style="font-size: 12pt; font-family: "Courier New";" class=""><o:p class=""> </o:p></span></div>
<div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span style="font-size: 10pt; font-family: "Courier New"; color: rgb(60, 118, 61);" class="">%% Project electrodes to scalp, headmodel is standard_bem.mat from fieldtrip</span><span style="font-size: 12pt; font-family: "Courier New";" class=""><o:p class=""></o:p></span></div>
<div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span style="font-size: 10pt; font-family: "Courier New"; color: blue;" class="">if</span><span style="font-size: 10pt; font-family: "Courier New";" class=""><span class="Apple-converted-space"> </span>strcmp(headmodel.type,<span class="Apple-converted-space"> </span></span><span style="font-size: 10pt; font-family: "Courier New"; color: rgb(160, 32, 240);" class="">'bemcp'</span><span style="font-size: 10pt; font-family: "Courier New";" class="">)</span><span style="font-size: 12pt; font-family: "Courier New";" class=""><o:p class=""></o:p></span></div>
<div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span style="font-size: 10pt; font-family: "Courier New";" class="">    scalp_index = 3;</span><span style="font-size: 12pt; font-family: "Courier New";" class=""><o:p class=""></o:p></span></div>
<div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span style="font-size: 10pt; font-family: "Courier New"; color: blue;" class="">elseif</span><span style="font-size: 10pt; font-family: "Courier New";" class=""><span class="Apple-converted-space"> </span>strcmp(headmodel.type,<span class="Apple-converted-space"> </span></span><span style="font-size: 10pt; font-family: "Courier New"; color: rgb(160, 32, 240);" class="">'dipoli'</span><span style="font-size: 10pt; font-family: "Courier New";" class="">)</span><span style="font-size: 12pt; font-family: "Courier New";" class=""><o:p class=""></o:p></span></div>
<div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span style="font-size: 10pt; font-family: "Courier New";" class="">    scalp_index = 1;</span><span style="font-size: 12pt; font-family: "Courier New";" class=""><o:p class=""></o:p></span></div>
<div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span style="font-size: 10pt; font-family: "Courier New"; color: blue;" class="">end</span><span style="font-size: 12pt; font-family: "Courier New";" class=""><o:p class=""></o:p></span></div>
<div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span style="font-size: 12pt; font-family: "Courier New";" class=""><o:p class=""> </o:p></span></div>
<div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span style="font-size: 10pt; font-family: "Courier New";" class="">cfg = [];</span><span style="font-size: 12pt; font-family: "Courier New";" class=""><o:p class=""></o:p></span></div>
<div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span style="font-size: 10pt; font-family: "Courier New";" class="">cfg.method =<span class="Apple-converted-space"> </span></span><span style="font-size: 10pt; font-family: "Courier New"; color: rgb(160, 32, 240);" class="">'project'</span><span style="font-size: 10pt; font-family: "Courier New";" class="">;<span class="Apple-converted-space"> </span></span><span style="font-size: 10pt; font-family: "Courier New"; color: rgb(60, 118, 61);" class="">%
 onto scalp surface</span><span style="font-size: 12pt; font-family: "Courier New";" class=""><o:p class=""></o:p></span></div>
<div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span style="font-size: 10pt; font-family: "Courier New";" class="">cfg.headshape = headmodel.bnd(scalp_index);<span class="Apple-converted-space"> </span></span><span style="font-size: 10pt; font-family: "Courier New"; color: rgb(60, 118, 61);" class="">%
 scalp surface</span><span style="font-size: 12pt; font-family: "Courier New";" class=""><o:p class=""></o:p></span></div>
<div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span style="font-size: 10pt; font-family: "Courier New";" class="">eegData.elec = ft_electroderealign(cfg, eegData.elec);</span><span style="font-size: 12pt; font-family: "Courier New";" class=""><o:p class=""></o:p></span></div>
<div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span style="font-size: 12pt; font-family: "Courier New";" class=""><o:p class=""> </o:p></span></div>
<div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span style="font-size: 10pt; font-family: "Courier New";" class=""> </span><span style="font-size: 12pt; font-family: "Courier New";" class=""><o:p class=""></o:p></span></div>
<div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span style="font-size: 10pt; font-family: "Courier New";" class="">cfg = [];</span><span style="font-size: 12pt; font-family: "Courier New";" class=""><o:p class=""></o:p></span></div>
<div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span style="font-size: 10pt; font-family: "Courier New";" class="">cfg.headmodel = headmodel;</span><span style="font-size: 12pt; font-family: "Courier New";" class=""><o:p class=""></o:p></span></div>
<div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span style="font-size: 10pt; font-family: "Courier New";" class="">cfg.elec = eegData.elec;</span><span style="font-size: 12pt; font-family: "Courier New";" class=""><o:p class=""></o:p></span></div>
<div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span style="font-size: 10pt; font-family: "Courier New";" class="">cfg.grid.resolution = 4;</span><span style="font-size: 12pt; font-family: "Courier New";" class=""><o:p class=""></o:p></span></div>
<div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span style="font-size: 10pt; font-family: "Courier New";" class="">cfg.grid.unit       =<span class="Apple-converted-space"> </span></span><span style="font-size: 10pt; font-family: "Courier New"; color: rgb(160, 32, 240);" class="">'mm'</span><span style="font-size: 10pt; font-family: "Courier New";" class="">;</span><span style="font-size: 12pt; font-family: "Courier New";" class=""><o:p class=""></o:p></span></div>
<div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span style="font-size: 10pt; font-family: "Courier New";" class="">cfg.channel =<span class="Apple-converted-space"> </span></span><span style="font-size: 10pt; font-family: "Courier New"; color: rgb(160, 32, 240);" class="">'all'</span><span style="font-size: 10pt; font-family: "Courier New";" class="">;</span><span style="font-size: 12pt; font-family: "Courier New";" class=""><o:p class=""></o:p></span></div>
<div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span style="font-size: 10pt; font-family: "Courier New";" class="">grid = ft_prepare_leadfield(cfg);</span><span style="font-size: 12pt; font-family: "Courier New";" class=""><o:p class=""></o:p></span></div>
<div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span style="font-size: 12pt; font-family: "Courier New";" class=""><o:p class=""> </o:p></span></div>
<div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span style="font-size: 10pt; font-family: "Courier New";" class="">cfg = [];</span><span style="font-size: 12pt; font-family: "Courier New";" class=""><o:p class=""></o:p></span></div>
<div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span style="font-size: 10pt; font-family: "Courier New";" class="">cfg.covariance =<span class="Apple-converted-space"> </span></span><span style="font-size: 10pt; font-family: "Courier New"; color: rgb(160, 32, 240);" class="">'yes'</span><span style="font-size: 10pt; font-family: "Courier New";" class="">;</span><span style="font-size: 12pt; font-family: "Courier New";" class=""><o:p class=""></o:p></span></div>
<div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span style="font-size: 10pt; font-family: "Courier New";" class="">cfg.covariancewindow =<span class="Apple-converted-space"> </span></span><span style="font-size: 10pt; font-family: "Courier New"; color: rgb(160, 32, 240);" class="">'all'</span><span style="font-size: 10pt; font-family: "Courier New";" class="">;</span><span style="font-size: 12pt; font-family: "Courier New";" class=""><o:p class=""></o:p></span></div>
<div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span style="font-size: 10pt; font-family: "Courier New";" class="">timelock_allexp = ft_timelockanalysis(cfg, eegData);</span><span style="font-size: 12pt; font-family: "Courier New";" class=""><o:p class=""></o:p></span></div>
<div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span style="font-size: 12pt; font-family: "Courier New";" class=""><o:p class=""> </o:p></span></div>
<div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span style="font-size: 10pt; font-family: "Courier New";" class="">cfg = [];</span><span style="font-size: 12pt; font-family: "Courier New";" class=""><o:p class=""></o:p></span></div>
<div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span style="font-size: 10pt; font-family: "Courier New";" class="">cfg.covariance =<span class="Apple-converted-space"> </span></span><span style="font-size: 10pt; font-family: "Courier New"; color: rgb(160, 32, 240);" class="">'yes'</span><span style="font-size: 10pt; font-family: "Courier New";" class="">;</span><span style="font-size: 12pt; font-family: "Courier New";" class=""><o:p class=""></o:p></span></div>
<div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span style="font-size: 10pt; font-family: "Courier New";" class="">cfg.covariancewindow =<span class="Apple-converted-space"> </span></span><span style="font-size: 10pt; font-family: "Courier New"; color: rgb(160, 32, 240);" class="">'all'</span><span style="font-size: 10pt; font-family: "Courier New";" class="">;</span><span style="font-size: 12pt; font-family: "Courier New";" class=""><o:p class=""></o:p></span></div>
<div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span style="font-size: 10pt; font-family: "Courier New";" class="">cfg.keeptrials  =<span class="Apple-converted-space"> </span></span><span style="font-size: 10pt; font-family: "Courier New"; color: rgb(160, 32, 240);" class="">'yes'</span><span style="font-size: 10pt; font-family: "Courier New";" class="">;</span><span style="font-size: 12pt; font-family: "Courier New";" class=""><o:p class=""></o:p></span></div>
<div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span style="font-size: 10pt; font-family: "Courier New";" class="">timelock_allexp_all = ft_timelockanalysis(cfg, eegData);</span><span style="font-size: 12pt; font-family: "Courier New";" class=""><o:p class=""></o:p></span></div>
<div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span style="font-size: 12pt; font-family: "Courier New";" class=""><o:p class=""> </o:p></span></div>
<div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span style="font-size: 10pt; font-family: "Courier New"; color: rgb(60, 118, 61);" class="">%General source localisation</span><span style="font-size: 12pt; font-family: "Courier New";" class=""><o:p class=""></o:p></span></div>
<div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span style="font-size: 10pt; font-family: "Courier New";" class="">cfg = [];</span><span style="font-size: 12pt; font-family: "Courier New";" class=""><o:p class=""></o:p></span></div>
<div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span style="font-size: 10pt; font-family: "Courier New";" class="">cfg.headmodel = vol;</span><span style="font-size: 12pt; font-family: "Courier New";" class=""><o:p class=""></o:p></span></div>
<div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span style="font-size: 10pt; font-family: "Courier New";" class="">cfg.elec = timelock_allexp.elec;</span><span style="font-size: 12pt; font-family: "Courier New";" class=""><o:p class=""></o:p></span></div>
<div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span style="font-size: 10pt; font-family: "Courier New";" class="">cfg.grid = grid;</span><span style="font-size: 12pt; font-family: "Courier New";" class=""><o:p class=""></o:p></span></div>
<div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span style="font-size: 10pt; font-family: "Courier New";" class="">cfg.method =<span class="Apple-converted-space"> </span></span><span style="font-size: 10pt; font-family: "Courier New"; color: rgb(160, 32, 240);" class="">'lcmv'</span><span style="font-size: 10pt; font-family: "Courier New";" class="">;</span><span style="font-size: 12pt; font-family: "Courier New";" class=""><o:p class=""></o:p></span></div>
<div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span style="font-size: 10pt; font-family: "Courier New";" class="">cfg.lcmv.fixedori =<span class="Apple-converted-space"> </span></span><span style="font-size: 10pt; font-family: "Courier New"; color: rgb(160, 32, 240);" class="">'yes'</span><span style="font-size: 10pt; font-family: "Courier New";" class="">; <span class="Apple-converted-space"> </span></span><span style="font-size: 10pt; font-family: "Courier New"; color: rgb(60, 118, 61);" class="">%Project
 onto largest variance orientation</span><span style="font-size: 12pt; font-family: "Courier New";" class=""><o:p class=""></o:p></span></div>
<div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span style="font-size: 10pt; font-family: "Courier New";" class="">cfg.lcmv.keepfilter =<span class="Apple-converted-space"> </span></span><span style="font-size: 10pt; font-family: "Courier New"; color: rgb(160, 32, 240);" class="">'yes'</span><span style="font-size: 10pt; font-family: "Courier New";" class="">;<span class="Apple-converted-space"> </span></span><span style="font-size: 10pt; font-family: "Courier New"; color: rgb(60, 118, 61);" class="">%Keep
 the beamformer weights</span><span style="font-size: 12pt; font-family: "Courier New";" class=""><o:p class=""></o:p></span></div>
<div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span style="font-size: 10pt; font-family: "Courier New";" class="">cfg.lcmv.lambda =<span class="Apple-converted-space"> </span></span><span style="font-size: 10pt; font-family: "Courier New"; color: rgb(160, 32, 240);" class="">'5%'</span><span style="font-size: 10pt; font-family: "Courier New";" class="">;<span class="Apple-converted-space"> </span></span><span style="font-size: 10pt; font-family: "Courier New"; color: rgb(60, 118, 61);" class="">%Regularise
 a little</span><span style="font-size: 12pt; font-family: "Courier New";" class=""><o:p class=""></o:p></span></div>
<div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span style="font-size: 10pt; font-family: "Courier New";" class="">source_allexp = ft_sourceanalysis(cfg, timelock_allexp);</span><span style="font-size: 12pt; font-family: "Courier New";" class=""><o:p class=""></o:p></span></div>
<div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span style="font-size: 12pt; font-family: "Courier New";" class=""><o:p class=""> </o:p></span></div>
<div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span style="font-size: 10pt; font-family: "Courier New";" class="">cfg = [];</span><span style="font-size: 12pt; font-family: "Courier New";" class=""><o:p class=""></o:p></span></div>
<div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span style="font-size: 10pt; font-family: "Courier New";" class="">cfg.method        =<span class="Apple-converted-space"> </span></span><span style="font-size: 10pt; font-family: "Courier New"; color: rgb(160, 32, 240);" class="">'nearest'</span><span style="font-size: 10pt; font-family: "Courier New";" class="">;</span><span style="font-size: 12pt; font-family: "Courier New";" class=""><o:p class=""></o:p></span></div>
<div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span style="font-size: 10pt; font-family: "Courier New";" class="">cfg.parameter =<span class="Apple-converted-space"> </span></span><span style="font-size: 10pt; font-family: "Courier New"; color: rgb(160, 32, 240);" class="">'tissue'</span><span style="font-size: 10pt; font-family: "Courier New";" class="">;</span><span style="font-size: 12pt; font-family: "Courier New";" class=""><o:p class=""></o:p></span></div>
<div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span style="font-size: 10pt; font-family: "Courier New";" class="">grid2 = ft_sourceinterpolate(cfg,atlas,grid);  </span><span style="font-size: 10pt; font-family: "Courier New"; color: rgb(60, 118, 61);" class="">% atlas is a modified version of the AAL atlas
 provided in fieldtrip with our ROIs</span><span style="font-size: 12pt; font-family: "Courier New";" class=""><o:p class=""></o:p></span></div>
<div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span style="font-size: 10pt; font-family: "Courier New";" class="">grid2.tissue = fix(grid2.tissue);</span><span style="font-size: 12pt; font-family: "Courier New";" class=""><o:p class=""></o:p></span></div>
<div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span style="font-size: 10pt; font-family: "Courier New";" class="">grid2.tissuelabel = atlas.tissuelabel;</span><span style="font-size: 12pt; font-family: "Courier New";" class=""><o:p class=""></o:p></span></div>
<div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span style="font-size: 12pt; font-family: "Courier New";" class=""><o:p class=""> </o:p></span></div>
<div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span style="font-size: 10pt; font-family: "Courier New";" class="">cfg = [];</span><span style="font-size: 12pt; font-family: "Courier New";" class=""><o:p class=""></o:p></span></div>
<div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span style="font-size: 10pt; font-family: "Courier New";" class="">cfg.parcellation =<span class="Apple-converted-space"> </span></span><span style="font-size: 10pt; font-family: "Courier New"; color: rgb(160, 32, 240);" class="">'tissue'</span><span style="font-size: 10pt; font-family: "Courier New";" class="">;</span><span style="font-size: 12pt; font-family: "Courier New";" class=""><o:p class=""></o:p></span></div>
<div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span style="font-size: 10pt; font-family: "Courier New";" class="">cfg.method =<span class="Apple-converted-space"> </span></span><span style="font-size: 10pt; font-family: "Courier New"; color: rgb(160, 32, 240);" class="">'svd'</span><span style="font-size: 10pt; font-family: "Courier New";" class="">;</span><span style="font-size: 12pt; font-family: "Courier New";" class=""><o:p class=""></o:p></span></div>
<div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span style="font-size: 10pt; font-family: "Courier New";" class="">roiData = ft_virtualchannel(cfg,timelock_allexp_all,source_allexp,grid2);</span><span style="font-size: 12pt; font-family: "Courier New";" class=""><o:p class=""></o:p></span></div>
<div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<o:p class=""> </o:p></div>
<div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
Is there any step that I may have overlooked? Any troubleshooting suggestions would be greatly appreciated<o:p class=""></o:p></div>
<div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<o:p class=""> </o:p></div>
<div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<o:p class=""> </o:p></div>
<div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
Thanks,<o:p class=""></o:p></div>
<div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
Prasad<o:p class=""></o:p></div>
<div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<o:p class=""> </o:p></div>
</div>
<span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">_______________________________________________</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class="">
<span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">fieldtrip
 mailing list</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class="">
<a href="https://mailman.science.ru.nl/mailman/listinfo/fieldtrip" style="font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;" class="">https://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class="">
<a href="https://urldefense.com/v3/__https://doi.org/10.1371/journal.pcbi.1002202__;!!HJOPV4FYYWzcc1jazlU!4X-bMlTfOHM2uC4DuLXG3julu9Ev6j1wYd_bM4G0ZPng1-MFBmG7tzTlxX6z_yTdFuMvNGS8GQyd7SKhKPLIirTLP-3owg9X9bA9xQ$" style="font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;" class="">https://urldefense.com/v3/__https://doi.org/10.1371/journal.pcbi.1002202__;!!HJOPV4FYYWzcc1jazlU!4X-bMlTfOHM2uC4DuLXG3julu9Ev6j1wYd_bM4G0ZPng1-MFBmG7tzTlxX6z_yTdFuMvNGS8GQyd7SKhKPLIirTLP-3owg9X9bA9xQ$</a><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class=""></span></div>
</blockquote>
</div>
<br class="">
</div>
</body>
</html>