colour.temperature.CCT_to_xy_Kang2002

colour.temperature.CCT_to_xy_Kang2002(CCT)[source]

Returns the CIE 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:CIE xy chromaticity coordinates.
Return type:ndarray
Raises:ValueError – If the correlated colour temperature is not in appropriate domain.

References

[Kang2002a]

Examples

>>> CCT_to_xy_Kang2002(6504.38938305)  # doctest: +ELLIPSIS
array([ 0.313426 ...,  0.3235959...])