Image Directory Movie Stimulus¶
A movie stimulus that gets its frames from a directory of image files.
Note: To preserve each image’s aspect ratio on screen, x_size and y_size must be equal. When drawn, the larger dimension spans the full specified size, while the smaller dimension is scaled to maintain the aspect ratio.
Filesystem path to the directory containing the image files.
All non-hidden files in this directory must be images. The frames are ordered according to the lexical sort order of the file names.
Rate at which to display the movie’s frames
Horizontal size (degrees).
Vertical size (degrees).
Horizontal center position (degrees)
Vertical center position (degrees)
Controls the transparency of the stimulus.
1.0 is fully opaque, while
0.0 is fully tranparent.
YES, messages will be posted to the console and event stream when images are loaded or unloaded.
Variable that will be set to true after the last frame has displayed. (Specifically, it will be set to true at the time that the next frame after the last would have been drawn, if there were one.)
YES, the presentation will repeat indefinitely (or until Stop Dynamic Stimulus is invoked)
Number of times to repeat the presentation. Note that the presentation will always run at least once, even if this value is less than one.
If loop is
YES, this parameter is ignored.
Controls when the stimulus is loaded. If
no, the stimulus is loaded at experiment load time. If
yes, the stimulus is loaded the first time it is queued. If
explicit, the stimulus must be loaded explictly with Load Stimulus.
YES, the stimulus will start playing automatically (as if by an implicit Play Dynamic Stimulus action) after it has been queued and Update Stimulus Display has been invoked. It will also stop playing automatically (as if by an implicit Stop Dynamic Stimulus action) after it has been dequeued and Update Stimulus Display is invoked.