photor: Photoreceptor sensitivity spectra.

Description Usage Arguments Value Author(s) References See Also Examples

Description

Generates photoreceptor sensitivity spectra based on lambda-max values.

Usage

1
photor(lambda.max, lambda = seq(300, 700, 1), beta.band = FALSE)

Arguments

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.

Value

A data frame with first column corresponding to wavelength values and following columns with photoreceptor sensitivity values

Author(s)

Felipe M. Gawryszewski f.gawry@gmail.com

References

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.

See Also

CTTKmodel, EMmodel, RNLmodel, RNLthres

Examples

1
2
3
4
5
6
7
## 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")

colourvision documentation built on Aug. 2, 2021, 1:06 a.m.