![]() # need to have range of 1698 (# of seconds in 28:18) # make absolute position so pos_absolute becomes a range from 0 to 300 (based on 28:18 min movie) ![]() # set upper and lower limits to where cursor can go (which will later be halved to restrict range of cursor on the screen) then move cursor proportionally to length of this list # add keypress to list for each keypress. Timer = core.CountdownTimer(TrialDuration) Here's my current code where I tried to correct for this: prevPos = 0 Instead, it will be shifted by the direction in which a 't' or 'b' press shifts the timeline. The problem I'm having is that if you press 't' or 'b' during the ITI, the next trial won't start at 14:09. After each trial is a 0.5 second inter trial interval during which a '+' is presented on the screen. I want the time at the top to reset to 14:09 for each trial. What comes up on the screen looks like this: It moves according to how fast people press the 't' or 'b' keys for each trial. I made my own rating scale, which is a timeline from 0 to 28:18. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |