<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
Hi Diane,
<div class=""><br class="">
</div>
<div class="">First of all, I would recommend to share figures not as a matlab-figure, but as a screenshot bitmap or so. This saves people who are reading your mail a lot of overhead if they want to look at it, because they don’t need to start a matlab session
etc.</div>
<div class=""><br class="">
</div>
<div class="">Your topographical image looks ‘different’ from the one on the wiki because the distribution of your electrodes is more around the whole ‘rim’ of the head. The colored plane that shows up within the circle is the consequence of a spatial interpolation
(in 2D) of the data points represented at the locations of the electrodes. For this reason also, there’s no need to be very explicit about the meaning of the x and y axes: they represent space. </div>
<div class=""><br class="">
</div>
<div class="">Best wishes and good luck,</div>
<div class=""><br class="">
</div>
<div class="">Jan-Mathijs</div>
<div class=""><br class="">
<div class=""><br class="">
</div>
<div class=""><br class="">
<div>
<blockquote type="cite" class="">
<div class="">On 19 Sep 2017, at 06:25, D.Abdallah <<a href="mailto:da401@kent.ac.uk" class="">da401@kent.ac.uk</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div id="compose-container" itemscopeitemtype="https://schema.org/EmailMessage" style="font-family: Helvetica; font-size: 12px; 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; direction: ltr;" class="">
<div class="">
<div class="gmail_quote">
<div style="margin-top: 0px; margin-bottom: 0px;" class=""><br class="Apple-interchange-newline">
Dear all,<span class="Apple-converted-space"> </span></div>
<p style="margin-top: 0px; margin-bottom: 0px;" class=""> </p>
<div style="margin-top: 0px; margin-bottom: 0px;" class="">I've had a bit of trouble understanding the results that I get when using the ft_topoplotER.</div>
<div style="margin-top: 0px; margin-bottom: 0px;" class="">I have run on matlab R2014a the MVPA tutorial on fieldtrip:<span class="Apple-converted-space"> </span><a href="http://www.fieldtriptoolbox.org/tutorial/multivariateanalysis" class="">http://www.fieldtriptoolbox.org/tutorial/multivariateanalysis</a> and
tried to understand the resulting topographic map but wasn't able to because there is no proper legend that explains where the x and y axes are and they represent.</div>
<p style="margin-top: 0px; margin-bottom: 0px;" class=""> </p>
<div style="margin-top: 0px; margin-bottom: 0px;" class="">The experiment that my supervisor and I conducted is meant to look at the pattern of activity in the brain (using EEG) in a switch vs. non-switch task of Rubin's Face-Vase ambiguous stimulus. In order
to study that we are using MVPA.</div>
<p style="margin-top: 0px; margin-bottom: 0px;" class=""> </p>
<div style="margin-top: 0px; margin-bottom: 0px;" class="">This is the code we are running on one of the subjects that we collected:</div>
<font color="#228b22" face="Courier New" size="2" class=""><font color="#228b22" face="Courier New" size="2" class=""><font color="#228b22" face="Courier New" size="2" class="">
<div style="margin-top: 0px; margin-bottom: 0px;" class="">%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%PREPROCESSING</div>
<div style="margin-top: 0px; margin-bottom: 0px;" class="">%Reading the data</div>
</font></font></font><font face="Courier New" size="2" class=""><font face="Courier New" size="2" class="">
<div style="margin-top: 0px; margin-bottom: 0px;" class="">cfg = [];</div>
<div style="margin-top: 0px; margin-bottom: 0px;" class="">cfg.dataset = filename1;</div>
</font></font>
<div style="margin-top: 0px; margin-bottom: 0px;" class=""><font face="Courier New" size="2" class=""><font face="Courier New" size="2" class="">cfg.reref =</font></font><font color="#a020f0" face="Courier New" size="2" class=""><font color="#a020f0" face="Courier New" size="2" class=""><font color="#a020f0" face="Courier New" size="2" class="">'yes'</font></font></font><font face="Courier New" size="2" class=""><font face="Courier New" size="2" class="">;</font></font></div>
<font face="Courier New" size="2" class=""><font face="Courier New" size="2" class=""></font></font>
<div style="margin-top: 0px; margin-bottom: 0px;" class=""><font face="Courier New" size="2" class=""><font face="Courier New" size="2" class="">cfg.channel = {</font></font><font color="#a020f0" face="Courier New" size="2" class=""><font color="#a020f0" face="Courier New" size="2" class=""><font color="#a020f0" face="Courier New" size="2" class="">'Cz'</font></font></font><font face="Courier New" size="2" class=""><font face="Courier New" size="2" class="">,</font></font><font color="#a020f0" face="Courier New" size="2" class=""><font color="#a020f0" face="Courier New" size="2" class=""><font color="#a020f0" face="Courier New" size="2" class="">'PO9'</font></font></font><font face="Courier New" size="2" class=""><font face="Courier New" size="2" class="">,</font></font><font color="#a020f0" face="Courier New" size="2" class=""><font color="#a020f0" face="Courier New" size="2" class=""><font color="#a020f0" face="Courier New" size="2" class="">'PO7'</font></font></font><font face="Courier New" size="2" class=""><font face="Courier New" size="2" class="">,</font></font><font color="#a020f0" face="Courier New" size="2" class=""><font color="#a020f0" face="Courier New" size="2" class=""><font color="#a020f0" face="Courier New" size="2" class="">'PO3'</font></font></font><font face="Courier New" size="2" class=""><font face="Courier New" size="2" class="">,</font></font><font color="#a020f0" face="Courier New" size="2" class=""><font color="#a020f0" face="Courier New" size="2" class=""><font color="#a020f0" face="Courier New" size="2" class="">'PO'</font></font></font><font face="Courier New" size="2" class=""><font face="Courier New" size="2" class="">,</font></font><font color="#a020f0" face="Courier New" size="2" class=""><font color="#a020f0" face="Courier New" size="2" class=""><font color="#a020f0" face="Courier New" size="2" class="">'PO4'</font></font></font><font face="Courier New" size="2" class=""><font face="Courier New" size="2" class="">,</font></font><font color="#a020f0" face="Courier New" size="2" class=""><font color="#a020f0" face="Courier New" size="2" class=""><font color="#a020f0" face="Courier New" size="2" class="">'PO8'</font></font></font><font face="Courier New" size="2" class=""><font face="Courier New" size="2" class=""></font></font><font color="#a020f0" face="Courier New" size="2" class=""><font color="#a020f0" face="Courier New" size="2" class=""><font color="#a020f0" face="Courier New" size="2" class="">'PO10'</font></font></font><font face="Courier New" size="2" class=""><font face="Courier New" size="2" class="">,</font></font><font color="#a020f0" face="Courier New" size="2" class=""><font color="#a020f0" face="Courier New" size="2" class=""><font color="#a020f0" face="Courier New" size="2" class="">'O1'</font></font></font><font face="Courier New" size="2" class=""><font face="Courier New" size="2" class="">,</font></font><font color="#a020f0" face="Courier New" size="2" class=""><font color="#a020f0" face="Courier New" size="2" class=""><font color="#a020f0" face="Courier New" size="2" class="">'Oz'</font></font></font><font face="Courier New" size="2" class=""><font face="Courier New" size="2" class="">,</font></font><font color="#a020f0" face="Courier New" size="2" class=""><font color="#a020f0" face="Courier New" size="2" class=""><font color="#a020f0" face="Courier New" size="2" class="">'O2'</font></font></font><font face="Courier New" size="2" class=""><font face="Courier New" size="2" class="">,</font></font><font color="#a020f0" face="Courier New" size="2" class=""><font color="#a020f0" face="Courier New" size="2" class=""><font color="#a020f0" face="Courier New" size="2" class="">'O9'</font></font></font><font face="Courier New" size="2" class=""><font face="Courier New" size="2" class="">,</font></font><font color="#a020f0" face="Courier New" size="2" class=""><font color="#a020f0" face="Courier New" size="2" class=""><font color="#a020f0" face="Courier New" size="2" class="">'O10'</font></font></font><font face="Courier New" size="2" class=""><font face="Courier New" size="2" class="">};</font></font></div>
<font face="Courier New" size="2" class=""><font face="Courier New" size="2" class=""></font></font>
<div style="margin-top: 0px; margin-bottom: 0px;" class=""><font face="Courier New" size="2" class=""><font face="Courier New" size="2" class="">cfg.refchannel =</font></font><font color="#a020f0" face="Courier New" size="2" class=""><font color="#a020f0" face="Courier New" size="2" class=""><font color="#a020f0" face="Courier New" size="2" class="">'Cz'</font></font></font><font face="Courier New" size="2" class=""><font face="Courier New" size="2" class="">;</font></font></div>
<font face="Courier New" size="2" class=""><font face="Courier New" size="2" class=""></font></font>
<div style="margin-top: 0px; margin-bottom: 0px;" class=""><font face="Courier New" size="2" class=""><font face="Courier New" size="2" class="">cfg.demean =</font></font><font color="#a020f0" face="Courier New" size="2" class=""><font color="#a020f0" face="Courier New" size="2" class=""><font color="#a020f0" face="Courier New" size="2" class="">'yes'</font></font></font><font face="Courier New" size="2" class=""><font face="Courier New" size="2" class="">;</font></font></div>
<font face="Courier New" size="2" class=""><font face="Courier New" size="2" class="">
<div style="margin-top: 0px; margin-bottom: 0px;" class="">data_eeg1 = ft_preprocessing(cfg);</div>
<p style="margin-top: 0px; margin-bottom: 0px;" class=""></p>
<p style="margin-top: 0px; margin-bottom: 0px;" class=""></p>
</font></font><font color="#228b22" face="Courier New" size="2" class=""><font color="#228b22" face="Courier New" size="2" class=""><font color="#228b22" face="Courier New" size="2" class="">
<div style="margin-top: 0px; margin-bottom: 0px;" class="">%Segmenting data</div>
</font></font></font><font face="Courier New" size="2" class=""><font face="Courier New" size="2" class=""></font></font>
<div style="margin-top: 0px; margin-bottom: 0px;" class=""><font face="Courier New" size="2" class=""><font face="Courier New" size="2" class="">cfg.trialdef.eventtype =</font></font><font color="#a020f0" face="Courier New" size="2" class=""><font color="#a020f0" face="Courier New" size="2" class=""><font color="#a020f0" face="Courier New" size="2" class="">'?'</font></font></font><font face="Courier New" size="2" class=""><font face="Courier New" size="2" class="">;</font></font></div>
<font face="Courier New" size="2" class=""><font face="Courier New" size="2" class="">
<div style="margin-top: 0px; margin-bottom: 0px;" class="">Dummy = ft_definetrial(cfg);</div>
<p style="margin-top: 0px; margin-bottom: 0px;" class=""></p>
<div style="margin-top: 0px; margin-bottom: 0px;" class="">cfg.trialdef.prestim = 0.1;</div>
<div style="margin-top: 0px; margin-bottom: 0px;" class="">cfg.trialdef.poststim = 0.6;</div>
<div style="margin-top: 0px; margin-bottom: 0px;" class="">cfg.baselinewindow = [-0.1 0];</div>
<p style="margin-top: 0px; margin-bottom: 0px;" class=""></p>
</font></font>
<div style="margin-top: 0px; margin-bottom: 0px;" class=""><font face="Courier New" size="2" class=""><font face="Courier New" size="2" class="">cfg.trialdef.eventtype =</font></font><font color="#a020f0" face="Courier New" size="2" class=""><font color="#a020f0" face="Courier New" size="2" class=""><font color="#a020f0" face="Courier New" size="2" class="">'STATUS'</font></font></font><font face="Courier New" size="2" class=""><font face="Courier New" size="2" class="">;</font></font></div>
<font face="Courier New" size="2" class=""><font face="Courier New" size="2" class="">
<div style="margin-top: 0px; margin-bottom: 0px;" class="">cfg.trialdef.eventvalue = [100];</div>
<div style="margin-top: 0px; margin-bottom: 0px;" class="">stimulusTrigger = ft_definetrial(cfg);</div>
<p style="margin-top: 0px; margin-bottom: 0px;" class=""></p>
<div style="margin-top: 0px; margin-bottom: 0px;" class="">cfg.trialdef.eventvalue = [1];</div>
<div style="margin-top: 0px; margin-bottom: 0px;" class="">FaceTrials = ft_definetrial(cfg);</div>
<p style="margin-top: 0px; margin-bottom: 0px;" class=""></p>
<div style="margin-top: 0px; margin-bottom: 0px;" class="">cfg.trialdef.eventvalue = [2];</div>
<div style="margin-top: 0px; margin-bottom: 0px;" class="">VaseTrials = ft_definetrial(cfg);</div>
<p style="margin-top: 0px; margin-bottom: 0px;" class=""></p>
</font></font><font color="#228b22" face="Courier New" size="2" class=""><font color="#228b22" face="Courier New" size="2" class=""><font color="#228b22" face="Courier New" size="2" class="">
<div style="margin-top: 0px; margin-bottom: 0px;" class="">%Definitions of Triggers</div>
</font></font></font><font face="Courier New" size="2" class=""><font face="Courier New" size="2" class="">
<div style="margin-top: 0px; margin-bottom: 0px;" class="">stimulusTrigger = 100;</div>
<div style="margin-top: 0px; margin-bottom: 0px;" class="">faceResponseTrigger = 1;</div>
<div style="margin-top: 0px; margin-bottom: 0px;" class="">vaseResponseTrigger = 2;</div>
<p style="margin-top: 0px; margin-bottom: 0px;" class=""></p>
</font></font><font color="#228b22" face="Courier New" size="2" class=""><font color="#228b22" face="Courier New" size="2" class=""><font color="#228b22" face="Courier New" size="2" class="">
<div style="margin-top: 0px; margin-bottom: 0px;" class="">%Define Face Trials and Conduct Preprocessing</div>
</font></font></font><font face="Courier New" size="2" class=""><font face="Courier New" size="2" class="">
<div style="margin-top: 0px; margin-bottom: 0px;" class="">[trlFaces, eventFaces] = ft_trialfun_BasedOnResp(FaceTrials,stimulusTrigger,faceResponseTrigger);</div>
<div style="margin-top: 0px; margin-bottom: 0px;" class="">hdr = ft_read_header(cfg.dataset);</div>
<div style="margin-top: 0px; margin-bottom: 0px;" class="">event = ft_read_event(cfg.dataset);</div>
<div style="margin-top: 0px; margin-bottom: 0px;" class="">FaceData = ft_preprocessing(FaceTrials);</div>
<p style="margin-top: 0px; margin-bottom: 0px;" class=""></p>
<div style="margin-top: 0px; margin-bottom: 0px;" class="">FaceTrigger = [eventFaces(strcmp(cfg.trialdef.eventtype, {eventFaces.type})).value]';</div>
<div style="margin-top: 0px; margin-bottom: 0px;" class="">FaceSample = [eventFaces(strcmp(cfg.trialdef.eventtype, {eventFaces.type})).sample]';</div>
<p style="margin-top: 0px; margin-bottom: 0px;" class=""></p>
<div style="margin-top: 0px; margin-bottom: 0px;" class="">Facepretrig = -round(cfg.trialdef.prestim * hdr.Fs);</div>
<div style="margin-top: 0px; margin-bottom: 0px;" class="">Faceposttrig = round(cfg.trialdef.poststim * hdr.Fs);</div>
<p style="margin-top: 0px; margin-bottom: 0px;" class=""></p>
</font></font><font color="#228b22" face="Courier New" size="2" class=""><font color="#228b22" face="Courier New" size="2" class=""><font color="#228b22" face="Courier New" size="2" class="">
<div style="margin-top: 0px; margin-bottom: 0px;" class="">%Define Vase Trials and Conduct Preprocessing</div>
</font></font></font><font face="Courier New" size="2" class=""><font face="Courier New" size="2" class="">
<div style="margin-top: 0px; margin-bottom: 0px;" class="">[trlVase, eventVase] = ft_trialfun_BasedOnResp(VaseTrials,stimulusTrigger,vaseResponseTrigger);</div>
<div style="margin-top: 0px; margin-bottom: 0px;" class="">hdr = ft_read_header(cfg.dataset);</div>
<div style="margin-top: 0px; margin-bottom: 0px;" class="">event = ft_read_event(cfg.dataset);</div>
<div style="margin-top: 0px; margin-bottom: 0px;" class="">VaseData = ft_preprocessing(VaseTrials);</div>
<p style="margin-top: 0px; margin-bottom: 0px;" class=""></p>
<div style="margin-top: 0px; margin-bottom: 0px;" class="">VaseTrigger = [eventVase(strcmp(cfg.trialdef.eventtype, {eventVase.type})).value]';</div>
<div style="margin-top: 0px; margin-bottom: 0px;" class="">Vasesample = [eventVase(strcmp(cfg.trialdef.eventtype, {eventVase.type})).sample]';</div>
<p style="margin-top: 0px; margin-bottom: 0px;" class=""></p>
<div style="margin-top: 0px; margin-bottom: 0px;" class="">Vasepretrig = -round(cfg.trialdef.prestim * hdr.Fs);</div>
<div style="margin-top: 0px; margin-bottom: 0px;" class="">Vaseposttrig = round(cfg.trialdef.poststim * hdr.Fs);</div>
<p style="margin-top: 0px; margin-bottom: 0px;" class=""></p>
</font></font><font color="#228b22" face="Courier New" size="2" class=""><font color="#228b22" face="Courier New" size="2" class=""><font color="#228b22" face="Courier New" size="2" class="">
<div style="margin-top: 0px; margin-bottom: 0px;" class="">%Calculate Face ERP</div>
</font></font></font><font face="Courier New" size="2" class=""><font face="Courier New" size="2" class=""></font></font>
<div style="margin-top: 0px; margin-bottom: 0px;" class=""><font face="Courier New" size="2" class=""><font face="Courier New" size="2" class="">FaceTrials.reref =</font></font><font color="#a020f0" face="Courier New" size="2" class=""><font color="#a020f0" face="Courier New" size="2" class=""><font color="#a020f0" face="Courier New" size="2" class="">'no'</font></font></font><font face="Courier New" size="2" class=""><font face="Courier New" size="2" class="">;</font></font></div>
<font face="Courier New" size="2" class=""><font face="Courier New" size="2" class=""></font></font>
<div style="margin-top: 0px; margin-bottom: 0px;" class=""><font face="Courier New" size="2" class=""><font face="Courier New" size="2" class="">FaceTrials.keeptrials =</font></font><font color="#a020f0" face="Courier New" size="2" class=""><font color="#a020f0" face="Courier New" size="2" class=""><font color="#a020f0" face="Courier New" size="2" class="">'yes'</font></font></font><font face="Courier New" size="2" class=""><font face="Courier New" size="2" class="">;</font></font><font color="#228b22" face="Courier New" size="2" class=""><font color="#228b22" face="Courier New" size="2" class=""><font color="#228b22" face="Courier New" size="2" class="">%
classifiers operate on individual trials</font></font></font></div>
<font color="#228b22" face="Courier New" size="2" class=""><font color="#228b22" face="Courier New" size="2" class=""><font color="#228b22" face="Courier New" size="2" class=""></font></font></font><font face="Courier New" size="2" class=""><font face="Courier New" size="2" class=""></font></font>
<div style="margin-top: 0px; margin-bottom: 0px;" class=""><font face="Courier New" size="2" class=""><font face="Courier New" size="2" class="">FaceTrials.channel = {</font></font><font color="#a020f0" face="Courier New" size="2" class=""><font color="#a020f0" face="Courier New" size="2" class=""><font color="#a020f0" face="Courier New" size="2" class="">'PO9'</font></font></font><font face="Courier New" size="2" class=""><font face="Courier New" size="2" class="">,</font></font><font color="#a020f0" face="Courier New" size="2" class=""><font color="#a020f0" face="Courier New" size="2" class=""><font color="#a020f0" face="Courier New" size="2" class="">'PO7'</font></font></font><font face="Courier New" size="2" class=""><font face="Courier New" size="2" class="">,</font></font><font color="#a020f0" face="Courier New" size="2" class=""><font color="#a020f0" face="Courier New" size="2" class=""><font color="#a020f0" face="Courier New" size="2" class="">'PO3'</font></font></font><font face="Courier New" size="2" class=""><font face="Courier New" size="2" class="">,</font></font><font color="#a020f0" face="Courier New" size="2" class=""><font color="#a020f0" face="Courier New" size="2" class=""><font color="#a020f0" face="Courier New" size="2" class="">'PO'</font></font></font><font face="Courier New" size="2" class=""><font face="Courier New" size="2" class="">,</font></font><font color="#a020f0" face="Courier New" size="2" class=""><font color="#a020f0" face="Courier New" size="2" class=""><font color="#a020f0" face="Courier New" size="2" class="">'PO4'</font></font></font><font face="Courier New" size="2" class=""><font face="Courier New" size="2" class="">,</font></font><font color="#a020f0" face="Courier New" size="2" class=""><font color="#a020f0" face="Courier New" size="2" class=""><font color="#a020f0" face="Courier New" size="2" class="">'PO8'</font></font></font><font face="Courier New" size="2" class=""><font face="Courier New" size="2" class=""></font></font><font color="#a020f0" face="Courier New" size="2" class=""><font color="#a020f0" face="Courier New" size="2" class=""><font color="#a020f0" face="Courier New" size="2" class="">'PO10'</font></font></font><font face="Courier New" size="2" class=""><font face="Courier New" size="2" class="">,</font></font><font color="#a020f0" face="Courier New" size="2" class=""><font color="#a020f0" face="Courier New" size="2" class=""><font color="#a020f0" face="Courier New" size="2" class="">'O1'</font></font></font><font face="Courier New" size="2" class=""><font face="Courier New" size="2" class="">,</font></font><font color="#a020f0" face="Courier New" size="2" class=""><font color="#a020f0" face="Courier New" size="2" class=""><font color="#a020f0" face="Courier New" size="2" class="">'Oz'</font></font></font><font face="Courier New" size="2" class=""><font face="Courier New" size="2" class="">,</font></font><font color="#a020f0" face="Courier New" size="2" class=""><font color="#a020f0" face="Courier New" size="2" class=""><font color="#a020f0" face="Courier New" size="2" class="">'O2'</font></font></font><font face="Courier New" size="2" class=""><font face="Courier New" size="2" class="">,</font></font><font color="#a020f0" face="Courier New" size="2" class=""><font color="#a020f0" face="Courier New" size="2" class=""><font color="#a020f0" face="Courier New" size="2" class="">'O9'</font></font></font><font face="Courier New" size="2" class=""><font face="Courier New" size="2" class="">,</font></font><font color="#a020f0" face="Courier New" size="2" class=""><font color="#a020f0" face="Courier New" size="2" class=""><font color="#a020f0" face="Courier New" size="2" class="">'O10'</font></font></font><font face="Courier New" size="2" class=""><font face="Courier New" size="2" class="">};</font></font><font color="#228b22" face="Courier New" size="2" class=""><font color="#228b22" face="Courier New" size="2" class=""><font color="#228b22" face="Courier New" size="2" class="">%
occipital channels only</font></font></font></div>
<font color="#228b22" face="Courier New" size="2" class=""><font color="#228b22" face="Courier New" size="2" class=""><font color="#228b22" face="Courier New" size="2" class=""></font></font></font><font face="Courier New" size="2" class=""><font face="Courier New" size="2" class="">
<div style="margin-top: 0px; margin-bottom: 0px;" class="">FaceERP = ft_timelockanalysis(FaceTrials,FaceData);</div>
<p style="margin-top: 0px; margin-bottom: 0px;" class=""></p>
</font></font><font color="#228b22" face="Courier New" size="2" class=""><font color="#228b22" face="Courier New" size="2" class=""><font color="#228b22" face="Courier New" size="2" class="">
<div style="margin-top: 0px; margin-bottom: 0px;" class="">%Calculate Vase ERP</div>
</font></font></font><font face="Courier New" size="2" class=""><font face="Courier New" size="2" class=""></font></font>
<div style="margin-top: 0px; margin-bottom: 0px;" class=""><font face="Courier New" size="2" class=""><font face="Courier New" size="2" class="">VaseTrials.reref =</font></font><font color="#a020f0" face="Courier New" size="2" class=""><font color="#a020f0" face="Courier New" size="2" class=""><font color="#a020f0" face="Courier New" size="2" class="">'no'</font></font></font><font face="Courier New" size="2" class=""><font face="Courier New" size="2" class="">;</font></font></div>
<font face="Courier New" size="2" class=""><font face="Courier New" size="2" class=""></font></font>
<div style="margin-top: 0px; margin-bottom: 0px;" class=""><font face="Courier New" size="2" class=""><font face="Courier New" size="2" class="">VaseTrials.keeptrials =</font></font><font color="#a020f0" face="Courier New" size="2" class=""><font color="#a020f0" face="Courier New" size="2" class=""><font color="#a020f0" face="Courier New" size="2" class="">'yes'</font></font></font><font face="Courier New" size="2" class=""><font face="Courier New" size="2" class="">;</font></font><font color="#228b22" face="Courier New" size="2" class=""><font color="#228b22" face="Courier New" size="2" class=""><font color="#228b22" face="Courier New" size="2" class="">%
classifiers operate on individual trials</font></font></font></div>
<font color="#228b22" face="Courier New" size="2" class=""><font color="#228b22" face="Courier New" size="2" class=""><font color="#228b22" face="Courier New" size="2" class=""></font></font></font><font face="Courier New" size="2" class=""><font face="Courier New" size="2" class=""></font></font>
<div style="margin-top: 0px; margin-bottom: 0px;" class=""><font face="Courier New" size="2" class=""><font face="Courier New" size="2" class="">VaseTrials.channel = {</font></font><font color="#a020f0" face="Courier New" size="2" class=""><font color="#a020f0" face="Courier New" size="2" class=""><font color="#a020f0" face="Courier New" size="2" class="">'PO9'</font></font></font><font face="Courier New" size="2" class=""><font face="Courier New" size="2" class="">,</font></font><font color="#a020f0" face="Courier New" size="2" class=""><font color="#a020f0" face="Courier New" size="2" class=""><font color="#a020f0" face="Courier New" size="2" class="">'PO7'</font></font></font><font face="Courier New" size="2" class=""><font face="Courier New" size="2" class="">,</font></font><font color="#a020f0" face="Courier New" size="2" class=""><font color="#a020f0" face="Courier New" size="2" class=""><font color="#a020f0" face="Courier New" size="2" class="">'PO3'</font></font></font><font face="Courier New" size="2" class=""><font face="Courier New" size="2" class="">,</font></font><font color="#a020f0" face="Courier New" size="2" class=""><font color="#a020f0" face="Courier New" size="2" class=""><font color="#a020f0" face="Courier New" size="2" class="">'PO'</font></font></font><font face="Courier New" size="2" class=""><font face="Courier New" size="2" class="">,</font></font><font color="#a020f0" face="Courier New" size="2" class=""><font color="#a020f0" face="Courier New" size="2" class=""><font color="#a020f0" face="Courier New" size="2" class="">'PO4'</font></font></font><font face="Courier New" size="2" class=""><font face="Courier New" size="2" class="">,</font></font><font color="#a020f0" face="Courier New" size="2" class=""><font color="#a020f0" face="Courier New" size="2" class=""><font color="#a020f0" face="Courier New" size="2" class="">'PO8'</font></font></font><font face="Courier New" size="2" class=""><font face="Courier New" size="2" class=""></font></font><font color="#a020f0" face="Courier New" size="2" class=""><font color="#a020f0" face="Courier New" size="2" class=""><font color="#a020f0" face="Courier New" size="2" class="">'PO10'</font></font></font><font face="Courier New" size="2" class=""><font face="Courier New" size="2" class="">,</font></font><font color="#a020f0" face="Courier New" size="2" class=""><font color="#a020f0" face="Courier New" size="2" class=""><font color="#a020f0" face="Courier New" size="2" class="">'O1'</font></font></font><font face="Courier New" size="2" class=""><font face="Courier New" size="2" class="">,</font></font><font color="#a020f0" face="Courier New" size="2" class=""><font color="#a020f0" face="Courier New" size="2" class=""><font color="#a020f0" face="Courier New" size="2" class="">'Oz'</font></font></font><font face="Courier New" size="2" class=""><font face="Courier New" size="2" class="">,</font></font><font color="#a020f0" face="Courier New" size="2" class=""><font color="#a020f0" face="Courier New" size="2" class=""><font color="#a020f0" face="Courier New" size="2" class="">'O2'</font></font></font><font face="Courier New" size="2" class=""><font face="Courier New" size="2" class="">,</font></font><font color="#a020f0" face="Courier New" size="2" class=""><font color="#a020f0" face="Courier New" size="2" class=""><font color="#a020f0" face="Courier New" size="2" class="">'O9'</font></font></font><font face="Courier New" size="2" class=""><font face="Courier New" size="2" class="">,</font></font><font color="#a020f0" face="Courier New" size="2" class=""><font color="#a020f0" face="Courier New" size="2" class=""><font color="#a020f0" face="Courier New" size="2" class="">'O10'</font></font></font><font face="Courier New" size="2" class=""><font face="Courier New" size="2" class="">};</font></font><font color="#228b22" face="Courier New" size="2" class=""><font color="#228b22" face="Courier New" size="2" class=""><font color="#228b22" face="Courier New" size="2" class="">%
occipital channels only</font></font></font></div>
<font color="#228b22" face="Courier New" size="2" class=""><font color="#228b22" face="Courier New" size="2" class=""><font color="#228b22" face="Courier New" size="2" class=""></font></font></font><font face="Courier New" size="2" class=""><font face="Courier New" size="2" class="">
<div style="margin-top: 0px; margin-bottom: 0px;" class="">VaseERP = ft_timelockanalysis(VaseTrials,VaseData);</div>
<p style="margin-top: 0px; margin-bottom: 0px;" class=""></p>
</font></font><font color="#228b22" face="Courier New" size="2" class=""><font color="#228b22" face="Courier New" size="2" class=""><font color="#228b22" face="Courier New" size="2" class="">
<div style="margin-top: 0px; margin-bottom: 0px;" class="">%MVPA</div>
</font></font></font><font face="Courier New" size="2" class=""><font face="Courier New" size="2" class=""></font></font>
<div style="margin-top: 0px; margin-bottom: 0px;" class=""><font face="Courier New" size="2" class=""><font face="Courier New" size="2" class="">cfg.layout =</font></font><font color="#a020f0" face="Courier New" size="2" class=""><font color="#a020f0" face="Courier New" size="2" class=""><font color="#a020f0" face="Courier New" size="2" class="">'biosemi64.lay'</font></font></font><font face="Courier New" size="2" class=""><font face="Courier New" size="2" class="">;</font></font></div>
<font face="Courier New" size="2" class=""><font face="Courier New" size="2" class=""></font></font>
<div style="margin-top: 0px; margin-bottom: 0px;" class=""><font face="Courier New" size="2" class=""><font face="Courier New" size="2" class="">cfg.method =</font></font><font color="#a020f0" face="Courier New" size="2" class=""><font color="#a020f0" face="Courier New" size="2" class=""><font color="#a020f0" face="Courier New" size="2" class="">'crossvalidate'</font></font></font><font face="Courier New" size="2" class=""><font face="Courier New" size="2" class="">;</font></font></div>
<font face="Courier New" size="2" class=""><font face="Courier New" size="2" class="">
<div style="margin-top: 0px; margin-bottom: 0px;" class="">cfg.design = [ones(size(FaceERP.trial,1),1); 2*ones(size(VaseERP.trial,1),1)];</div>
<div style="margin-top: 0px; margin-bottom: 0px;" class="">cfg.nfolds = 4;</div>
<div style="margin-top: 0px; margin-bottom: 0px;" class="">cfg.latency = [-0.1 0.6];</div>
<p style="margin-top: 0px; margin-bottom: 0px;" class=""></p>
</font></font>
<div style="margin-top: 0px; margin-bottom: 0px;" class=""><font face="Courier New" size="2" class=""><font face="Courier New" size="2" class="">cfg.statistic = {</font></font><font color="#a020f0" face="Courier New" size="2" class=""><font color="#a020f0" face="Courier New" size="2" class=""><font color="#a020f0" face="Courier New" size="2" class="">'accuracy'</font></font></font><font face="Courier New" size="2" class=""><font face="Courier New" size="2" class=""></font></font><font color="#a020f0" face="Courier New" size="2" class=""><font color="#a020f0" face="Courier New" size="2" class=""><font color="#a020f0" face="Courier New" size="2" class="">'binomial'</font></font></font><font face="Courier New" size="2" class=""><font face="Courier New" size="2" class=""></font></font><font color="#a020f0" face="Courier New" size="2" class=""><font color="#a020f0" face="Courier New" size="2" class=""><font color="#a020f0" face="Courier New" size="2" class="">'contingency'</font></font></font><font face="Courier New" size="2" class=""><font face="Courier New" size="2" class="">};</font></font></div>
<font face="Courier New" size="2" class=""><font face="Courier New" size="2" class="">
<div style="margin-top: 0px; margin-bottom: 0px;" class="">stat = ft_timelockstatistics (cfg, FaceERP,VaseERP);</div>
<div style="margin-top: 0px; margin-bottom: 0px;" class="">stat.statistic.contingency</div>
<p style="margin-top: 0px; margin-bottom: 0px;" class=""></p>
</font></font><font color="#228b22" face="Courier New" size="2" class=""><font color="#228b22" face="Courier New" size="2" class=""><font color="#228b22" face="Courier New" size="2" class="">
<div style="margin-top: 0px; margin-bottom: 0px;" class="">%Plot MVPA Results</div>
</font></font></font><font face="Courier New" size="2" class=""><font face="Courier New" size="2" class="">
<div style="margin-top: 0px; margin-bottom: 0px;" class="">stat.mymodel = stat.model{2}.primal;</div>
</font></font>
<div style="margin-top: 0px; margin-bottom: 0px;" class=""><font face="Courier New" size="2" class=""><font face="Courier New" size="2" class="">cfg.parameter =</font></font><font color="#a020f0" face="Courier New" size="2" class=""><font color="#a020f0" face="Courier New" size="2" class=""><font color="#a020f0" face="Courier New" size="2" class="">'mymodel'</font></font></font><font face="Courier New" size="2" class=""><font face="Courier New" size="2" class="">;</font></font></div>
<font face="Courier New" size="2" class=""><font face="Courier New" size="2" class="">
<div style="margin-top: 0px; margin-bottom: 0px;" class="">cfg.xlim = [-0.1 0.6];</div>
</font></font>
<div style="margin-top: 0px; margin-bottom: 0px;" class=""><font face="Courier New" size="2" class=""><font face="Courier New" size="2" class="">cfg.comments =</font></font><font color="#a020f0" face="Courier New" size="2" class=""><font color="#a020f0" face="Courier New" size="2" class=""><font color="#a020f0" face="Courier New" size="2" class="">''</font></font></font><font face="Courier New" size="2" class=""><font face="Courier New" size="2" class="">;</font></font></div>
<font face="Courier New" size="2" class=""><font face="Courier New" size="2" class=""></font></font>
<div style="margin-top: 0px; margin-bottom: 0px;" class=""><font face="Courier New" size="2" class=""><font face="Courier New" size="2" class="">cfg.colorbar =</font></font><font color="#a020f0" face="Courier New" size="2" class=""><font color="#a020f0" face="Courier New" size="2" class=""><font color="#a020f0" face="Courier New" size="2" class="">'yes'</font></font></font><font face="Courier New" size="2" class=""><font face="Courier New" size="2" class="">;</font></font></div>
<font face="Courier New" size="2" class=""><font face="Courier New" size="2" class=""></font></font>
<div style="margin-top: 0px; margin-bottom: 0px;" class=""><font face="Courier New" size="2" class=""><font face="Courier New" size="2" class="">cfg.interplimits=</font></font><font color="#a020f0" face="Courier New" size="2" class=""><font color="#a020f0" face="Courier New" size="2" class=""><font color="#a020f0" face="Courier New" size="2" class="">'electrodes'</font></font></font><font face="Courier New" size="2" class=""><font face="Courier New" size="2" class="">;</font></font></div>
<font face="Courier New" size="2" class=""><font face="Courier New" size="2" class="">
<div style="margin-top: 0px; margin-bottom: 0px;" class="">ft_topoplotER(cfg,stat);</div>
<p style="margin-top: 0px; margin-bottom: 0px;" class=""> </p>
<div style="margin-top: 0px; margin-bottom: 0px;" class="">Attached is the resulting topographic map. We found a very weird pattern that doesn't seem to show what we are expecting. It seems as though there might be a glitch or a step we missed.</div>
<div style="margin-top: 0px; margin-bottom: 0px;" class="">We came to the conclusion after running figure(imagesc(stat.mymodel)) in order to understand the topographical map and found a completely different pattern (see second attached Imagesc subject 8 file).</div>
<div style="margin-top: 0px; margin-bottom: 0px;" class="">Why are the patterns very different?</div>
<p style="margin-top: 0px; margin-bottom: 0px;" class=""> </p>
<div style="margin-top: 0px; margin-bottom: 0px;" class="">Moreover, when we ran the MVPA fieldtrip tutorial, the topographical map showed a proper pattern of activity (see tutorial topographic map).</div>
<p style="margin-top: 0px; margin-bottom: 0px;" class=""> </p>
<div style="margin-top: 0px; margin-bottom: 0px;" class="">All the best,</div>
<div style="margin-top: 0px; margin-bottom: 0px;" class="">Diane Abdallah</div>
<p style="margin-top: 0px; margin-bottom: 0px;" class=""> </p>
</font></font><br class="">
<br class="">
</div>
</div>
</div>
<span id="cid:636821339F273B47BAC9DF4B35B01625@ad.kent.ac.uk"><Imagesc Subject 8.fig></span><span id="cid:C27AC22B855F3941B1F86BF4FC3E9405@ad.kent.ac.uk"><Subject 8 Topographical map.fig></span><span id="cid:35D63E3ED492004BB7AF5B148AD92085@ad.kent.ac.uk"><tutorial
topographic map.png></span><span style="font-family: Helvetica; font-size: 12px; 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; float: none; display: inline !important;" class="">_______________________________________________</span><br style="font-family: Helvetica; font-size: 12px; 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;" class="">
<span style="font-family: Helvetica; font-size: 12px; 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; float: none; display: inline !important;" class="">fieldtrip
mailing list</span><br style="font-family: Helvetica; font-size: 12px; 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;" class="">
<a href="mailto:fieldtrip@donders.ru.nl" style="font-family: Helvetica; font-size: 12px; 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="">fieldtrip@donders.ru.nl</a><br style="font-family: Helvetica; font-size: 12px; 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;" class="">
<a href="https://mailman.science.ru.nl/mailman/listinfo/fieldtrip" style="font-family: Helvetica; font-size: 12px; 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></div>
</blockquote>
</div>
<br class="">
</div>
</div>
</body>
</html>