<div dir="ltr">Hey Andy,<div><br></div><div>Yes, it should be possible to implement a precision argument in mne-python. I should be able to get to it this week.</div><div><br></div><div>Cheers,</div><div>Eric</div><div><br>

</div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Wed, Jan 30, 2013 at 6:38 AM, Dykstra, Andrew <span dir="ltr">&lt;<a href="mailto:Andrew.Dykstra@med.uni-heidelberg.de" target="_blank">Andrew.Dykstra@med.uni-heidelberg.de</a>&gt;</span> wrote:<br>


<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Alexandre, Peter,<br>
<br>
While it&#39;s not nearly as problematic as going from 2 to 18 Gb, I also<br>
experience file size increases (usually exact doubling minus the last<br>
small buffer) when rewriting fif files, not only in MATLAB but also with<br>
the Python tools.  In my case, I&#39;ve always wondered whether it&#39;s just a<br>
difference in the default writing precisions between the modern MNE<br>
package and our system (Neuromag 122), in which case I&#39;m content with<br>
storing the data in the higher precision.  In any case, would it be<br>
possible to include a precision argument in the Python writing tool?<br>
<br>
Cheers,<br>
Andy<br>
<br>
--<br>
Andrew R. Dykstra, PhD<br>
Auditory Cognition Lab<br>
Neurologie und Poliklinik<br>
Universitätsklinikum Heidelberg<br>
Im Neuenheimer Feld 400<br>
69120 Heidelberg<br>
<br>
&quot;How small the cosmos.  How paltry and puny compared to human consciousness . . . to a single individual recollection.&quot; - Vladimir Nabokov<br>
<br>
<br>
<br>
&quot;hi Peter,<br>
<br>
&gt; The size of the input file is ~2gb but when<br>
&gt; writing, the output is approx ~18gb. I suspect I&#39;m writing a WHOLE bunch of<br>
&gt; redundant data, but am unable to open the new file, even on a machine<br>
&gt; running 16gb RAM.<br>
<br>
what is likely to happen is that the matlab code writes data as double precision<br>
while the original neuromag data were in float 16. Note that a single fif file<br>
cannot exceed 2Go due to internal pointer arithmetic otherwise it will<br>
be broken.<br>
What you can do is hack the fif writing to make sure it&#39;s written back<br>
in float16.<br>
<br>
Best,<br>
Alex<br>
<br>
_______________________________________________<br>
Mne_analysis mailing list<br>
<a href="mailto:Mne_analysis@nmr.mgh.harvard.edu" target="_blank">Mne_analysis@nmr.mgh.harvard.edu</a><br>
<a href="https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis" target="_blank">https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis</a><br>
<br>
<br>
The information in this e-mail is intended only for the person to whom it is<br>
addressed. If you believe this e-mail was sent to you in error and the e-mail<br>
contains patient information, please contact the Partners Compliance HelpLine at<br>
<a href="http://www.partners.org/complianceline" target="_blank">http://www.partners.org/complianceline</a> . If the e-mail was sent to you in error<br>
but does not contain patient information, please contact the sender and properly<br>
dispose of the e-mail.<br>
<br>
</blockquote></div><br></div></div>