Stimulus onset by script.elapsedtime


Author
Message
yanyan
yanyan
Expert (1K reputation)Expert (1K reputation)Expert (1K reputation)Expert (1K reputation)Expert (1K reputation)Expert (1K reputation)Expert (1K reputation)Expert (1K reputation)Expert (1K reputation)
Group: Forum Members
Posts: 12, Visits: 31
Dear all,

I have a question about the stimulus onset by using script.elapsedtime.

Here is my code for a block:
<block MS>
/trials = [1=focus;2-45=noreplace(neu12, neu16........)]
</block>

I got data like this:
blockcode trialnum trialcode  trialduration  script.elapsedtime
MS             1              focus         6000               43169
MS             2              neu16       12000              46392
MS             3              neu12        8000               58288
.....

I have set trialduration for each trial (e.g., 6000 for trial.focus).
<trial focus>
/stimulustimes = [0=focus]
/trialduration = 6000
/validresponse = (noresponse)
</trial>

However, it is obvious that the script.elapsedtime was not consistent with trialduration (i.e.,46392-43162<6000).  This also happened to trial 2 (i.e. 58288-46392 !=12000). Why did this happen?
I need to record onset time of each trial. Can I trust the script.elapsedtime?

Best,
Yanyan




GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Threaded View
Threaded View
yanyan - 8 Years Ago
Dave - 8 Years Ago
yanyan - 8 Years Ago
Dave - 8 Years Ago
                     + x [quote] [b] Dave - Thursday, July 13, 2017 [/b] +...
yanyan - 8 Years Ago
                         + x [quote] [b] yanyan - Friday, July 14, 2017 [/b] +...
Dave - 8 Years Ago

Reading This Topic

Explore
Messages
Mentions
Search