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.
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.