photor {colourvision} | R Documentation |
Generates photoreceptor sensitivity spectra based on lambda-max values.
photor(lambda.max, lambda = seq(300, 700, 1), beta.band = FALSE)
lambda.max |
Vector with photoreceptor wavelength at maximum sensitivity values, in increasing order. |
lambda |
Range and interval to calculate the sensitivity curves. |
beta.band |
Logical. Whether or not to include a beta-band in the sensitivity curve. |
A data frame with first column corresponding to wavelength values and following columns with photoreceptor sensitivity values
Felipe M. Gawryszewski f.gawry@gmail.com
Govardovskii, V. I., N. Fyhrquist, T. Reuter, D. G. Kuzmin, and K. Donner. 2000. In search of the visual pigment template. Vis. Neurosci. 17:509-528.
CTTKmodel
, EMmodel
, RNLmodel
, RNLthres
## Generates photoreceptor sensitivity
## values with lambda max at 350nm, 450nm and 550nm:
C<-photor(lambda.max=c(350,450,550))
plot(C[,2]~C[,1], type="l", col="violet")
lines(C[,3]~C[,1], type="l", col="blue")
lines(C[,4]~C[,1], type="l", col="green")