kowa.presentKinetic: Present kinetic on Kowa AP7000 (internal use)

View source: R/KowaAP7000Client.r

kowa.presentKineticR Documentation

Present kinetic on Kowa AP7000 (internal use)

Description

Implementation of opiPresent for the Kowa AP7000 machine. Version for opiKineticStimulus.

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).

Details

stim is a list containing at least the following 3 elements:

  • path, a list containing x 2 x-coordinate in degrees (floating point) (range $[-80,80]$) and y, list of 2 y-coordinate in degrees (floating point) (range $[-70,65]$).

  • sizes list of 1 size; one of .opi_env$KowaAP7000$SIZES_DEGREES.

  • colors list of 1 color; one of .opi_env$KowaAP7000$COLOR_WHITE, .opi_env$KowaAP7000$COLOR_GREEN, .opi_env$KowaAP7000$COLOR_BLUE, or .opi_env$KowaAP7000$COLOR_RED

  • levels list of 1 level; luminance in cd/\mbox{m}^2, and is rounded to the nearest whole dB for display (range 0 to 50). 0dB is 10000aps.

  • speeds list of 1 speed; degrees per second range $[3, 5]$.

  • duration of stimulus on in milliseconds (range $[100, 1200]$).

  • responseWindow from start of stimulus presentation in milliseconds (max 5000).

Value

A list containing

  • err String message or NULL for no error.

  • seen 1 if seen, 0 otherwise.

  • time Reaction time (if seen).

  • x Location of button press in degrees.

  • y Location of button press in degrees.


OPI documentation built on April 12, 2025, 1:24 a.m.