mne-python: preload epochs without preloading raw?

Hello,

I have a set of data where I need to have epochs preloaded because I'm
wanting to remove components after ICA decomposition, and
ica.pick_sources_epochs() tells me the epochs need to be preloaded. The
only way I know of to get preloaded epochs is to first preload the raw file
and then epoch it (because I don't see a preload option in
mne.read_epochs). But my raw files are too large to preload without getting
a memory error. Is there any other way to get epochs preloaded?

Thank you,
Steve

Stephen Politzer-Ahles
New York University, Abu Dhabi
Neuroscience of Language Lab
http://www.nyu.edu/projects/politzer-ahles/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20140501/13c0bbdb/attachment.html

Hi Steve,

To get preloaded Epochs, you should be able to use preload=True in the
Epochs constructor. It shouldn't matter whether the raw file is
preloaded or not.

Best,

Martin

Hi Martin,

Thanks, that did it!

Best,
Steve

Stephen Politzer-Ahles
New York University, Abu Dhabi
Neuroscience of Language Lab
http://www.nyu.edu/projects/politzer-ahles/