| opiPresent_for_Display | R Documentation |
This is for internal use only. Use opiPresent() after
chooseOPI("Display") to call this function.
stim |
A list containing:
|
... |
Parameters for other opiPresent implementations that are ignored here. |
Elements in lum can take on values in the range [0.0, 1.0E10].
stim.length can take on values in the range [1, 2147483647].
Elements in color1 can take on values in the range [0.0, 1.0].
Elements in sx can take on values in the range [0.0, 180.0].
Elements in sy can take on values in the range [0.0, 180.0].
Elements in eye can take on values in the set
{"left", "right", "both", "none"}.
Elements in t can take on values in the range [0.0, 1.0E10].
w can take on values in the range [0.0, 1.0E10].
Elements in x can take on values in the range [-90.0, 90.0].
Elements in y can take on values in the range [-90.0, 90.0].
Elements in envSdx can take on values in the range
[-1.0E10, 1.0E10].
Elements in envSdy can take on values in the range
[-1.0E10, 1.0E10].
Elements in envRotation can take on values in
the range [-1.0E10, 1.0E10].
Elements in type can take on values in the set
{"flat", "checkerboard", "sine", "squaresine", "g1",
"g2", "g3", "text", "image"}.
Elements in frequency can take on values in the
range [0.0, 300.0].
Elements in color2 can take on values in the range [0.0, 1.0].
Elements in fullFoV can take on values in the
range [-1.0E10, 1.0E10].
Elements in phase can take on values in the range [0.0, 1.0E10].
Elements in shape can take on values in the set
{"triangle", "square", "polygon", "hollow_triangle",
"hollow_square", "hollow_polygon", "cross", "maltese",
"circle", "annulus", "optotype", "text", "model"}.
Elements in rotation can take on values in the range [0.0, 360.0].
Elements in texRotation can take on values in
the range [0.0, 360.0].
Elements in defocus can take on values in the range [0.0, 1.0E10].
Elements in envType can take on values in the set
{"none", "square", "circle", "gaussian"}.
Elements in contrast can take on values in the range [0.0, 1.0].
Elements in optotype can take on values in the
set {"a", "b", "c", "d", "e", "f", "g", "h", "i",
"j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t",
"u", "v", "w", "x", "y", "z"}.
A list containing:
err NULL if there was no error, a string message if there is an error.
time Response time from stimulus onset if button pressed (ms).
seen '1' if seen, '0' if not.
opiPresent()
## Not run:
chooseOpi("Display")
opiInitialise(list(port = 50001, ip = "localhost"))
opiSetup(list(eye = "BOTH"))
result <- opiPresent(stim = list(lum = list(300.0), stim.length = 1, color1 = list(list(1.0,
1.0, 1.0)), sx = list(1.72), sy = list(1.72),
eye = list("LEFT"), t = list(200.0), w = 1500.0, x = list(0.0), y = list(0.0)))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.