Dear list,
When epoching data based on a given trigger, it seems that all other
events that were present in the epochs are lost.
Below an example: in the raw data, I have three type of events, coded
'1', '10', and '101'. I epoch on event '1'. Events '10' and '101' are
close enough from event '1' and should fall on the epoched data.
However, the event list of the epoch object only contains the events
that were used to epoch ('1').
Am I using mne.Epochs in a wrong way? Is it an intended feature? If so,
this is unfortunate since, for example, if even '101' is the response
(and '1' the stimulus), I completely loose the Reaction Time.
Is there a way to keep all events in the epoched data?
Thanks in advance for your help,
B.
In [67]: raw._events
Out[67]:
array([[ 1001, 1, 1],
[ 1763, 1, 10],
[ 1845, 1, 101],
...,
[526001, 1, 1],
[526401, 1, 10],
[526485, 1, 101]])
In [68]: event_id
Out[68]:
{'EMG': 10,
'Left_Resp': 1,
'PC_CompLeft': 1,
'PC_CompRight': 2,
'PC_IncompLeft': 3,
'PC_IncompRight': 4,
'Right_Resp': 2}
In [69]: t0
Out[69]: {'PC_CompLeft': 1}
In [70]: epochs = mne.Epochs(raw,raw._events,t0,-.5,1.5)
211 matching events found
Adding average EEG reference projection.
Created an SSP operator (subspace dimension = 1)
1 projection items activated
In [71]: epochs.events
Out[71]:
array([[ 1001, 1, 1],
[ 3501, 1, 1],
[ 6001, 1, 1],
[ 8501, 1, 1],
[ 11001, 1, 1],
[ 13501, 1, 1],
[ 16001, 1, 1],
[ 18501, 1, 1],
[ 21001, 1, 1],
[ 23501, 1, 1],
[ 26001, 1, 1],
[ 28501, 1, 1],
[ 31001, 1, 1],
[ 33501, 1, 1],
[ 36001, 1, 1],
[ 38501, 1, 1],
[ 41001, 1, 1],
[ 43501, 1, 1],
[ 46001, 1, 1],
[ 48501, 1, 1],
[ 51001, 1, 1],
[ 53501, 1, 1],
...