Eye Tracker Region of Interest Component

Please note: This is a new component, and is subject to change.

Record eye movement events occuring within a defined Regio of Interest (ROI). Note that you will still need to add an Eyetracker Record component to this routine to save eye movement data.

Parameters

Basic

Namestring

Everything in a PsychoPy experiment needs a unique name. The name should contain only letters, numbers and underscores (no punctuation marks or spaces).

Startfloat or integer

The time that the stimulus should first play. See Defining the onset/duration of components for details.

Stop (duration):

The length of time (sec) to record for. An expected duration can be given for visualisation purposes. See Defining the onset/duration of components for details; note that only seconds are allowed.

Shape:

A shape to outline the Region of Interest. Same as the Polygon (shape) Component. Using a regular polygon allows you to specify the number of vertices ( a circle would be a regular polygon with a large number of vertices e.g. 100). Using custom polygon allows you to add a list of coordinates to build custom shapes.

End Routine On:

What event, if any, do you want to end the current routine. If “look at” or “look away” selected you should also specify the minimum look time in milliseconds that will constitute an event of interest.

Layout

How should the stimulus be laid out? Padding, margins, size, position, etc.

oridegrees

The orientation of the entire patch (texture and mask) in degrees.

pos[X,Y]

The position of the centre of the stimulus, in the units specified by the stimulus or window

size(width, height)

Size of the stimulus on screen

spatial unitsdeg, cm, pix, norm, or inherit from window

See Units for the window and stimuli

Data

Save onset/offset times: bool

Whether to save the onset and offset times of the component.

Save…:

What eye movement events do you want to save? Every Look will return a list of looks; First Look and Last Look will return the first and last looks respectively.

Time Relative To:

What do you want the timing of the timestamped events to be relative to?

See also

API reference for ROI


Back to top