impossible to call definetrials after preprocessing?

Paolo Toffanin p.toffanin at RUG.NL
Fri Mar 19 08:28:11 CET 2010

Call 'define' trial first and then use 'redefinetrial'

On Thursday 18 March 2010 07:54:42 pm you wrote:
> Dear list members,
> I have an EEG data set, for which I prepared the EOG channels for
> artifact rejection and referenced the EEG data to linked mastoids (as
> described here
> I thought I'd do this once at the beginning, save the dataset to disk,
> and then continue with definetrials. However, definetrials only seems to
> be able read raw data, not the matlab data set I created by the
> re-rereferencing procedure. Does that mean that I can only prepare EOG
> channels and  re-rereferencing after calling definetrials? (which would
> duplicate a lot of code...) Or is there also another of doing this that
> involves less duplication of code?
> Many thanks in advance,
> Henning

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