<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none"><!-- p { margin-top: 0px; margin-bottom: 0px; }--></style>
</head>
<body dir="ltr" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p>Dear all, </p>
<p> </p>
<p>I've had a bit of trouble understanding the results that I get when using the ft_topoplotER.
</p>
<p>I have run on matlab R2014a the MVPA tutorial on fieldtrip: <a href="http://www.fieldtriptoolbox.org/tutorial/multivariateanalysis">
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.</p>
<p> </p>
<p>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.
</p>
<p> </p>
<p>This is the code we are running on one of the subjects that we collected: </p>
<font color="#228b22" face="Courier New" size="2"><font color="#228b22" face="Courier New" size="2"><font color="#228b22" face="Courier New" size="2">
<p>%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%PREPROCESSING</p>
<p>%Reading the data</p>
</font></font></font><font face="Courier New" size="2"><font face="Courier New" size="2">
<p>cfg = [];</p>
<p>cfg.dataset = filename1;</p>
</font></font>
<p><font face="Courier New" size="2"><font face="Courier New" size="2">cfg.reref =
</font></font><font color="#a020f0" face="Courier New" size="2"><font color="#a020f0" face="Courier New" size="2"><font color="#a020f0" face="Courier New" size="2">'yes'</font></font></font><font face="Courier New" size="2"><font face="Courier New" size="2">;</font></font></p>
<font face="Courier New" size="2"><font face="Courier New" size="2"></font></font>
<p><font face="Courier New" size="2"><font face="Courier New" size="2">cfg.channel = {</font></font><font color="#a020f0" face="Courier New" size="2"><font color="#a020f0" face="Courier New" size="2"><font color="#a020f0" face="Courier New" size="2">'Cz'</font></font></font><font face="Courier New" size="2"><font face="Courier New" size="2">,
</font></font><font color="#a020f0" face="Courier New" size="2"><font color="#a020f0" face="Courier New" size="2"><font color="#a020f0" face="Courier New" size="2">'PO9'</font></font></font><font face="Courier New" size="2"><font face="Courier New" size="2">,
</font></font><font color="#a020f0" face="Courier New" size="2"><font color="#a020f0" face="Courier New" size="2"><font color="#a020f0" face="Courier New" size="2">'PO7'</font></font></font><font face="Courier New" size="2"><font face="Courier New" size="2">,
</font></font><font color="#a020f0" face="Courier New" size="2"><font color="#a020f0" face="Courier New" size="2"><font color="#a020f0" face="Courier New" size="2">'PO3'</font></font></font><font face="Courier New" size="2"><font face="Courier New" size="2">,
</font></font><font color="#a020f0" face="Courier New" size="2"><font color="#a020f0" face="Courier New" size="2"><font color="#a020f0" face="Courier New" size="2">'PO'</font></font></font><font face="Courier New" size="2"><font face="Courier New" size="2">,
</font></font><font color="#a020f0" face="Courier New" size="2"><font color="#a020f0" face="Courier New" size="2"><font color="#a020f0" face="Courier New" size="2">'PO4'</font></font></font><font face="Courier New" size="2"><font face="Courier New" size="2">,
</font></font><font color="#a020f0" face="Courier New" size="2"><font color="#a020f0" face="Courier New" size="2"><font color="#a020f0" face="Courier New" size="2">'PO8'</font></font></font><font face="Courier New" size="2"><font face="Courier New" size="2">
</font></font><font color="#a020f0" face="Courier New" size="2"><font color="#a020f0" face="Courier New" size="2"><font color="#a020f0" face="Courier New" size="2">'PO10'</font></font></font><font face="Courier New" size="2"><font face="Courier New" size="2">,
</font></font><font color="#a020f0" face="Courier New" size="2"><font color="#a020f0" face="Courier New" size="2"><font color="#a020f0" face="Courier New" size="2">'O1'</font></font></font><font face="Courier New" size="2"><font face="Courier New" size="2">,
</font></font><font color="#a020f0" face="Courier New" size="2"><font color="#a020f0" face="Courier New" size="2"><font color="#a020f0" face="Courier New" size="2">'Oz'</font></font></font><font face="Courier New" size="2"><font face="Courier New" size="2">,
</font></font><font color="#a020f0" face="Courier New" size="2"><font color="#a020f0" face="Courier New" size="2"><font color="#a020f0" face="Courier New" size="2">'O2'</font></font></font><font face="Courier New" size="2"><font face="Courier New" size="2">,</font></font><font color="#a020f0" face="Courier New" size="2"><font color="#a020f0" face="Courier New" size="2"><font color="#a020f0" face="Courier New" size="2">'O9'</font></font></font><font face="Courier New" size="2"><font face="Courier New" size="2">,
</font></font><font color="#a020f0" face="Courier New" size="2"><font color="#a020f0" face="Courier New" size="2"><font color="#a020f0" face="Courier New" size="2">'O10'</font></font></font><font face="Courier New" size="2"><font face="Courier New" size="2">};
</font></font></p>
<font face="Courier New" size="2"><font face="Courier New" size="2"></font></font>
<p><font face="Courier New" size="2"><font face="Courier New" size="2">cfg.refchannel =
</font></font><font color="#a020f0" face="Courier New" size="2"><font color="#a020f0" face="Courier New" size="2"><font color="#a020f0" face="Courier New" size="2">'Cz'</font></font></font><font face="Courier New" size="2"><font face="Courier New" size="2">;
</font></font></p>
<font face="Courier New" size="2"><font face="Courier New" size="2"></font></font>
<p><font face="Courier New" size="2"><font face="Courier New" size="2">cfg.demean =
</font></font><font color="#a020f0" face="Courier New" size="2"><font color="#a020f0" face="Courier New" size="2"><font color="#a020f0" face="Courier New" size="2">'yes'</font></font></font><font face="Courier New" size="2"><font face="Courier New" size="2">;</font></font></p>
<font face="Courier New" size="2"><font face="Courier New" size="2">
<p>data_eeg1 = ft_preprocessing(cfg);</p>
<p></p>
<p></p>
</font></font><font color="#228b22" face="Courier New" size="2"><font color="#228b22" face="Courier New" size="2"><font color="#228b22" face="Courier New" size="2">
<p>%Segmenting data</p>
</font></font></font><font face="Courier New" size="2"><font face="Courier New" size="2"></font></font>
<p><font face="Courier New" size="2"><font face="Courier New" size="2">cfg.trialdef.eventtype =
</font></font><font color="#a020f0" face="Courier New" size="2"><font color="#a020f0" face="Courier New" size="2"><font color="#a020f0" face="Courier New" size="2">'?'</font></font></font><font face="Courier New" size="2"><font face="Courier New" size="2">;</font></font></p>
<font face="Courier New" size="2"><font face="Courier New" size="2">
<p>Dummy = ft_definetrial(cfg);</p>
<p></p>
<p>cfg.trialdef.prestim = 0.1;</p>
<p>cfg.trialdef.poststim = 0.6;</p>
<p>cfg.baselinewindow = [-0.1 0];</p>
<p></p>
</font></font>
<p><font face="Courier New" size="2"><font face="Courier New" size="2">cfg.trialdef.eventtype =
</font></font><font color="#a020f0" face="Courier New" size="2"><font color="#a020f0" face="Courier New" size="2"><font color="#a020f0" face="Courier New" size="2">'STATUS'</font></font></font><font face="Courier New" size="2"><font face="Courier New" size="2">;</font></font></p>
<font face="Courier New" size="2"><font face="Courier New" size="2">
<p>cfg.trialdef.eventvalue = [100];</p>
<p>stimulusTrigger = ft_definetrial(cfg);</p>
<p></p>
<p>cfg.trialdef.eventvalue = [1];</p>
<p>FaceTrials = ft_definetrial(cfg);</p>
<p></p>
<p>cfg.trialdef.eventvalue = [2];</p>
<p>VaseTrials = ft_definetrial(cfg);</p>
<p></p>
</font></font><font color="#228b22" face="Courier New" size="2"><font color="#228b22" face="Courier New" size="2"><font color="#228b22" face="Courier New" size="2">
<p>%Definitions of Triggers</p>
</font></font></font><font face="Courier New" size="2"><font face="Courier New" size="2">
<p>stimulusTrigger = 100;</p>
<p>faceResponseTrigger = 1;</p>
<p>vaseResponseTrigger = 2;</p>
<p></p>
</font></font><font color="#228b22" face="Courier New" size="2"><font color="#228b22" face="Courier New" size="2"><font color="#228b22" face="Courier New" size="2">
<p>%Define Face Trials and Conduct Preprocessing</p>
</font></font></font><font face="Courier New" size="2"><font face="Courier New" size="2">
<p>[trlFaces, eventFaces] = ft_trialfun_BasedOnResp(FaceTrials,stimulusTrigger,faceResponseTrigger);</p>
<p>hdr = ft_read_header(cfg.dataset);</p>
<p>event = ft_read_event(cfg.dataset);</p>
<p>FaceData = ft_preprocessing(FaceTrials);</p>
<p></p>
<p>FaceTrigger = [eventFaces(strcmp(cfg.trialdef.eventtype, {eventFaces.type})).value]';</p>
<p>FaceSample = [eventFaces(strcmp(cfg.trialdef.eventtype, {eventFaces.type})).sample]';</p>
<p></p>
<p>Facepretrig = -round(cfg.trialdef.prestim * hdr.Fs);</p>
<p>Faceposttrig = round(cfg.trialdef.poststim * hdr.Fs);</p>
<p></p>
</font></font><font color="#228b22" face="Courier New" size="2"><font color="#228b22" face="Courier New" size="2"><font color="#228b22" face="Courier New" size="2">
<p>%Define Vase Trials and Conduct Preprocessing</p>
</font></font></font><font face="Courier New" size="2"><font face="Courier New" size="2">
<p>[trlVase, eventVase] = ft_trialfun_BasedOnResp(VaseTrials,stimulusTrigger,vaseResponseTrigger);</p>
<p>hdr = ft_read_header(cfg.dataset);</p>
<p>event = ft_read_event(cfg.dataset);</p>
<p>VaseData = ft_preprocessing(VaseTrials);</p>
<p></p>
<p>VaseTrigger = [eventVase(strcmp(cfg.trialdef.eventtype, {eventVase.type})).value]';</p>
<p>Vasesample = [eventVase(strcmp(cfg.trialdef.eventtype, {eventVase.type})).sample]';</p>
<p></p>
<p>Vasepretrig = -round(cfg.trialdef.prestim * hdr.Fs);</p>
<p>Vaseposttrig = round(cfg.trialdef.poststim * hdr.Fs);</p>
<p></p>
</font></font><font color="#228b22" face="Courier New" size="2"><font color="#228b22" face="Courier New" size="2"><font color="#228b22" face="Courier New" size="2">
<p>%Calculate Face ERP</p>
</font></font></font><font face="Courier New" size="2"><font face="Courier New" size="2"></font></font>
<p><font face="Courier New" size="2"><font face="Courier New" size="2">FaceTrials.reref =
</font></font><font color="#a020f0" face="Courier New" size="2"><font color="#a020f0" face="Courier New" size="2"><font color="#a020f0" face="Courier New" size="2">'no'</font></font></font><font face="Courier New" size="2"><font face="Courier New" size="2">;</font></font></p>
<font face="Courier New" size="2"><font face="Courier New" size="2"></font></font>
<p><font face="Courier New" size="2"><font face="Courier New" size="2">FaceTrials.keeptrials =
</font></font><font color="#a020f0" face="Courier New" size="2"><font color="#a020f0" face="Courier New" size="2"><font color="#a020f0" face="Courier New" size="2">'yes'</font></font></font><font face="Courier New" size="2"><font face="Courier New" size="2">;
</font></font><font color="#228b22" face="Courier New" size="2"><font color="#228b22" face="Courier New" size="2"><font color="#228b22" face="Courier New" size="2">% classifiers operate on individual trials</font></font></font></p>
<font color="#228b22" face="Courier New" size="2"><font color="#228b22" face="Courier New" size="2"><font color="#228b22" face="Courier New" size="2"></font></font></font><font face="Courier New" size="2"><font face="Courier New" size="2"></font></font>
<p><font face="Courier New" size="2"><font face="Courier New" size="2">FaceTrials.channel = {</font></font><font color="#a020f0" face="Courier New" size="2"><font color="#a020f0" face="Courier New" size="2"><font color="#a020f0" face="Courier New" size="2">'PO9'</font></font></font><font face="Courier New" size="2"><font face="Courier New" size="2">,
</font></font><font color="#a020f0" face="Courier New" size="2"><font color="#a020f0" face="Courier New" size="2"><font color="#a020f0" face="Courier New" size="2">'PO7'</font></font></font><font face="Courier New" size="2"><font face="Courier New" size="2">,
</font></font><font color="#a020f0" face="Courier New" size="2"><font color="#a020f0" face="Courier New" size="2"><font color="#a020f0" face="Courier New" size="2">'PO3'</font></font></font><font face="Courier New" size="2"><font face="Courier New" size="2">,
</font></font><font color="#a020f0" face="Courier New" size="2"><font color="#a020f0" face="Courier New" size="2"><font color="#a020f0" face="Courier New" size="2">'PO'</font></font></font><font face="Courier New" size="2"><font face="Courier New" size="2">,
</font></font><font color="#a020f0" face="Courier New" size="2"><font color="#a020f0" face="Courier New" size="2"><font color="#a020f0" face="Courier New" size="2">'PO4'</font></font></font><font face="Courier New" size="2"><font face="Courier New" size="2">,
</font></font><font color="#a020f0" face="Courier New" size="2"><font color="#a020f0" face="Courier New" size="2"><font color="#a020f0" face="Courier New" size="2">'PO8'</font></font></font><font face="Courier New" size="2"><font face="Courier New" size="2">
</font></font><font color="#a020f0" face="Courier New" size="2"><font color="#a020f0" face="Courier New" size="2"><font color="#a020f0" face="Courier New" size="2">'PO10'</font></font></font><font face="Courier New" size="2"><font face="Courier New" size="2">,
</font></font><font color="#a020f0" face="Courier New" size="2"><font color="#a020f0" face="Courier New" size="2"><font color="#a020f0" face="Courier New" size="2">'O1'</font></font></font><font face="Courier New" size="2"><font face="Courier New" size="2">,
</font></font><font color="#a020f0" face="Courier New" size="2"><font color="#a020f0" face="Courier New" size="2"><font color="#a020f0" face="Courier New" size="2">'Oz'</font></font></font><font face="Courier New" size="2"><font face="Courier New" size="2">,
</font></font><font color="#a020f0" face="Courier New" size="2"><font color="#a020f0" face="Courier New" size="2"><font color="#a020f0" face="Courier New" size="2">'O2'</font></font></font><font face="Courier New" size="2"><font face="Courier New" size="2">,</font></font><font color="#a020f0" face="Courier New" size="2"><font color="#a020f0" face="Courier New" size="2"><font color="#a020f0" face="Courier New" size="2">'O9'</font></font></font><font face="Courier New" size="2"><font face="Courier New" size="2">,
</font></font><font color="#a020f0" face="Courier New" size="2"><font color="#a020f0" face="Courier New" size="2"><font color="#a020f0" face="Courier New" size="2">'O10'</font></font></font><font face="Courier New" size="2"><font face="Courier New" size="2">};
</font></font><font color="#228b22" face="Courier New" size="2"><font color="#228b22" face="Courier New" size="2"><font color="#228b22" face="Courier New" size="2">% occipital channels only</font></font></font></p>
<font color="#228b22" face="Courier New" size="2"><font color="#228b22" face="Courier New" size="2"><font color="#228b22" face="Courier New" size="2"></font></font></font><font face="Courier New" size="2"><font face="Courier New" size="2">
<p>FaceERP = ft_timelockanalysis(FaceTrials,FaceData);</p>
<p></p>
</font></font><font color="#228b22" face="Courier New" size="2"><font color="#228b22" face="Courier New" size="2"><font color="#228b22" face="Courier New" size="2">
<p>%Calculate Vase ERP </p>
</font></font></font><font face="Courier New" size="2"><font face="Courier New" size="2"></font></font>
<p><font face="Courier New" size="2"><font face="Courier New" size="2">VaseTrials.reref =
</font></font><font color="#a020f0" face="Courier New" size="2"><font color="#a020f0" face="Courier New" size="2"><font color="#a020f0" face="Courier New" size="2">'no'</font></font></font><font face="Courier New" size="2"><font face="Courier New" size="2">;</font></font></p>
<font face="Courier New" size="2"><font face="Courier New" size="2"></font></font>
<p><font face="Courier New" size="2"><font face="Courier New" size="2">VaseTrials.keeptrials =
</font></font><font color="#a020f0" face="Courier New" size="2"><font color="#a020f0" face="Courier New" size="2"><font color="#a020f0" face="Courier New" size="2">'yes'</font></font></font><font face="Courier New" size="2"><font face="Courier New" size="2">;
</font></font><font color="#228b22" face="Courier New" size="2"><font color="#228b22" face="Courier New" size="2"><font color="#228b22" face="Courier New" size="2">% classifiers operate on individual trials</font></font></font></p>
<font color="#228b22" face="Courier New" size="2"><font color="#228b22" face="Courier New" size="2"><font color="#228b22" face="Courier New" size="2"></font></font></font><font face="Courier New" size="2"><font face="Courier New" size="2"></font></font>
<p><font face="Courier New" size="2"><font face="Courier New" size="2">VaseTrials.channel = {</font></font><font color="#a020f0" face="Courier New" size="2"><font color="#a020f0" face="Courier New" size="2"><font color="#a020f0" face="Courier New" size="2">'PO9'</font></font></font><font face="Courier New" size="2"><font face="Courier New" size="2">,
</font></font><font color="#a020f0" face="Courier New" size="2"><font color="#a020f0" face="Courier New" size="2"><font color="#a020f0" face="Courier New" size="2">'PO7'</font></font></font><font face="Courier New" size="2"><font face="Courier New" size="2">,
</font></font><font color="#a020f0" face="Courier New" size="2"><font color="#a020f0" face="Courier New" size="2"><font color="#a020f0" face="Courier New" size="2">'PO3'</font></font></font><font face="Courier New" size="2"><font face="Courier New" size="2">,
</font></font><font color="#a020f0" face="Courier New" size="2"><font color="#a020f0" face="Courier New" size="2"><font color="#a020f0" face="Courier New" size="2">'PO'</font></font></font><font face="Courier New" size="2"><font face="Courier New" size="2">,
</font></font><font color="#a020f0" face="Courier New" size="2"><font color="#a020f0" face="Courier New" size="2"><font color="#a020f0" face="Courier New" size="2">'PO4'</font></font></font><font face="Courier New" size="2"><font face="Courier New" size="2">,
</font></font><font color="#a020f0" face="Courier New" size="2"><font color="#a020f0" face="Courier New" size="2"><font color="#a020f0" face="Courier New" size="2">'PO8'</font></font></font><font face="Courier New" size="2"><font face="Courier New" size="2">
</font></font><font color="#a020f0" face="Courier New" size="2"><font color="#a020f0" face="Courier New" size="2"><font color="#a020f0" face="Courier New" size="2">'PO10'</font></font></font><font face="Courier New" size="2"><font face="Courier New" size="2">,
</font></font><font color="#a020f0" face="Courier New" size="2"><font color="#a020f0" face="Courier New" size="2"><font color="#a020f0" face="Courier New" size="2">'O1'</font></font></font><font face="Courier New" size="2"><font face="Courier New" size="2">,
</font></font><font color="#a020f0" face="Courier New" size="2"><font color="#a020f0" face="Courier New" size="2"><font color="#a020f0" face="Courier New" size="2">'Oz'</font></font></font><font face="Courier New" size="2"><font face="Courier New" size="2">,
</font></font><font color="#a020f0" face="Courier New" size="2"><font color="#a020f0" face="Courier New" size="2"><font color="#a020f0" face="Courier New" size="2">'O2'</font></font></font><font face="Courier New" size="2"><font face="Courier New" size="2">,</font></font><font color="#a020f0" face="Courier New" size="2"><font color="#a020f0" face="Courier New" size="2"><font color="#a020f0" face="Courier New" size="2">'O9'</font></font></font><font face="Courier New" size="2"><font face="Courier New" size="2">,
</font></font><font color="#a020f0" face="Courier New" size="2"><font color="#a020f0" face="Courier New" size="2"><font color="#a020f0" face="Courier New" size="2">'O10'</font></font></font><font face="Courier New" size="2"><font face="Courier New" size="2">};
</font></font><font color="#228b22" face="Courier New" size="2"><font color="#228b22" face="Courier New" size="2"><font color="#228b22" face="Courier New" size="2">% occipital channels only</font></font></font></p>
<font color="#228b22" face="Courier New" size="2"><font color="#228b22" face="Courier New" size="2"><font color="#228b22" face="Courier New" size="2"></font></font></font><font face="Courier New" size="2"><font face="Courier New" size="2">
<p>VaseERP = ft_timelockanalysis(VaseTrials,VaseData);</p>
<p></p>
</font></font><font color="#228b22" face="Courier New" size="2"><font color="#228b22" face="Courier New" size="2"><font color="#228b22" face="Courier New" size="2">
<p>%MVPA</p>
</font></font></font><font face="Courier New" size="2"><font face="Courier New" size="2"></font></font>
<p><font face="Courier New" size="2"><font face="Courier New" size="2">cfg.layout =
</font></font><font color="#a020f0" face="Courier New" size="2"><font color="#a020f0" face="Courier New" size="2"><font color="#a020f0" face="Courier New" size="2">'biosemi64.lay'</font></font></font><font face="Courier New" size="2"><font face="Courier New" size="2">;</font></font></p>
<font face="Courier New" size="2"><font face="Courier New" size="2"></font></font>
<p><font face="Courier New" size="2"><font face="Courier New" size="2">cfg.method =
</font></font><font color="#a020f0" face="Courier New" size="2"><font color="#a020f0" face="Courier New" size="2"><font color="#a020f0" face="Courier New" size="2">'crossvalidate'</font></font></font><font face="Courier New" size="2"><font face="Courier New" size="2">;</font></font></p>
<font face="Courier New" size="2"><font face="Courier New" size="2">
<p>cfg.design = [ones(size(FaceERP.trial,1),1); 2*ones(size(VaseERP.trial,1),1)];</p>
<p>cfg.nfolds = 4;</p>
<p>cfg.latency = [-0.1 0.6];</p>
<p></p>
</font></font>
<p><font face="Courier New" size="2"><font face="Courier New" size="2">cfg.statistic = {</font></font><font color="#a020f0" face="Courier New" size="2"><font color="#a020f0" face="Courier New" size="2"><font color="#a020f0" face="Courier New" size="2">'accuracy'</font></font></font><font face="Courier New" size="2"><font face="Courier New" size="2">
</font></font><font color="#a020f0" face="Courier New" size="2"><font color="#a020f0" face="Courier New" size="2"><font color="#a020f0" face="Courier New" size="2">'binomial'</font></font></font><font face="Courier New" size="2"><font face="Courier New" size="2">
</font></font><font color="#a020f0" face="Courier New" size="2"><font color="#a020f0" face="Courier New" size="2"><font color="#a020f0" face="Courier New" size="2">'contingency'</font></font></font><font face="Courier New" size="2"><font face="Courier New" size="2">};</font></font></p>
<font face="Courier New" size="2"><font face="Courier New" size="2">
<p>stat = ft_timelockstatistics (cfg, FaceERP,VaseERP);</p>
<p>stat.statistic.contingency </p>
<p></p>
</font></font><font color="#228b22" face="Courier New" size="2"><font color="#228b22" face="Courier New" size="2"><font color="#228b22" face="Courier New" size="2">
<p>%Plot MVPA Results</p>
</font></font></font><font face="Courier New" size="2"><font face="Courier New" size="2">
<p>stat.mymodel = stat.model{2}.primal;</p>
</font></font>
<p><font face="Courier New" size="2"><font face="Courier New" size="2">cfg.parameter =
</font></font><font color="#a020f0" face="Courier New" size="2"><font color="#a020f0" face="Courier New" size="2"><font color="#a020f0" face="Courier New" size="2">'mymodel'</font></font></font><font face="Courier New" size="2"><font face="Courier New" size="2">;</font></font></p>
<font face="Courier New" size="2"><font face="Courier New" size="2">
<p>cfg.xlim = [-0.1 0.6];</p>
</font></font>
<p><font face="Courier New" size="2"><font face="Courier New" size="2">cfg.comments =
</font></font><font color="#a020f0" face="Courier New" size="2"><font color="#a020f0" face="Courier New" size="2"><font color="#a020f0" face="Courier New" size="2">''</font></font></font><font face="Courier New" size="2"><font face="Courier New" size="2">;</font></font></p>
<font face="Courier New" size="2"><font face="Courier New" size="2"></font></font>
<p><font face="Courier New" size="2"><font face="Courier New" size="2">cfg.colorbar =
</font></font><font color="#a020f0" face="Courier New" size="2"><font color="#a020f0" face="Courier New" size="2"><font color="#a020f0" face="Courier New" size="2">'yes'</font></font></font><font face="Courier New" size="2"><font face="Courier New" size="2">;</font></font></p>
<font face="Courier New" size="2"><font face="Courier New" size="2"></font></font>
<p><font face="Courier New" size="2"><font face="Courier New" size="2">cfg.interplimits=
</font></font><font color="#a020f0" face="Courier New" size="2"><font color="#a020f0" face="Courier New" size="2"><font color="#a020f0" face="Courier New" size="2">'electrodes'</font></font></font><font face="Courier New" size="2"><font face="Courier New" size="2">;</font></font></p>
<font face="Courier New" size="2"><font face="Courier New" size="2">
<p>ft_topoplotER(cfg,stat);</p>
<p> </p>
<p>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.
</p>
<p>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).
</p>
<p>Why are the patterns very different? </p>
<p> </p>
<p>Moreover, when we ran the MVPA fieldtrip tutorial, the topographical map showed a proper pattern of activity (see tutorial topographic map).
</p>
<p> </p>
<p>All the best, </p>
<p>Diane Abdallah </p>
<p> </p>
</font></font>
</body>
</html>