octo900.presentTemporal: Present Temporal stimuli on O900 (internal use)

View source: R/Octopus900.r

octo900.presentTemporalR Documentation

Present Temporal stimuli on O900 (internal use)

Description

Implementation of opiPresent for Temporal stimuli on the Octopus090 machine.

This is for internal use only. Use opiPresent() with these Arguments (stim as class opiTemporalStimulus) 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)

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

  • rate is frequency in Hz.

It can also contain:

  • responseWindow from start of stimulus presentation in milliseconds (default is 1500).

  • duration of stimulus on in milliseconds (default 200).

  • size of stimulus diameter in degrees (default Size III == 0.43). This is rounded to the nearest support Goldmann size.

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.

  • time Reaction time (if seen).


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