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

[AdobeSystems13a], [AdobeSystems13b], [Kry85], [Ohn14], [WS00e]

Examples

>>> import numpy as np
>>> uv = np.array([0.1978, 0.3122])
>>> # Doctests skipping for Python 2.x compatibility.
>>> uv_to_CCT(uv)  
array([  6.5074738...e+03,   3.2233460...e-03])