View source: R/lighting_values.R
sensitivity_functions | R Documentation |
In order to compute lighting values by numerical intergration the spectral power distribution and spectral sensitivity function must be interpolated to a common wavelength range and interval. This function provides a collection sensitivity function for calcuation of different lighting values. As recommended by \insertCiteCIE2018blighting the sprague method is performed to interpolate smooth spectra. The exception is the interpolation of daylight components and CIE test colour samples, which should be explicitly interpolated linearly according to \insertCiteCIE2018b,CIE1995lighting.
sensitivity_functions(wl_out = seq(380, 780, 1))
wl_out |
defines the wavelength interval. Wavelength range (380-780)nm. |
Firstly, the sensitivity functions are interpolated to specified wavelength interval and their original wavelength range using the recommended methods by \insertCiteCIE2018b,CIE1995lighting. Secondly the functions are linear interpolated to the specified wavelength range and interval; extrapolated values are returned with 0. Wavelength interval cannot be smaller than 1.
list of sensitivity functions for computing lighting values
\insertAllCited{}
# Returning in wavelength seq(380, 780, 1)
sensitivity_functions()
# Returning original datasets as a list
sensitivity_functions(NULL)
# Returning in wavelength seq(200, 830, 1)
sensitivity_functions(seq(200, 830, 1))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.