<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<p style="margin-top:0;margin-bottom:0">Hey eeglabers,</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">I just have a quick question: Why does pop_saveset save files as single precision instead of double precision, as requested in eeg_options. The code that is likely responsible for this is:</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0"></p>
<div>if ~strcmpi(class(EEG.data), 'memmapdata') && ~strcmpi(class(EEG.data), 'mmo') && ~strcmpi(class(EEG.data), 'single')</div>
<div> tmpdata = single(reshape(EEG.data, EEG.nbchan, EEG.pnts*EEG.trials));</div>
<div> else </div>
<div> tmpdata = EEG.data;</div>
<div> end;</div>
<br>
<p></p>
<p style="margin-top:0;margin-bottom:0">Is this to save space? Is there a possibility of an edit which reads from the options file to determine which precision it should save the data out in?</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">Regards,</p>
<p style="margin-top:0;margin-bottom:0">Tyler</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<div id="Signature"><style type="text/css" style="display:none"> <!-- p {margin-top:0; margin-bottom:0} --> </style>
<div id="divtagdefaultwrapper" dir="ltr" style="font-size:12pt; color:#000000; font-family:Calibri,Helvetica,sans-serif">
<div name="divtagdefaultwrapper" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:; margin:0">
<div style="font-family:Tahoma; font-size:13px">
<div style="font-family:Tahoma; font-size:13px">
<div style="font-family:Tahoma; font-size:13px">
<div style="font-size:13px">*************************
<div style="font-family:Tahoma"><br>
</div>
<div><font face="Arial"><i>Tyler Grummett ( BBSc, BSc(Hons I))</i></font></div>
<div><font face="Arial"><i>PhD Candidate</i></font></div>
<div><font face="Arial"><i>Brain Signals Laboratory</i></font></div>
<div><font face="Arial"><i>Multimodal Recording Facility</i></font></div>
<div><font face="Arial"><i>Flinders University Tonsley Building</i></font></div>
<div><font face="Arial"><i>Rm 4.17</i></font></div>
<div><font face="Arial"><i>Ext 19573</i></font></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>