<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" id="owaParaStyle">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body fpstyle="1" ocsi="0">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">
<div>Hi all,</div>
<div><br>
</div>
<div>&nbsp;&nbsp;&nbsp; I have a very large Raw file (several hours sampled at 25 kHz) and the analysis depends on not decimating the data. I have been trying to use a memory-mapped file but when I add channels, I get the error:</div>
<div><br>
&gt;&gt;&gt; raw.add_channels([Cz], force_update_info=False)<br>
Traceback (most recent call last):<br>
&nbsp; File &quot;&lt;stdin&gt;&quot;, line 1, in &lt;module&gt;<br>
&nbsp; File &quot;/autofs/space/karima_001/users/alex/software/anaconda2/lib/python2.7/site-packages/mne/channels/channels.py&quot;, line 877, in add_channels<br>
&nbsp;&nbsp;&nbsp; data = np.concatenate(data, axis=con_axis)<br>
MemoryError</div>
<div><br>
</div>
<div>&nbsp;&nbsp;&nbsp; If anyone has helpful information about a way around this, I would appreciate it greatly.</div>
<div><br>
</div>
<div>Thanks,</div>
<div><br>
</div>
<div>Alex Rockhill<br>
</div>
<div><br>
<div style="font-family:Tahoma; font-size:13px">
<div class="BodyFragment"><font size="2"><span style="font-size:10pt">
<div class="PlainText">Translational NeuroEngineering Laboratory<br>
Division of Neurotherapeutics, Department of Psychiatry<br>
Massachusetts General Hospital, Martinos Center<br>
149 13th St Charlestown #2301, Boston, MA 02129</div>
</span></font></div>
</div>
</div>
</div>
</body>
</html>