octo900.presentStatic {OPI} | R Documentation |
Present static on O900 (internal use)
Description
Implementation of opiPresent for the Octopus090 machine. Version for opiStaticStimulus.
This is for internal use only. Use opiPresent()
with
stim
as class opiStaticStimulus
and you will get the Value back.
Arguments
stim |
Stimulus to present (a list, see details). |
nextStim |
The stimulus to present after stim (it is not presented, but projector can move to it during response window) |
F310 |
If |
Details
stim
is a list containing at least the following 3 elements:
-
x
, x-coordinate in degrees (floating point) (range $[-30,30]$). -
y
, y-coordinate in degrees (floating point) (range $[-30,30]$). -
level
is luminance in cd/\mbox{m}^2
, and is rounded to the nearest whole dB for display (range 0 to 50). 0dB is 10000aps.
It can also contain:
-
responseWindow
from start of stimulus presentation in milliseconds (default is 1500). -
duration
of stimulus on in milliseconds (default 200). -
color
one of.opi_env$O900$STIM_WHITE
,.opi_env$O900$STIM_BLUE
or.opi_env$O900$STIM_RED
. It must be same as that initialised byopiSetup()
oropiInitialize()
(default.opi_env$O900$STIM_WHITE
). -
size
of stimulus diameter in degrees (default Size III == 0.43). This is rounded to the nearest support Goldmann size.
If responses are taken from the F310 Controller then
If the L button is pressed,
seen
is set to 1.If the R button is pressed,
seen
is set to 2.If no button is pressed within
responseWindow
, thenseen
is set to 0.
If stim is null, always return err = NULL status.
Value
A list containing
-
err
String message or NULL for no error. -
seen
1 if seen, 0 otherwise. (See details for F310) -
time
Reaction time (if seen).