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

Measurement Tool returns '0' for empty bins, rather than Nan #99

Open andrewxstewart opened 5 years ago

andrewxstewart commented 5 years ago

Some ERPsets have bins that have no trials, so they are empty.

On running the Measurement Tool, it would seem to make sense that this should return a value of Nan - to indicate that there was not a valid measurement here.

But, at the moment, Kurt reports that the Measurement Tool can return a zero. This could be potentially misleading.