baseline correction

Hi,

The goal is to create Epochs with a baseline correction.
Assuming event with id=8 indicates the start of a stimulus with a 40sec duration.
The 5 seconds prior to that event (id=8) are considered as the baseline.

I would like to know if I understand the epochs-initialization correctly.

My parameters for the Epochs constructor are as follows:
?tmin = -5
?tmax = 40
?baseline = (-5, 0)

Or is it safer/better to set baseline to (None, 0) ?

Conceptually:

----------------------------------------> time
<- 5s ->|<- ? 40 sec ->|

? ? ? ?8

Kind Regards,
Gertjan

Hi,

They should be the same but I would use (None, 0) because it would work
even if you change tmin. Otherwise, no difference.

Mainak