octo900.presentKinetic: Present Kinetic stimuli on O900 (internal use)

View source: R/Octopus900.r

octo900.presentKineticR Documentation

Present Kinetic stimuli on O900 (internal use)

Description

Implementation of opiPresent for Kinetic stimuli on the Octopus090 machine.

This is for internal use only. Use opiPresent() with these Arguments and stim as class opiKineticStimulus and you will get the Value back.

Arguments

stim

Stimulus to present (a list, see details).

nextStim

Ignored.

Details

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

  • path, A list of $(x,y)$ coordinates in degrees that is usable by xy.coords().

  • sizes, A list where sizes[i] is the size of stimulus (diameter in degrees) to use for the section of path specified by path[i]..path[i+1]. Rounded to nearest Goldmann size.

  • levels A list where levels[i] is the stimulus luminance in cd/\mbox{m}^2 to use for the section of path specified by path[i]..path[i+1].

  • speeds A list where speeds[i] is the speed in degrees per second to use for the section of path specified by path[i]..path[i+1].

Value

A list containing

  • err String message or NULL for no error.

  • seen 1 if seen, 0 otherwise.

  • time Reaction time (if seen).

  • x Coordinate where button was pressed (degrees - i guess).

  • y Coordinate where button was pressed (degrees - i guess).


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