Eyetracker |

Loading...
Searching...
No Matches
Public Member Functions | List of all members
pygaze.plugins.frl.PyGameFRL Class Reference

## Public Member Functions
| get_pos (self, gazepos)
| update (self, display, stimscreen, gazepos)

## Detailed Description

    Gaze contingent FRL based on PyGame

## Member Function Documentation

## ◆ get_pos()

pygaze.plugins.frl.PyGameFRL.get_pos | ( |  | self,
|  |  | gazepos )

    Returns FRL position tuple, based on gaze position; for internal
            use

            arguments
            gazepos -- a (x,y) gaze position tuple

            returns
            frlpos  -- a (x,y) position tuple, indicating the FRL center
                       coordinate

## ◆ update()

pygaze.plugins.frl.PyGameFRL.update | ( |  | self,
|  |  | display,
|  |  | stimscreen,
|  |  | gazepos )

    Updates display with FRL, showing part of the stimulus screen
            inside of a FRL and backgroundcolour everywhere else

            arguments
            display -- a libscreen.Display object
            stimscreen  -- a libscreen.Screen object containing the stimuli
                       that are to be presented
            gazepos -- current gaze position

            returns
            disptime    -- directly updates display and returns refresh time
                       (PsychoPy) or an estimate (PyGame)

The documentation for this class was generated from the following file:

- C:/Users/lurax/eyetrackingTobii/pygaze/plugins/frl.py