Frame List Stimulus¶
Description¶
A simple movie stimulus that presents its frames at the native refresh rate of the display. The frames can be provided by a stimulus group or attached directly to the frame list as child components.
Signature¶
stimulus/frame_list
Optional Parameters¶
stimulus_group¶
Stimulus group providing the frames
ending¶
Variable that will be set to true when the frame list begins drawing its last frame (thereby notifying you of the optimal time to queue stimuli that should be displayed during the frame immediately following said last frame)
ended¶
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.)
loop¶
- Default:
NO
If YES, the presentation will repeat indefinitely (or until Stop Dynamic Stimulus is invoked)
repeats¶
- Default:
0
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.
deferred¶
- Options:
noyesexplicit- Default:
no
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.
display¶
Name of the display on which the stimulus will be presented. If omitted, the default display (if available) will be used.
schematic¶
- Example:
{'color': [0.2, 0.5, 0.8], 'line_width': 3}
This parameter has no influence on how the stimulus is presented on the stimulus display. Instead, it affects how the schematic for the stimulus appears on MWClient’s eye window.
If present, the parameter’s value must be a dictionary containing one or more of the following keys:
'color'Color of the schematic. The value must be a list of three numbers between 0 and 1 (inclusive), respresenting the red, green, and blue components of the desired color.
'line_width'Width, in display points, of the lines used to draw the schematic. The value must be a non-negative number. A value of zero means the lines should be as thin as possible.
'hidden'Visibility of the schematic. The value must be a boolean, where false means the schematic should be visible, and true means it should be hidden.
'fixation_window'Parameters for the schematic of a fixation point’s fixation window. The value must be a dictionary containing one or more of the preceding keys. (Note: For fixation points, by default the eye window draws a schematic for the fixation window but not the visible stimulus. To show the visible stimulus, include key
'hidden'with a false value at the top level of the schematic dictionary.)
autoplay¶
- Default:
NO
If 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.
Placement¶
Allowed at top level: |
Yes |
|---|---|
Allowed parent: |
Compound Stimulus, Folder, Frame List Stimulus, Layer Stimulus, List Replicator, Movie Stimulus, Range Replicator, Stimulus Group |
Allowed children: |