colour.uv_to_CCT#

colour.uv_to_CCT(uv: ArrayLike, method: Union[Literal['Krystek 1985', 'Ohno 2013', 'Planck 1900', 'Robertson 1968'], str] = 'Ohno 2013', **kwargs: Any) ndarray[source]#

Return the correlated colour temperature \(T_{cp}\) and \(\Delta_{uv}\) from given CIE UCS colourspace uv chromaticity coordinates using given method.

Parameters:
Returns:

Correlated colour temperature \(T_{cp}\), \(\Delta_{uv}\).

Return type:

numpy.ndarray

References

[AdobeSystems13b], [AdobeSystems13a], [CIET14804e], [Kry85], [Ohn14], [WS00m]

Examples

>>> import numpy as np
>>> uv = np.array([0.1978, 0.3122])
>>> uv_to_CCT(uv)  
array([  6.507473...e+03,   3.223346...e-03])