# Aperture Component¶

This component can be used to filter the visual display, as if the subject is looking at it through an opening. Currently only circular apertures are supported. Moreover, only one aperture is enabled at a time. You can’t “double up”: a second aperture takes precedence.

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 aperture should start having its effect. See Defining the onset/duration of components for details.

stop :

When the aperture stops having its effect. See Defining the onset/duration of components for details.

pos[X,Y]

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

sizeinteger

The size controls how big the aperture will be, in pixels, default = 120

unitspix

What units to use (currently only pix).

API reference for Aperture