Retrieving each trial (condition) information #190
lnalborczyk
started this conversation in
General
Replies: 1 comment 1 reply
-
OK I have found a solution inspired from the package documentation (sorry for opening the thread). I am posting it here in case it can be useful to others.
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
let me first thank you for developing and maintaining the package, it is super helpful!
I am just starting to use it, but I am stuck with trying to retrieve the information corresponding to my trigger values.
I have an
eeg_lst
object with several hundreds of events (such as the one below), where each event is a trigger (sent by Psychopy to the EMG/EEG acquisition system), such as "S 67", "S 23", "S 46", and so on, indicating from which condition this specific trial was taken.In parallel, I have a correspondence table, such as the one below, indicating the correspondence between each trigger and the condition.
From there, I am not sure how to "join" these two information... I have tried using
eeg_left_join()
but it does not seem to work, because the name of the trigger is stored in the events table of theeeg_lst
object, whereaseeg_left_join()
seems to operate on the signal table or the segment table... Any idea on how to "merge" my condition table with theeeg_lst
object?Thank you!
Beta Was this translation helpful? Give feedback.
All reactions