Opticka 2.18.1
Opticka is an experiment manager for behavioral research.
Loading...
Searching...
No Matches
myUserFunctions Class Reference

For DMTS task. More...

Detailed Description

For DMTS task.

Customised user functions for a task run, a child of userFunctions.

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

Inheritance diagram for myUserFunctions:

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
 

Constructor & Destructor Documentation

◆ myUserFunctions()

function myUserFunctions::myUserFunctions ( )

Member Function Documentation

◆ initialSetup()

function myUserFunctions::initialSetup ( in  me)
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.

Member Data Documentation

◆ comment

Property myUserFunctions::comment

The documentation for this class was generated from the following files: