class psychopy_ext.exp.Event(parent, name='', dur=0.3, durcol=None, display=None, func=None)[source]¶
Defines event displays.
Args:
parent (Experiment or
Task)
Kwargs:
name (str, default: ‘’)
Event name.
dur (int/float or a list of int/float, default: .300)
Event duration (in seconds). If events have different
durations throughout experiment, you can provide a list
of durations which must be of the same length as the
number of trials.
display (stimulus or a list of stimuli, default: None)
Stimuli that are displayed during this event. If None,
displays a fixation spot (or, if not created, creates
one first).
func (function, default: None)
Function to perform . If None, defaults to
idle_event().
dur (int/float or a list of int/float, default: .300)
Event duration (in seconds). If events have different
durations throughout experiment, you can provide a list
of durations which must be of the same length as the
number of trials.
display (stimulus or a list of stimuli, default: None)
Stimuli that are displayed during this event. If None,
displays a fixation spot (or, if not created, creates
one first).
func (function, default: None)
Function to perform . If None, defaults to
idle_event().