<div dir="ltr"><div><div><div>Dear Makoto,<br><br></div>The units I had defined in the text file and custom scripts were correct. I think the problem was caused by the large baseline latency range (-1000 0) which had replaced the original epoched dataset. When I reduced this range, I could easily get the desired ERP plots. <br>
<br></div>Thanks for your help, <br><br></div>Mastaneh <br><br><div><div><div><div><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br><br>From: Makoto Miyakoshi <<a href="mailto:mmiyakoshi@ucsd.edu">mmiyakoshi@ucsd.edu</a>><br>To: Mastaneh Torkamani <<a href="mailto:mastaneht.83@gmail.com">mastaneht.83@gmail.com</a>><br>Cc: EEGLAB List <<a href="mailto:eeglablist@sccn.ucsd.edu">eeglablist@sccn.ucsd.edu</a>><br>
Date: Mon, 15 Jul 2013 18:26:31 -0700<br>Subject: Re: [Eeglablist] Data reduction after extracting epochs<br><div dir="ltr">Dear Mastaneh,<div><br></div><div>Please check if you by any chance confused time units (seconds vs. datapoints).</div>
<div><br></div><div>Makoto</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">

2013/7/13 Mastaneh Torkamani <span dir="ltr"><<a href="mailto:mastaneht.83@gmail.com" target="_blank">mastaneht.83@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


<div dir="ltr"><div><div><div><div><font face="Helvetica, Arial, sans-serif"><br></font></div><font face="Helvetica, Arial, sans-serif">Dear all,<br><br></font></div><font face="Helvetica, Arial, sans-serif">I have a number of EDF files which contain recordings from an epithetic patient. As the IPS and HV events were not correctly saved in those files, I added the event information to a text file and wrote a script to load all the fields into the EEG structure. I followed instructions in this link <a href="http://sccn.ucsd.edu/wiki/Chapter_03:_Event_Processing" target="_blank">http://sccn.ucsd.edu/wiki/Chapter_03:_Event_Processing</a> and believe the event fields and values are similar to the example data sets and match. <br>



However, when I extract epochs, the data length is considerably decreased and all the events seem to overlap with each other. Therefore, I cannot get any ERP plots and receive the following info : <br><br>Removing 20 trials with NaN sortvar values.<br>



Setting variable avewidth to max 2.<br>Sorting data on input sortvar.<br>100.00% of the trials (i.e., 2 out of 2) have the same sortvar value as at least one other trial.<br>Distribution of number ties per unique value of sortvar:<br>



Min: 2, 25th ptile: 2, Median: 2, 75th ptile: 2, Max: 2<br>Smoothing the sorted epochs with a 2-epoch moving window.<br>  and a decimation factor of 1<br><br></font></div><div><font face="Helvetica, Arial, sans-serif">So, what should I do to define the trials and epoch lengths correctly? <br>



<br>Any help is greatly appreciated.</font><br></div><font face="Helvetica, Arial, sans-serif"><br></font></div><div><font face="Helvetica, Arial, sans-serif">Best,<br></font></div><font face="Helvetica, Arial, sans-serif">Mastaneh <br>



</font></div>
<br>_______________________________________________<br>
Eeglablist page: <a href="http://sccn.ucsd.edu/eeglab/eeglabmail.html" target="_blank">http://sccn.ucsd.edu/eeglab/eeglabmail.html</a><br>
To unsubscribe, send an empty email to <a href="mailto:eeglablist-unsubscribe@sccn.ucsd.edu" target="_blank">eeglablist-unsubscribe@sccn.ucsd.edu</a><br>
For digest mode, send an email with the subject "set digest mime" to <a href="mailto:eeglablist-request@sccn.ucsd.edu" target="_blank">eeglablist-request@sccn.ucsd.edu</a><br></blockquote></div><br><br clear="all">
<div><br></div>

-- <br><div dir="ltr">Makoto Miyakoshi<br>Swartz Center for Computational Neuroscience<br>Institute for Neural Computation, University of California San Diego<br></div>
</div>
<br></blockquote></div><br></div></div></div></div></div></div>