![]() |
Opticka 2.18.1
Opticka is an experiment manager for behavioral research.
|
For DMTS task. More...
For DMTS task.
Customised user functions for a task run, a child of userFunctions.
Copy and edit this file to add your own functions and variables for use in your task. You can rename the class and file to something more specific to your task if you like, but make sure the class name and file name are the same. You must also keep the intialSetup() method
Public Member Functions | |
| function | myUserFunctions () |
| function | initialSetup (in me) |
Public Member Functions inherited from userFunctions | |
| function | userFunctions () |
| function | setDelayTimeWithStaircase (in me, in stim, in duration) |
| Construct an instance of this class. | |
| function | resetDelayTime (in me, in stim, in value) |
| Use the staircase to set stimulus delay/off time. | |
| function | testFunction (in me) |
| Reset stimulus delay time to a specific value. | |
Public Attributes | |
| Property | comment |
Public Attributes inherited from userFunctions | |
| 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 | tM |
| touch manager | |
| Property | tL |
| time logger (saves timestamped messages | |
| Property | alyx |
| alyx manager | |
| Property | verbose |
| toggle to send messages to the command window | |
| function myUserFunctions::myUserFunctions | ( | ) |
|
virtual |
initial setup to run BEFORE the task starts; this will be called by runExperiment before the state machine starts, and before the first runExperiment.update(stims) call, so you can set up any variables or stimuli here that you want to use in the task. You can also call other functions from here to set things up.
Reimplemented from userFunctions.
| Property myUserFunctions::comment |