Class: MinimalStim

core.MinimalStim(options)

new MinimalStim(options)

MinimalStim is the base class for all stimuli.

Parameters:
Name Type Description
options Object
Properties
Name Type Attributes Default Description
name String the name used when logging messages from this stimulus
win Window the associated Window
autoDraw boolean <optional>
false whether or not the stimulus should be automatically drawn on every frame flip
autoLog boolean <optional>
false whether or not to log
Source:

Extends

  • PsychObject

Methods

(abstract, private) _updateIfNeeded()

Update the stimulus, if necessary. Note: this is an abstract function, which should not be called.
Source:

(abstract) contains(object, units)

Determine whether an object is inside this stimulus.
Parameters:
Name Type Description
object Object the object
units String the stimulus units
Source:

draw()

Draw this stimulus on the next frame draw.
Source:

setAutoDraw(autoDraw, logopt)

Setter for the autoDraw attribute.
Parameters:
Name Type Attributes Default Description
autoDraw boolean the new value
log boolean <optional>
false whether or not to log
Source: