(added in version 2023.2.0)
The Progress bar stimulus allows you to present a progress bar within your task.
- name : string
Everything in a experiment needs a unique name. The name should contain only letters, numbers and underscores (no punctuation marks or spaces).
- start :
The time that the stimulus should first appear. See
startStop
for details.- stop :
Governs the duration for which the stimulus is presented. See
startStop
for details.- progress : int | float
from 0.0 = not filled to 1.0 = fully filled
How should the stimulus look? Colour, borders, etc.
- bar color : color
See
colorspaces
- back color : color
See
colorspaces
- border color : color
See
colorspaces
- color space : rgb, dkl, lms, hsv
See
colorspaces
- opacity :
Vary the transparency, from 0.0 = invisible to 1.0 = opaque
- contrast : int | float
Contrast of the stimulus
- line width : int | float
How wide should the line be? Width is specified in chosen spatial units, see
../../general/units
How should the stimulus be laid out? Padding, margins, size, position, etc.
- 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 units : deg, cm, pix, norm, or inherit from window
See
../../general/units
- anchor : str
Which point of the stimulus should be anchored to its exact location.
- ori : degrees
The orientation of the entire patch (texture and mask) in degrees.
API reference for ~psychopy.visual.Progress