Opticka 2.16.1
Opticka is an experiment manager for behavioral research.
|
Customised user functions for a task run. More...
Customised user functions for a task run.
The state machine's job is to run a set of functions when entering and exiting states. Most required functions (methods in classes) are found in the core opticka classes like screenManager, stateMachine etc. BUT if a user wants to customise their own functions then we need to have a generic class we can load and use where they can add their own methods. This class serves this purpose.
The user should make a copy of this file and save it somewhere alongside their protocols (you can rename the file, but keep the class name the same). They can add their own methods. The class will be added as a uF object and these methods can be used via the state info file.
Copyright ©2014-2023 Ian Max Andolina — released: LGPL3, see LICENCE.md
Public Member Functions | |
function | userFunctions () |
function | setDelayTimeWithStaircase (in me, in stim, in duration) |
function | resetDelayTime (in me, in stim, in value) |
function | testFunction (in me) |
Public Attributes | |
Property | rE |
runExperiment | |
Property | sM |
stateMachine | |
Property | s |
screenManager | |
Property | task |
taskSequence | |
Property | stims |
metaStimulus stimluli | |
Property | rM |
reward manager | |
Property | io |
I/O manager. | |
Property | eT |
eyetracker manager | |
Property | verbose |
toggle to send messages to the command window | |
function userFunctions::userFunctions | ( | ) |
function userFunctions::resetDelayTime | ( | in | me, |
in | stim, | ||
in | value | ||
) |
uses a staircase to set the off time for a specific stimulus
function userFunctions::setDelayTimeWithStaircase | ( | in | me, |
in | stim, | ||
in | duration | ||
) |
userFunctions CONSTRUCT an instance of this class Rename to the name of the class
function userFunctions::testFunction | ( | in | me | ) |
reset stimulus delay on time
Property userFunctions::eT |
eyetracker manager
Property userFunctions::io |
I/O manager.
Property userFunctions::rE |
Property userFunctions::rM |
reward manager
Property userFunctions::s |
Property userFunctions::sM |
Property userFunctions::stims |
metaStimulus stimluli
Property userFunctions::task |
Property userFunctions::verbose |
toggle to send messages to the command window