opiInitialise_for_SimHenson | R Documentation |
Simulates responses using a Frequency of Seeing (FoS) curve.
For internal use only, use opiInitialize()
.
The FoS is modelled as a cumulative Gaussian function over dB with
standard deviation equal to min(cap, exp( A * t + B))
, where
t is the threshold/mean of the FoS in dB.
All values are in dB relative to maxStim
.
type |
A single character that is:
|
A |
Coefficient of |
B |
Addend of |
cap |
Maximum dB value for the stdev of the FoS curve. |
maxStim |
The maximum stimulus value (0 dB) in cd/ |
... |
Any other parameters you like, they are ignored. |
A list with elements:
err
NULL if initialised, msg otherwise
# Set up a simple simulation for white-on-white perimetry
chooseOpi("SimHenson")
res <- opiInitialize(type = "C", cap = 6)
if (!is.null(res$err))
stop(paste("opiInitialize() failed:", res$err))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.