[FieldTrip] using triggers building my own function
mor2451 at gmail.com
Thu May 28 16:56:51 CEST 2015
so i'm trying to create my own function for using triggers with EEG raw
i used this tutorial:
my question is if i can somehow specify the time i want to record my EEG
for example i would like my function to get 'time' as parameter to the
function and returns the EEG raw data of this specific time+one second.
if so, can some one give me a piece of code for example to understand what
also 2 more little questions:
1. cfg.trialdef.eventvalue = [3 5 9]; what does the 3 5 9 stands for? i
don't understand what is the meaning of those (or any other) numbers. can i
get definition for what is event value?
2. cfg.trialdef.prestim = 1;
cfg.trialdef.poststim = 2;
does it means it takes exactly one second for the buffer to give me the EEG
raw data? or does it means wait one second and then take the data from the
buffer or something like that (1 second the trigger will "pop out" and
finish taking the data from the buffer after 2 seconds)
the triggers are new to me, so i have some problems to understand the
concept of it, thus my questions for you guys.
i hope i explained myself as clear as possible, i really would like to
understand what i'm doing.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the fieldtrip