colour.temperature.xy_to_CCT_McCamy1992¶
-
colour.temperature.
xy_to_CCT_McCamy1992
(xy)[source]¶ Returns the correlated colour temperature \(T_{cp}\) from given CIE xy chromaticity coordinates using McCamy (1992) method.
- Parameters
xy (array_like) – CIE xy chromaticity coordinates.
- Returns
Correlated colour temperature \(T_{cp}\).
- Return type
numeric or ndarray
References
Examples
>>> import numpy as np >>> xy = np.array([0.31270, 0.32900]) >>> xy_to_CCT_McCamy1992(xy) 6505.0805913...