opiInitialise_for_SimGaussian {OPI}R Documentation

opiInitialize_for_SimGaussian

Description

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().

Arguments

sd

Standard deviation of Cumulative Gaussian.

maxStim

The maximum stimuls value (0 dB) in cd/\mbox{m}^2.

...

Any other parameters you like, they are ignored.

Value

A list with elements:

Examples

    # 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))


[Package OPI version 3.0.2 Index]