colour.colorimetry.RGB_2_degree_cmfs_to_XYZ_2_degree_cmfs

colour.colorimetry.RGB_2_degree_cmfs_to_XYZ_2_degree_cmfs(wavelength: FloatingOrArrayLike) numpy.ndarray[source]

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

Parameters

wavelength (FloatingOrArrayLike) – 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

[WS00i]

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.        ])