Which epochs are averaged?

Forum for discussion on different signal processing algorithms
Posts: 5
Joined: 11 Mar 2011, 05:35

Which epochs are averaged?

Post by trinsma » 23 May 2011, 10:59


I have a basic question about how the P3TemporalFilter selects the epochs. If you set EpochsToAverage lower than the NumberOfSequences, which epochs will be averaged together? Will it be the first or last epochs, or perhaps the ones with the biggest P300 amplitude, or a random sample? The P3TemporalFilter reference page says that EpochsToAverage is the number of epochs that are accumulated, suggesting that the first epochs are used, but it could still mean that the epochs with the largest P300 are accumulated.

Thank you in advance!


Thijs Rinsma

Posts: 1064
Joined: 12 Feb 2003, 11:06

Re: Which epochs are averaged?

Post by mellinger » 31 May 2011, 10:47

Hi Thijs,

thanks for this question. I will clarify the point in the P3TemporalFilter documentation.

As you suggest, the P3TemporalFilter uses the first EpochsToAverage epochs to compute an averaged epoch, then outputs that average and sets the StimulusCodeRes and StimulusTypeRes states accordingly. After that, epochs up to NumberOfSequences will be ignored, and averaging will start over on the first epoch of the next character sequence.

Juergen Mellinger


Who is online

Users browsing this forum: No registered users and 1 guest