Simulates responses using a Frequency of Seeing (FoS) curve.
The FoS is modelled as a cumulative Gaussian function with standard deviation
equal to sd as provided and the mean as the true threshold given as tt
opiPresent.
All values are in dB relative to maxStim.
This is for internal use only, use opiInitialize().
Value
A list with elements:
err NULL if initialised, a message otherwise
Arguments
sd
Standard deviation of Cumulative Gaussian.
maxStim
The maximum stimuls value (0 dB) in cd/\(\mbox{m}^2\).
# Set up a simple simulation for white-on-white perimetrychooseOpi("SimGaussian")
res <- opiInitialize(sd = 2.5)
if (!is.null(res$err))
stop(paste("opiInitialize() failed:", res$msg))