ucdavis / erplab

ERPLAB Toolbox is a free, open-source Matlab package for analyzing ERP data. It is tightly integrated with EEGLAB Toolbox, extending EEGLAB’s capabilities to provide robust, industrial-strength tools for ERP processing, visualization, and analysis. A graphical user interface makes it easy for beginners to learn, and Matlab scripting provides enormous power for intermediate and advanced users.
http://erpinfo.org/erplab
267 stars 73 forks source link

Documentation of erplab_shiftEventCodes #94

Open sebsau opened 5 years ago

sebsau commented 5 years ago

Dear ERPLAB developers,

I’ve got a question on erplab_shiftEventCodes and its documentation. In the documentation it says that the timeshift argument should contain in milliseconds how I want to shift my event code. So shifting it to 15 ms later, I should use 15 as the value. In the example in the documentation, however, the value for timeshift is given as 0.015 and the comment says that this shifts the event code by 15 ms. I.e., in the example, the time is given in seconds. Which one is the correct way to specify it, seconds or milliseconds?

Thank you very much for your help!

Kind regards, Sebastian