isolver / ioHub

A Python program, running as an independent process, that provides a 'proxy like' service for experiment runtimes ( psychopy ) and devices ( keyboard, mouse, parallel port, eye tracker, ... ).
19 stars 14 forks source link

only pix coordinate type currently works #17

Closed isolver closed 11 years ago

isolver commented 11 years ago

You can currently only use pixel coordinates in your scripts. Visual degrees, etc, are broken at the moment, sorry! Will be fixing as a top priority.

isolver commented 11 years ago

Display and Mouse now support pix,deg,cm,norm. Differences existed between ioHub calculations for degrees and psychopy calculations, since to ioHub uses width and height info and calculates separate pixels per degree for the 2 dimensions, vs. psychopy deriving height related measures from physical width entered (which should likely be updated in psychopy at some point, as it is not always a valid assumption). However so that drawing of stim mapped correctly to device input positions, I switched ioHub to use the psychopy mapping functions directly for now (i.e. the misc.a2b functions). Will look into how hard updating psychopy would be a some later time.

Tobii and SMI eye trackers also support all coord systems (any position data is reported in the Display coordinate system).

\ Still need to update EyeLink and EyeGaze. Will do tomorrow, so closing this general issue.