chooseOpi: Choose an implementation of the OPI

View source: R/opi.r

chooseOpiR Documentation

Choose an implementation of the OPI

Description

Chooses an implementation of the OPI to use

Usage

chooseOpi(opiImplementation)

chooseOPI(opiImplementation)

Arguments

opiImplementation

A character string that is one of the following.

  • "SimNo" for a simulator that always doesn't see.

  • "SimYes" for a simulator that always does see.

  • "SimHenson" for a simulator that uses a cummulative gaussian psychometric function with standard deviation according to Henson et al (2000) where variability increases as true threshold (Humphrey dB) value decreases.

  • "SimHensonRT" as for SimHenson, but response times in ms are sampled from a supplied response time data set for each true positive response.

  • "SimGaussian" for a simulator that uses a cummulative gaussian psychometric function with standard deviation supplied in opiInitialize().

  • "Octopus900" for interfacing with the Octopus 900.

  • "Octopus900F310" for interfacing with the Octopus 900 using Logitech F310 controller.

  • "Octopus600" for interfacing with the Octopus 600.

  • "HEP" not working so well in HEPs.

  • "KowaAP7000" for interfacing with Kowa AP-7000.

  • "Imo" for interfacing with CrewT's Imo head mounted perimeter.

  • "DayDream" for interfacing with an Android phone in a Google Daydream

  • "Display" for interfacing with a shiny plot area on the current machine.

  • "PhoneHMD" for interfacing with phones using VR. At the moment, only Android compatible phones are working. The VR headset must be compatible with Cardboard

  • NULL print a list of available OPI implementations.

Value

Returns TRUE if successful, FALSE otherwise.

References

David B. Henson, Shaila Chaudry, Paul H. Artes, E. Brian Faragher, and Alec Ansons. Response Variability in the Visual Field: Comparison of Optic Neuritis, Glaucoma, Ocular Hypertension, and Normal Eyes. Investigative Ophthalmology & Visual Science, February 2000, Vol. 41(2).

A.M. McKendrick, J. Denniss and A. Turpin. "Response times across the visual field: empirical observations and application to threshold determination". Vision Research, 101, 2014.

A. Turpin, P.H. Artes and A.M. McKendrick. "The Open Perimetry Interface: An enabling tool for clinical visual psychophysics", Journal of Vision 12(11) 2012.

Examples

if(!chooseOpi("SimHenson"))
  warnings()

OPI documentation built on Nov. 7, 2023, 9:06 a.m.