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
263 stars 75 forks source link

DQ_spec expects epochs longer than 100ms #139

Open andrewxstewart opened 3 years ago

andrewxstewart commented 3 years ago

In pop_averager, if DQ_flag is on, a DQ_spec is prepared.

Around line 390, there is a call to make_DQ_spec.

Time windows for the data quality metrics are prepared, tiling around -100:0 and 0:100 ms.

There is a possibility this could inelegantly fail with an error message if the epoch length is less than 100 ms.

Needs more investigation.