Hello,
I am trying to extract the list of events that are present once I have epoched the data. I have toyed around with the reject/flat criteria which removes some epochs, but I can’t easily see what trials were removed or which remain. The drop_log()
function shows which electrodes cause an epoch to be dropped, but not the events which pertain to that epoch.
I can visualize the remaining events through epochs.plot()
when I pass the original event array, and only those events relevant to the remaining epochs are shown. The window title also shows the number of epochs for each condition which are available. So there is information present, but I’d like to know how to get this information out to a separate array, .e.g., events_epo
, the array of events represented in the epoched data.
One idea that comes to mind is to somehow extract the events that appear when plotting the epoched data and then computing the difference between this subset events_epo
and the original event array events
to see which trials have been removed.
In the original experiment, every item had a unique trigger code, 30 to 119. It would be useful to see then:
- The trial order for that participant of all remaining trials after the various steps of exclusion (manual exclusion due to performance, or later rejection during epoching with rejection/flat criteria).
- The retained trials in order to easily see what has been removed (I assume by passing the array created above in 1 and applying
sort()
?).
Any insights would be much appreciated.
mne 1.9.0
macOS 15.2