colour.temperature.CCT_to_xy_Kang2002¶
-
colour.temperature.
CCT_to_xy_Kang2002
(CCT)[source]¶ Returns the CIE XYZ tristimulus values xy chromaticity coordinates from given correlated colour temperature \(T_{cp}\) using Kang et al. (2002) method.
Parameters: CCT (numeric or array_like) – Correlated colour temperature \(T_{cp}\). Returns: xy chromaticity coordinates. Return type: ndarray Raises: ValueError
– If the correlated colour temperature is not in appropriate domain.References
Examples
>>> CCT_to_xy_Kang2002(6504.38938305) # doctest: +ELLIPSIS array([ 0.313426 ..., 0.3235959...])