<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style=" margin: 0px; font-size: 15px; font-family: "Segoe UI", "Segoe UI Web (West European)", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif; color: rgb(33, 33, 33); background-color: rgb(255, 255, 255)">Hi, my name
 is Eric Rodrigues<br>
</span></div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="color: rgb(33, 33, 33); font-family: "Segoe UI", "Segoe UI Web (West European)", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif; font-size: 15px; background-color: rgb(255, 255, 255); display: inline !important"></span>
<div style=" margin: 0px; font-size: 15px; font-family: "Segoe UI", "Segoe UI Web (West European)", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif; color: rgb(33, 33, 33); background-color: rgb(255, 255, 255)">
I am a Master's student in Neuroengineering at the Santos Dumont Institute in Brazil.</div>
<div style=" margin: 0px; font-size: 15px; font-family: "Segoe UI", "Segoe UI Web (West European)", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif; color: rgb(33, 33, 33); background-color: rgb(255, 255, 255)">
<br>
</div>
<div style=" margin: 0px; font-size: 15px; font-family: "Segoe UI", "Segoe UI Web (West European)", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif; color: rgb(33, 33, 33); background-color: rgb(255, 255, 255)">
<span style=" font-size: 15px; background-color: rgb(255, 255, 255); display: inline !important"><span>I would like to define the data that will be read for preprocessing, for this I am using the 'ft_definetrial' function. I initially used the following script:</span></span><br>
</div>
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span>cfg = [];<br>
</span>
<div>cfg.dataset             = 'rat1.nex';<br>
</div>
<div>cfg.trialdef.eventtype = '?';<br>
</div>
<span>dummy                   = ft_definetrial(cfg);</span><br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span><br>
</span></div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span><span>evaluating trialfunction 'ft_trialfun_general'<br>
</span>
<div>reading the header from 'rat1.nex'<br>
</div>
<div>reading the events from 'rat1.nex'<br>
</div>
<div>the following events were found in the datafile<br>
</div>
<div>event type: 'AllFile                                                         '
<br>
</div>
<div>with event values: <br>
</div>
<div>event type: 'Event03                                                         ' <br>
</div>
<div>with event values: <br>
</div>
<div>event type: 'Event04                                                         ' <br>
</div>
<div>with event values: <br>
</div>
<div>event type: 'Event05                                                         ' <br>
</div>
<div>with event values: <br>
</div>
<div>event type: 'Event06                                                         ' <br>
</div>
<div>with event values: <br>
</div>
<div>event type: 'Event07                                                         ' <br>
</div>
<div>with event values: <br>
</div>
<div>event type: 'Event08                                                         ' <br>
</div>
<div>with event values: <br>
</div>
<div>event type: 'Event17                                                         ' <br>
</div>
<div>with event values: <br>
</div>
<div>event type: 'Event18                                                         ' <br>
</div>
<div>with event values: <br>
</div>
<div>event type: 'Event19                                                         ' <br>
</div>
<div>with event values: <br>
</div>
<div>event type: 'Event20                                                         ' <br>
</div>
<div>with event values: <br>
</div>
<div>event type: 'Event21                                                         ' <br>
</div>
<div>with event values: <br>
</div>
<div>event type: 'Event22                                                         ' <br>
</div>
<div>with event values: <br>
</div>
<div>event type: 'Event23                                                         ' <br>
</div>
<div>with event values: <br>
</div>
<div>event type: 'Start                                                           ' <br>
</div>
<div>with event values: <br>
</div>
<div>event type: 'Stop                                                            ' <br>
</div>
<div>with event values: <br>
</div>
<div><br>
</div>
<div>no trials have been defined yet, see FT_DEFINETRIAL for further help<br>
</div>
<div>found 4620 events<br>
</div>
<div>created 0 trials<br>
</div>
<div>the call to "ft_definetrial" took 1 seconds and required the additional allocation of an estimated 0 MB<br>
</div>
<span>>> </span><br>
</span></div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span><br>
</span></div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span><span style="color: rgb(33, 33, 33); font-family: "Segoe UI", "Segoe UI Web (West European)", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif; font-size: 15px; background-color: rgb(255, 255, 255); display: inline !important">I
 want to create windows of 8 seconds (4 seconds before and 4 seconds later) in relation to Event 21, for this:</span><br>
</span></div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span><span style="color: rgb(33, 33, 33); font-family: "Segoe UI", "Segoe UI Web (West European)", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif; font-size: 15px; background-color: rgb(255, 255, 255); display: inline !important"><br>
</span></span></div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span><span style="color: rgb(33, 33, 33); font-family: "Segoe UI", "Segoe UI Web (West European)", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif; font-size: 15px; background-color: rgb(255, 255, 255); display: inline !important"><span style="color: rgb(0, 0, 0); font-family: Calibri, Helvetica, sans-serif; font-size: 16px; background-color: rgb(255, 255, 255); display: inline !important"><span><span>cfg
                         = [];<br>
</span>
<div>cfg.dataset             = 'rat1.nex';<br>
</div>
<div>cfg.trialfun                = 'ft_trialfun_general';<br>
</div>
<div>cfg.trialdef.eventtype      = 'Event21';<br>
</div>
<div>cfg.trialdef.eventvalue     = '?';<br>
</div>
<div>cfg.trialdef.prestim        = 4; % in seconds<br>
</div>
<div>cfg.trialdef.poststim       = 4; % in seconds<br>
</div>
<div> <br>
</div>
<span>cfg = ft_definetrial(cfg);</span></span></span><br>
</span></span></div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span><span style="color: rgb(33, 33, 33); font-family: "Segoe UI", "Segoe UI Web (West European)", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif; font-size: 15px; background-color: rgb(255, 255, 255); display: inline !important"><span style="color: rgb(0, 0, 0); font-family: Calibri, Helvetica, sans-serif; font-size: 16px; background-color: rgb(255, 255, 255); display: inline !important"><span><span><br>
</span></span></span></span></span></div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span><span style="color: rgb(33, 33, 33); font-family: "Segoe UI", "Segoe UI Web (West European)", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif; font-size: 15px; background-color: rgb(255, 255, 255); display: inline !important"><span style="color: rgb(0, 0, 0); font-family: Calibri, Helvetica, sans-serif; font-size: 16px; background-color: rgb(255, 255, 255); display: inline !important"><span><span><span style="color: rgb(33, 33, 33); font-family: "Segoe UI", "Segoe UI Web (West European)", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif; font-size: 15px; background-color: rgb(255, 255, 255); display: inline !important">However,
 the following error appears:<span></span></span><br>
</span></span></span></span></span></div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span><span style="color: rgb(33, 33, 33); font-family: "Segoe UI", "Segoe UI Web (West European)", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif; font-size: 15px; background-color: rgb(255, 255, 255); display: inline !important"><span style="color: rgb(0, 0, 0); font-family: Calibri, Helvetica, sans-serif; font-size: 16px; background-color: rgb(255, 255, 255); display: inline !important"><span><span><span style="color: rgb(33, 33, 33); font-family: "Segoe UI", "Segoe UI Web (West European)", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif; font-size: 15px; background-color: rgb(255, 255, 255); display: inline !important"><br>
</span></span></span></span></span></span></div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span><span style="color: rgb(33, 33, 33); font-family: "Segoe UI", "Segoe UI Web (West European)", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif; font-size: 15px; background-color: rgb(255, 255, 255); display: inline !important"><span style="color: rgb(0, 0, 0); font-family: Calibri, Helvetica, sans-serif; font-size: 16px; background-color: rgb(255, 255, 255); display: inline !important"><span><span><span style="color: rgb(33, 33, 33); font-family: "Segoe UI", "Segoe UI Web (West European)", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif; font-size: 15px; background-color: rgb(255, 255, 255); display: inline !important"><span style="color: rgb(0, 0, 0); font-family: Calibri, Helvetica, sans-serif; font-size: 16px; background-color: rgb(255, 255, 255); display: inline !important"><span>Error
 using ft_definetrial (line 188)<br>
</span><span>no trials were defined, see FT_DEFINETRIAL for help</span></span><br>
</span></span></span></span></span></span></div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span><span style="color: rgb(33, 33, 33); font-family: "Segoe UI", "Segoe UI Web (West European)", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif; font-size: 15px; background-color: rgb(255, 255, 255); display: inline !important"><span style="color: rgb(0, 0, 0); font-family: Calibri, Helvetica, sans-serif; font-size: 16px; background-color: rgb(255, 255, 255); display: inline !important"><span><span><span style="color: rgb(33, 33, 33); font-family: "Segoe UI", "Segoe UI Web (West European)", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif; font-size: 15px; background-color: rgb(255, 255, 255); display: inline !important"><br>
</span></span></span></span></span></span></div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span><span style="color: rgb(33, 33, 33); font-family: "Segoe UI", "Segoe UI Web (West European)", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif; font-size: 15px; background-color: rgb(255, 255, 255); display: inline !important"><span style="color: rgb(0, 0, 0); font-family: Calibri, Helvetica, sans-serif; font-size: 16px; background-color: rgb(255, 255, 255); display: inline !important"><span><span><span style="color: rgb(33, 33, 33); font-family: "Segoe UI", "Segoe UI Web (West European)", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif; font-size: 15px; background-color: rgb(255, 255, 255); display: inline !important">Thanks
 in advance for the help.<br>
</span></span></span></span></span></span></div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div id="signature">
<div id="divtagdefaultwrapper" dir="ltr" style="font-size:12pt; color:rgb(0,0,0); font-family:Calibri,Helvetica,sans-serif,EmojiFont,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols,EmojiFont,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols">
<p style="margin-top: 0px; margin-bottom: 0px;"></p>
<div style="text-align:left"><b><span style="font-size:12pt">Eric Gabriel Oliveira Rodrigues</span></b></div>
<div style="text-align:left"><i style="font-size:12pt"><span style="font-size:12pt">Engenheiro Civil - CREA: 2116637597 - RN</span></i><br>
</div>
<div style="text-align:left"><i style="font-size:12pt"><span style="font-size:12pt">
<div>Mestrando em Neuroengenharia</div>
<div>Edmond and Lily Safra International Institute of Neuroscience</div>
<div>Macaiba, RN - Brazil.</div>
</span></i></div>
<span style="font-size:12pt"></span>
<div style="text-align:left"><i><span style="font-size:12pt">(84) 99627-5378</span></i></div>
<p style="margin-top: 0px; margin-bottom: 0px;"></p>
</div>
</div>
</body>
</html>