[FieldTrip] Epoching between two event, not time

Schoffelen, J.M. (Jan Mathijs) jan.schoffelen at donders.ru.nl
Wed Mar 10 17:06:08 CET 2021


Dear Angelika,

Sure, this is possible. You may want to have a look at https://www.fieldtriptoolbox.org/example/making_your_own_trialfun_for_conditional_trial_definition/. This should get you on track.

Good luck, and best wishes,
Jan-Mathijs




On 9 Mar 2021, at 00:49, Angelika Wolman <awolm083 at uottawa.ca<mailto:awolm083 at uottawa.ca>> wrote:

Hello,

I have this line of events in my EEG data:    104 1 2 3 4 5 105 1 2 3 4 5 103 1 2 3 4 5

I would like to create epochs containing the events from 104 to 105 (105 not included); then from 105 to 103 (103 not included) and 103 to the end.
Is it possible to epoch EEG data based on events at start en end points instead of using time min and max?

Thank you very much,
Angelika
_______________________________________________
fieldtrip mailing list
https://mailman.science.ru.nl/mailman/listinfo/fieldtrip
https://doi.org/10.1371/journal.pcbi.1002202

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20210310/7aef5e0e/attachment.htm>


More information about the fieldtrip mailing list