[Eeglablist] Computing ERSPs in parallel?

Tom Bullock thomas.bullock at psych.ucsb.edu
Fri May 1 09:53:02 PDT 2015

Hello EEGLAB community,

I'm using the STUDY function to compute ERSPs for a dataset with 18 
subjects and 3 conditions per subject.  The ERSPs take a number of hours 
to compute, so I'd like to set up a parfor loop to create the 
"xxx.datersp" files in parallel using our distributed processing network.

This post indicates that it should be possible to set up the parfor 
loop: http://sccn.ucsd.edu/pipermail/eeglablist/2014/008914.html . 
However I'm not sure which of the functions involved in the ERSP 
computation is the one I should attempt to parallelize (std_precomp.m, 
std_ersp.m or newtimef.m?), and which of the for loops I should be editing.

Does anyone have any insight into how to set this up?



p.s. this is the function I'm currently using to create the ERSPs:

[STUDY ALLEEG] = std_precomp(STUDY, ALLEEG, 
{'cycles' cycleParam  'nfreqs' 27 'timesout' [0:100:3000]  'freqs' [4 
30] },'itc','off');

Tom Bullock, PhD

Postdoctoral Researcher, Department of Psychological and Brain Sciences,
University of California, Santa Barbara, CA 93106-9660

bullock at psych.ucsb.edu



More information about the eeglablist mailing list