cie_color_matching_kernels

typhon.physics.cie_color_matching_kernels(wavelength)[source]

Calculates CIE color matching kernels for desired wavelengths between 380nm and 780nm. Outside of these range values are nan.

Parameters:

wavelength (ndarray) – wavelength in m.

Returns:

color matching kernels (dim:len(wavelengths)x3).

Return type:

ndarray

References:

https://scipython.com/static/media/blog/colours/cie-cmf.txt https://www.fourmilab.ch/documents/specrend/specrend.c