[Eeglablist] Baseline from outside the epoch period

Makoto Miyakoshi mmiyakoshi at ucsd.edu
Tue Jan 14 12:20:24 PST 2020


Dear Haneed,

The default EEGLAB does not support it unfortunately.
If you absolutely need to do it, then you have to do it outside EEGLAB GUI
operation by coding. In doing so, use bsxfun() in this way

EEG.data = bsxfun(@minus, EEG.data, mean(baselineData(:,time1:time2,:),2));

'baselineData' is your 3-D data including baseline period defined by
time1:time2. Just one line of code!

Makoto

On Mon, Jan 13, 2020 at 11:20 PM Haneen Alsuradi <haneen at nyu.edu> wrote:

> Hi,
>
> I did an experiment in which I have two events, one for a visual cue that
> indicates the start of the trial (a ball on the screen which will be used
> in the trial itself) and the second one is when a collision happens for the
> ball. I am interested in studying the brain activity after the collision
> and thus I will epoch -2 to 2 from the collision point. However, I think it
> is suitable to baseline my epoch before the visual cue and not before the
> collision. The time between the visual cue and the collision is user
> dependent. Is there anyway I can specify my baseline outside the epochs?
>
> Thanks
> Haneen
> _______________________________________________
> Eeglablist page: http://sccn.ucsd.edu/eeglab/eeglabmail.html
> To unsubscribe, send an empty email to
> eeglablist-unsubscribe at sccn.ucsd.edu
> For digest mode, send an email with the subject "set digest mime" to
> eeglablist-request at sccn.ucsd.edu
>



More information about the eeglablist mailing list