title: Python Program for Visual Reaction Time
body: <p>I'm not a programmer. I am doing a project for Biology where I will be conducting an experiment on reaction times. Briefly, the subject should click anywhere on the screen as soon as a dot or circle (some graphic) appears on the screen.</p>
  
  <p>Details:</p>
  
  <ol>
  <li>Program must start at a set clock time (e.g. 16:03:00) which will be typed in every time</li>
  <li>Timer must start when program starts (t=0)</li>
  <li>Graphics will appear at the same point (coordinates) according to pre-determined times relative to start (e.g., 1.5s, 2s, 3.5s, ...) for 2 minutes.</li>
  <li>Each time the subject presses the mouse, the time relative to the timer must be recorded.</li>
  </ol>
  
  <p>Afterward, I will just tabulate the data on a spreadsheet and calculate the time differences between the time the graphic appears and the time the subject presses the mouse.</p>
  
  <p>I have very limited knowledge of Python. I've never done anything with graphics on Python. This is the best set up I can think of for my needs.</p>
  
  <p>I did some research and this is what I've found so far:</p>
  
  <ul>
  <li>For the graphics: Pyglet has a built in scheduling function (pyglet.clock.schedule_interval)</li>
  <li>I can use either time.time or time.clock for measuring reaction times. I am kind of confused over which one to use. It seems there is some subtle difference that I'm not understanding.</li>
  </ul>
  
  <p>Please also not that the program may be run on a windows 7 PC or a MacBook.</p>
  
  <p>I don't need a complete answer. Just some suggestions and tips to point me in the right direction for further research. Thanks.</p>