colour.colorimetry.RGB_2_degree_cmfs_to_XYZ_2_degree_cmfs#

colour.colorimetry.RGB_2_degree_cmfs_to_XYZ_2_degree_cmfs(wavelength: ArrayLike) NDArrayFloat[source]#

Convert the Wright & Guild 1931 2 Degree RGB CMFs colour matching functions to the CIE 1931 2 Degree Standard Observer colour matching functions.

Parameters:

wavelength (ArrayLike) – Wavelength \(\lambda\) in nm.

Returns:

CIE 1931 2 Degree Standard Observer spectral tristimulus values.

Return type:

numpy.ndarray

Notes

  • Data for the CIE 1931 2 Degree Standard Observer already exists, this definition is intended for educational purpose.

References

[WS00f]

Examples

>>> from colour.utilities import numpy_print_options
>>> with numpy_print_options(suppress=True):
...     RGB_2_degree_cmfs_to_XYZ_2_degree_cmfs(700)
array([0.0113577..., 0.004102  , 0.        ])