Eyetracker |

Loading...
Searching...
No Matches
Classes | Functions
pygaze._eyetracker.libopengaze Namespace Reference

## Classes
class | OpenGazeTracker

## Functions
| deg2pix (cmdist, angle, pixpercm)
| pix2deg (cmdist, pixelsize, pixpercm)

## Function Documentation

## ◆ deg2pix()

pygaze._eyetracker.libopengaze.deg2pix | ( |  | cmdist,
|  |  | angle,
|  |  | pixpercm )

    Returns the value in pixels for given values (internal use)

        arguments
        cmdist  -- distance to display in centimeters
        angle       -- size of stimulus in visual angle
        pixpercm    -- amount of pixels per centimeter for display

        returns
        pixelsize   -- stimulus size in pixels

## ◆ pix2deg()

pygaze._eyetracker.libopengaze.pix2deg | ( |  | cmdist,
|  |  | pixelsize,
|  |  | pixpercm )

    Converts a distance on the screen in pixels into degrees of visual
        angle (internal use)

        arguments
        cmdist  -- distance to display in centimeters
        pixelsize   -- stimulus size in pixels
        pixpercm    -- amount of pixels per centimeter for display

        returns
        angle       -- size of stimulus in visual angle