sensitivity_functions: Returns list of interpolated spectral sensitivity functions

View source: R/lighting_values.R

sensitivity_functionsR Documentation

Returns list of interpolated spectral sensitivity functions

Description

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.

Usage

sensitivity_functions(wl_out = seq(380, 780, 1))

Arguments

wl_out

defines the wavelength interval. Wavelength range (380-780)nm.

Details

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.

Value

list of sensitivity functions for computing lighting values

References

\insertAllCited{}

Examples

# 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))


Wei-Lim/lighting documentation built on Oct. 17, 2023, 3:20 p.m.