Learn R Programming

colorscience (version 1.0.8)

spectra2lux: Illuminance (Lux) from spectra

Description

spectra2lux Illuminance (Lux) from spectra.

Usage

spectra2lux(spectraIn=NA, ciexyzIn=NA,wlIn=NA, wlInterval=NA)

Arguments

spectraIn

light source spd

ciexyzIn

reference data values

wlIn

range of output wavelengths

wlInterval

arbitrary wavelength interval to be applied to all series through interpolation

Value

Correlated Color Temperature (CCT)

References

Rensselaer Polytechnic Institute Light Sources and Color Q & A Appendix B: MATLAB script for calculating measures of light source color: CCT, CRI, GA, and FSI http://www.lrc.rpi.edu/programs/nlpip/lightinganswers/lightsources/appendixb1.asp

Examples

Run this code
# NOT RUN {
spectra2lux(MaterialReferenceData[,c('wavelength','BlueSky')])
# }

Run the code above in your browser using DataLab