Generic function for closing the chosen OPI implementation that is set with
chooseOpi().
Usage
opiClose(...)
Arguments
…
Implementation specific parameters. See details.
Value
Returns NULL if close succeeded,
otherwise an implementation dependant error.
Compass
Returns a list of err, which is an error code, and fixations, which is a matrix with three columns:
time (same as time_hw in opiPresent), x (degrees relative to the centre of the image returned
by opiInitialise - not the PRL), y (as for x), and one row per fixation.
References
Please cite:
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.
# NOT RUN {chooseOpi("SimGaussian")
if (!is.null(opiInitialize(sd=2)))
stop("opiInitialize failed")
if (!is.null(opiClose()))
stop("opiClose failed, which is very surprising!")
# }