I was thinking about using waitKeys to get the response time, but I really dislike how the date is presented on the csv file. If we have the code I presented below it generates something like this two columns:
first column RT ("T", 12.23555) I 200ms
I want it to show only this:
T I 200ms
Is there any way we can go around this? I am considering going with the clock instead if there is not a good option but I wonder if they would still give me the key pressed with the quotation marks which I cannot get as it would not allow then accuracy to be determined. Do you have any suggestions?
disptime = win.flip() # Wait for the user to press the right number keys = event.waitKeys(keyList=[str(num)], timeStamped=True) # extract the values from the 0th element of the list we are returned key, keytime = keys # Store the reaction time for later use rts = (keytime - disptime)*1000