preprocessing slowing down

Bernhard Staresina bps231 at NYU.EDU
Sat Jun 19 10:38:16 CEST 2010

Dear FieldTrip users,

A quick question on preprocessing. I noticed that as I preprocess my EEG
data (no actual preprocessing settings, just getting the exportet raw data
into FieldTrip format), the process dramatically slows down as it goes
along. So by trial 100, MATLAB essentially stops. I don't think it's a
working memory issue - I tried to preprocess only the last few trials with
cleared working memory, and the process doesn't move on. 
I read in the trial information (beginsample, endsample and offset) via
definetrial, and of my ~700 trials (with only 25 channels), the later trials
have begin- and endsample values of eg. 4338002 and 4344000, respectively.
But why is it that it takes longer to read in a trial as a function of its
begin and end sample? Shouldn't the amount of preceding data points be
I'm reading in BrainVision Analyser data, using FT version
'fieldtrip-20090120'. The segments are 5.9 sec long, with 1kHz sampling rate. 


The aim of this list is to facilitate the discussion between users of the FieldTrip  toolbox, to share experiences and to discuss new ideas for MEG and EEG analysis. See also and

More information about the fieldtrip mailing list