[Mne_analysis] Memmory error from MNE-Python

Denis-Alexander Engemann denis.engemann at gmail.com
Tue Feb 18 08:50:26 EST 2014
Search archives:

Qunxi,

you should check your RAM available using e.g. the 'htop' command.
If you execute the lines listed below a full copy of your raw data
will be produced.
Also it's not recommended to explore SSP at the raw stage. I would
postpone this to the epochs or evoked stage.


HTH,
Denis

On Tue, Feb 18, 2014 at 2:46 PM, 董群喜 <dongqunxi at gmail.com> wrote:
> Dear All,
>
> When I run a script to remove environmental noise, I met the memory error.
> The information as following:
>
> MemoryError                               Traceback (most recent call last)
> /usr/lib/python2.7/dist-packages/IPython/utils/py3compat.pyc in
> execfile(fname, *where)
>     202             else:
>     203                 filename = fname
> --> 204             __builtin__.execfile(filename, *where)
>
> /home/imenb101/Forward and Inverse Problem/EmptyRoomProcessing.py in
> <module>()
>      52 #Remove the environmental noises using emptyroom signals
>      53 empty_proj = mne.compute_proj_raw(raw_empty)
> ---> 54 raw_cleaned_enviro = raw.copy().add_proj(empty_proj).apply_proj()
>      55 raw_cleaned_enviro.save(subject_path+'/MEG/ssp_cleaned_%s.fif'
> %(raw_basename), overwrite=True)#save the raw data without the environmental
> noise
>      56
>
> /usr/local/lib/python2.7/dist-packages/mne-0.8.git-py2.7.egg/mne/fiff/proj.pyc
> in apply_proj(self)
>     131                     data = data()
>     132             else:
> --> 133                 data = np.dot(self._projector, data)
>     134             break
>     135         logger.info('SSP projectors applied...')
>
> MemoryError:
>
> Can anyone give me some suggestions? Thanks!
> Best wishes,
> Qunxi Dong
>
> _______________________________________________
> Mne_analysis mailing list
> Mne_analysis at nmr.mgh.harvard.edu
> https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis
>
>
> The information in this e-mail is intended only for the person to whom it is
> addressed. If you believe this e-mail was sent to you in error and the
> e-mail
> contains patient information, please contact the Partners Compliance
> HelpLine at
> http://www.partners.org/complianceline . If the e-mail was sent to you in
> error
> but does not contain patient information, please contact the sender and
> properly
> dispose of the e-mail.
>




More information about the Mne_analysis mailing list