colour.uv_to_CCT

colour.uv_to_CCT(uv, method='Ohno 2013', **kwargs)[source]

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

Parameters:
  • uv (array_like) – CIE UCS colourspace uv chromaticity coordinates.
  • method (unicode, optional) – {‘Ohno 2013’, ‘Krystek 1985, ‘Robertson 1968’}, Computation method.
Other Parameters:
 
Returns:

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

Return type:

ndarray

References

[AdobeSystems2013], [AdobeSystems2013a], [Krystek1985b], [Ohno2014a], [Wyszecki2000y]

Examples

>>> import numpy as np
>>> uv = np.array([0.1978, 0.3122])
>>> uv_to_CCT(uv)  # doctest: +ELLIPSIS
array([  6.5074738...e+03,   3.2233461...e-03])