opiInitialise_for_SimGaussian | R Documentation |
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()
.
sd |
Standard deviation of Cumulative Gaussian. |
maxStim |
The maximum stimuls value (0 dB) in cd/ |
... |
Any other parameters you like, they are ignored. |
A list with elements:
err
NULL if initialised, a message otherwise
# Set up a simple simulation for white-on-white perimetry
chooseOpi("SimGaussian")
res <- opiInitialize(sd = 2.5)
if (!is.null(res$err))
stop(paste("opiInitialize() failed:", res$msg))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.