Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Supported by

first stimulation

hey ,
im a programmer, writing some help tool,
im trying to know the exact time of the first stimulation.
is there anyway to get it?
(in the logfile, it has to be specific the feature you used to create the stimulation.) i want something more general

Comments

  • Hi,

    Can you maybe elaborate a little what exactly it is you need? The first line in the logfile will contain the time of the first stimuluation, provided that you store the time stamp of that occurrence.

    Eduard

    Buy Me A Coffee

  • First i want to be sure: the values in the logfile are the time in ms past after datetime(the logfile coloumn)?
    can i access the category to which the object is belong to through the log file or in any other way.
    i.e:fixation dot is in displays stimuli?

  • Yes, they are time in ms, measured from the start of the experiment.

    You cannot access it if you mean by it that you change that object retrospectively. But of course you can access it if you evaluate the time stamp on line.

    To do it, you will have to use inline_scripts. Here an example, of measuring response times to a simple stimulus:

    cv = canvas()
    kb = keyboard()
    
    cv.fixdot()
    
    t0 = cv.show()
    k,t1 = kb.get_key()
    
    resp_time = t1-t0
    

    Hope this helps.

    Eduard

    Buy Me A Coffee

Sign In or Register to comment.