psychopy.org | Reference | Downloads | Github

Negative Timestamps with keyboard.Keyboard.getKeys() in Psychopy 3.2

Hi everyone,

did anyone encountered the problem, that the ptb module for registering timestamped keypresses logs negative values instead of positive values?

My data would make perfectly sense, if the values of the timestamp would be positive. I also already collected valid data (7 datasets) with my code. Now I found two datasets for which the timestamp is negative, for all data rows. I conduct keyboard.clock.reset() at the beginning of each trial and after that I check for keypresses with getKeys(), and if there is a keypress I log the time with key.rt.

Any ideas what could have went wrong in those 2 cases?

Thanks a lot,
Carrie

1 Like