An exponential decay followed by a second exponential decay.
An array of parameters;
note that the cone threshold is a + a log10(lum)
The times in minutes when the model predicts thresholds.
This function has three roles, to calculate the thresholds for given parameters
a and times
X. If missing
X, then the function calls the values
y from the
.Globalenv and calculates the sum of residuals squared error (SSE) for
a is an array of length
boolean then a description of the model is returned.
The use of the function
H rather than an impulse function gives a three-fold increase is speed for the
The output depends upon the input.
If the input is an array of length
1L or a
boolean then a list is returned
number of parameters
name of the model
If a parameter array is passed then the sum of residuals squared is calculated. This is used by
optim to optimise the parameter estimates.
Passing a parameter array and a series of putative times causes the function to return predicted thresholds.
Jeremiah MF Kelly
Faculty of Life Sciences, The University of Manchester, M13 9PL, UK
O. Mahroo and T. Lamb. Recovery of the human photopic electroretinogram after bleaching exposures: estimation of pigment regeneration kinetics. The Journal of Physiology, 554(2):417, 2004.
T. Lamb and E. Pugh. Dark adaptation and the retinoid cycle of vision. Progress in Retinal and Eye Research, 23(3):307-380, 2004.
1 2 3 4 5 6 7 8 9 10 11 12