<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//DE"><HTML><HEAD><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii"><TITLE>Message</TITLE></HEAD><BODY>Hi everyone,<br><br>I recently had trouble using signal processing functions because my EEG data are in single precision, whereas these functions expect double precision. On my machine, RAM is not really an issue, so I unchecked the EEGLAB option to use single precision to save RAM.<br><br>After digging through a number of EEGLAB functions, which were used for pre-processing the data, I found that most functions do read the eeg_options file and use single/double precision accordingly. However, pop_saveset seems to force the data to single precision when the data are stored to the hard drive no matter which options are set in the eeg_options file:<br><br>if ~strcmpi(class(EEG.data), 'memmapdata') & ~strcmpi(class(EEG.data), 'single')<br> tmpdata = single(reshape(EEG.data, EEG.nbchan, EEG.pnts*EEG.trials));<br><br>Of course I could delete these lines or use double(EEG.data) whenever I need double precision. However, I would like to understand why pop_saveset forces single precision and why it does not use the eeg_options.<br><br>Any ideas, anyone?<br><br>Best<br>Niko<br></BODY></HTML>