<div dir="ltr">Dear EEG Lab List,<div><br></div><div>I had a quick question about how to correct for trigger time delays.  My time delay for my study is about 50 ms, and according to the site, using the function erptimeshift(erp, amount of delay) should adjust the dataset to fix the problem, but whenever I employ the function, I get the following error, and I am not sure how to fix this.</div>
<div><br></div><div>Is there something that I need to do (re-formatting my ERP) to fix the problem?  Any help would be appreciated.</div><div><br></div><div><br></div><div>>> erptimeshift('61_ERPs.erp', 50)<div>
Attempt to reference field of non-structure array.</div><div><br></div><div>Error in erptimeshift (line 52)</div><div>fulltime = (ERP.xmax-ERP.xmin)*1000;</div><div><br></div><div><br></div><div><br></div><div><br></div><div>
Thanks,</div><div><br></div><div>Brandon</div>-- <br><div dir="ltr"><br><b>Brandon W. Ng, M.A.</b><div>PhD Student in Cultural Neuroscience, University of Virginia</div><div>BA with Dual Honors, <i>Phi Beta Kappa</i>, Northwestern University</div>
<div>UVA Morris Social Neuroscience Lab</div><div>UVA Oishi Culture and Well-Being Lab</div><div>E-Mail: <a href="mailto:brandonng2011@u.northwestern.edu" target="_blank">brandonng2011@u.northwestern.edu</a></div><div>Website: <a href="http://www.epernicus.com/bwn" target="_blank">http://www.epernicus.com/bwn</a></div>
<div><a href="http://uvasocialneuroscience.com/" target="_blank">http://uvasocialneuroscience.com/</a></div><div><br></div><div><br></div></div>
</div></div>