<div dir="ltr"><div>Dear All,<br><br></div>When I run a script to remove environmental noise, I met the memory error. The information as following:<br><br><i>MemoryError                               Traceback (most recent call last)<br>
/usr/lib/python2.7/dist-packages/IPython/utils/py3compat.pyc in execfile(fname, *where)<br>    202             else:<br>    203                 filename = fname<br>--&gt; 204             __builtin__.execfile(filename, *where)<br>
<br>/home/imenb101/Forward and Inverse Problem/EmptyRoomProcessing.py in &lt;module&gt;()<br>     52 #Remove the environmental noises using emptyroom signals<br>     53 empty_proj = mne.compute_proj_raw(raw_empty)<br>---&gt; 54 raw_cleaned_enviro = raw.copy().add_proj(empty_proj).apply_proj()<br>
     55 raw_cleaned_enviro.save(subject_path+&#39;/MEG/ssp_cleaned_%s.fif&#39; %(raw_basename), overwrite=True)#save the raw data without the environmental noise<br>     56 <br><br>/usr/local/lib/python2.7/dist-packages/mne-0.8.git-py2.7.egg/mne/fiff/proj.pyc in apply_proj(self)<br>
    131                     data = data()<br>    132             else:<br>--&gt; 133                 data = np.dot(self._projector, data)<br>    134             break<br>    135         <a href="http://logger.info">logger.info</a>(&#39;SSP projectors applied...&#39;)<br>
<br>MemoryError: </i><br><br><div><div>Can anyone give me some suggestions? Thanks!<br clear="all"></div><div><div><div dir="ltr">Best wishes,<br>Qunxi Dong<br></div></div>
</div></div></div>