fixation

Builds a trial with a fixation dot and optional photodiode box.
Source:
Parameters:
Name Type Description
config Object The configuration object for USE_PHOTODIODE, USE_EEG, USE_ELECTRON and USE_MTURK flags.
Name Type Description
USE_PHOTODIODE boolean USE_PHOTODIODE flag
USE_EEG boolean USE_EEG flag
USE_ELECTRON boolean USE_ELECTRON flag
USE_MTURK boolean USE_MTURK flag
options Object
Name Type Description
duration number trial duration in milliseconds jittered with the jitter param. (default: 1000)
jitter number jitter range (0-jitter) to add from to the trial duration (default: 50)
taskCode number Task code to be saved into data log (default: 1)
numBlinks number Number of times the pulse needs to be repeated for photodiode box, when USE_PHOTODIODE is set true. (default: 1)