forumsliner.blogg.se

Mouse status iohub psychopy
Mouse status iohub psychopy









mouse status iohub psychopy

So, I have no idea how to figure out what is causing the timing issues or how to solve this? (I hope I explained the problem sufficiently specific). I tried looking into the multi threading more, but in the pytribe script of PyGaze I can't find any evidence that one thread is waiting for an event coming from the eye tracking thread. However, when I run the experiment while performing eye tracking, the timing of the visual presentation is no longer accurate (higher variability in duration of frames). ioHub reports device events to the PsychoPy experiment. This means, for instance, that keyboard and mouse event timing is not quantized by the rate at which the window.swap () method is called.

mouse status iohub psychopy

Events can be accessed as a device independent event stream, or from a specific device of interest. ioHub monitors for device events in parallel with the PsychoPy experiment execution by running in a separate process than the main PsychoPy script. All iohub events are timestamped using the PsychoPy global time base (()). Start ioHub with the Mouse Simulated eye tracker: from psychopy.iohub import Print all eye tracker events received for 2 seconds: Check for and print any eye.

mouse status iohub psychopy

Optionally, events can be saved to a HDF5 file. When I run this experiment in dummy mode (mouse movement is used as a simulation for gaze position), there are no timing issues for the visual presentation. ioHub reports device events to the PsychoPy experiment runtime as they occur. The primary display or screen 0 (ViewSonic touchscreen) is the one participants are using during the experiment. We have two monitors connected that are mirrored. Meanwhile, a continuous sound is playing. Hi all, I’m running the latest standalone version of Psychopy on a Windows 7 machine. I prepare each frame beforehand and afterwards loop through all of the screen objects and present them. In this experiment I update the size of two visual stimuli on each frame (at 60 Hz). I have an experiment in which I present stimuli using PsychoPy / PyGaze and track eye movements with an EyeTribe eye tracker.











Mouse status iohub psychopy