visigoth.stimuli.Point¶
- class visigoth.stimuli.Point(win, pos, radius=0.15, color=1, **kwargs)[source]¶
Wrapper for a single psychopy.visual.Circle.
This object simplifies setting both the fill and line color, and accepts
None
as a color to set it to the window background.It is intended to be used for, e.g., a fixation point.
- __init__(win, pos, radius=0.15, color=1, **kwargs)[source]¶
Create the psychopy stimulus object.
- Parameters
- winpsychopy Window
Open PsychoPy window that the stimuli will be linked to.
- radiusfloat
Size of the point in
win
units.- colorPsychoPy color
Initial color for the point.
- kwargskey, value mappings
Other keyword arguments are passed to psychopy.visual.Circle.
Methods
__init__
(win, pos[, radius, color])Create the psychopy stimulus object.
draw
()Attributes
color
opacity