Skip to content

dfSetVisFB()

Dante Smith edited this page Mar 6, 2022 · 7 revisions

Link to File
Author: Dante

[msrStr, annoStr] = dfSetVisFB(defMon, curSess, targRMS, bounds) creates a figure, which becomes the visualization involved for trial progression in behavioral experiments.

INPUTS
defMon : Monitor selection. A value of 1 uses the default monitor, A value of 2 selects the secondary monitor. There is currently not support for a number of monitors greater than 2.
curSess : A string input that displays simple information about the current session being run. This is displayed as an annotation, so this can display any trial information that you want
targRMS : Baseline RMS (dB) of the subject and the target for trials where visual feedback about their intensity is presented.
bounds : The acceptable RMS bounds (dB) where the participant is considered vocalizing at the target level.

OUTPUTS
msrStr : Struct of annotation measurements. The collection of the positions for all the annotations on the figure. Annotations are just objects on the figure that can be moved around.
annoStr : Struct of annotation elements. The actual words, shapes and colors of items that are displayed on the screen. Each of these elements can be made visible or invisible by toggling the property: 'visible'