<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi Clayton,<div class=""><br class=""></div><div class="">I think most of the operations using 32-bit single precision numbers are supported since more than 5 years ago (at least filtering). Also, historically, we used to be limited with memory in Matlab for single dataset processing. This is only rarely the case anymore.</div><div class=""><br class=""></div><div class="">Data should be stored on disk as single precision (disk usage remains high especially in EEGLAB 14, where all the single trial estimates are stored at the STUDY level) but for processing one may use single or double precision. As far as using new SP toolbox tools, remember that in most cases, precision will not make a noticeable difference (so it is not like some process will fail when using single, and then magically work when using double). If, I can find the time, I will try to run two pipelines one in single and one in double precision (including ICA and filtering) to assess if there is a real gains terms of SNR.</div><div class=""><br class=""></div><div class="">Arno</div><div class=""><br class=""></div><div class=""><div><blockquote type="cite" class=""><div class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">Hi Arno, </div><div class=""><br class=""></div><div class="">A number of years ago I looked at converting data to single during some of the internal operations for the Makeig implementation of Bell & Sejnowski ICA (ie. runica). This was to try and reduce memory usage for big data files. A few things came up in this process, I submitted a couple of bug reports, and you and I emailed back and forth. </div><div class=""><br class=""></div><div class="">One thing I found out (thanks to Germán Gómez-Herrero and my own fiddling) was that many of the matlab toolboxes did not support single precision data at the time, and were not graceful in how they failed (ie. they messed up your data without telling you that anything was wrong). In particular, the signal processing toolbox did this.</div><div class=""><br class=""></div><div class="">Not a big deal… you just have to remember to cast data to double before you apply any operations from the SP toolbox, as is done internally for filtering, resampling etc. But it would be easy for someone to be unaware of this, try some new approach with the SP toolbox, and find themselves with a mess… </div><div class=""><br class=""></div><div class="">It wouldn’t surprise me if Mathworks has updated the commercial toolboxes to consistently and properly support singles. But it also wouldn’t surprise me if they haven’t. A few minutes of google hasn’t given me a clear answer. Do you know? </div><div class=""><br class=""></div><div class="">thanks, </div><div class="">clayton</div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""><blockquote type="cite" class=""><div class=""><br class=""><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class=""><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(127, 127, 127, 1.0);" class=""><b class="">From: </b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class="">Arnaud Delorme <<a href="mailto:arno@ucsd.edu" class="">arno@ucsd.edu</a>><br class=""></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class=""><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(127, 127, 127, 1.0);" class=""><b class="">Subject: </b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class=""><b class="">Re: [Eeglablist] ICA running very slowly</b><br class=""></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class=""><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(127, 127, 127, 1.0);" class=""><b class="">Date: </b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class="">February 4, 2017 at 4:47:32 PM GMT+1<br class=""></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class=""><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(127, 127, 127, 1.0);" class=""><b class="">To: </b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class="">Andreas Widmann <<a href="mailto:widmann@uni-leipzig.de" class="">widmann@uni-leipzig.de</a>><br class=""></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class=""><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(127, 127, 127, 1.0);" class=""><b class="">Cc: </b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class="">eeglablist <<a href="mailto:eeglablist@sccn.ucsd.edu" class="">eeglablist@sccn.ucsd.edu</a>><br class=""></span></div><br class=""><br class="">Yes, this is right which is why the data is automatically converted to double precision when filtering, resampling and ICA.<br class=""><br class="">Arno<br class=""></div></blockquote></div><br class=""></div>_______________________________________________<br class="">Eeglablist page: <a href="http://sccn.ucsd.edu/eeglab/eeglabmail.html" class="">http://sccn.ucsd.edu/eeglab/eeglabmail.html</a><br class="">To unsubscribe, send an empty email to <a href="mailto:eeglablist-unsubscribe@sccn.ucsd.edu" class="">eeglablist-unsubscribe@sccn.ucsd.edu</a><br class="">For digest mode, send an email with the subject "set digest mime" to <a href="mailto:eeglablist-request@sccn.ucsd.edu" class="">eeglablist-request@sccn.ucsd.edu</a></div></blockquote></div><br class=""></div></body></html>