colour.temperature.uv_to_CCT_Ohno2013(uv: ArrayLike, cmfs: Optional[colour.colorimetry.spectrum.MultiSpectralDistributions] = None, start: float = CCT_MINIMAL, end: float = CCT_MAXIMAL, count: int = CCT_SAMPLES, iterations: int = CCT_CALCULATION_ITERATIONS) numpy.ndarray[source]

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

The iterations parameter defines the calculations’ precision: The higher its value, the more planckian tables will be generated through cascade expansion in order to converge to the exact solution.

  • uv (ArrayLike) – CIE UCS colourspace uv chromaticity coordinates.

  • cmfs (Optional[colour.colorimetry.spectrum.MultiSpectralDistributions]) – Standard observer colour matching functions, default to the CIE 1931 2 Degree Standard Observer.

  • start (float) – Temperature range start in kelvin degrees.

  • end (float) – Temperature range end in kelvin degrees.

  • count (int) – Temperatures count in the planckian tables.

  • iterations (int) – Number of planckian tables to generate.


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

Return type





>>> from pprint import pprint
>>> from colour import MSDS_CMFS, SPECTRAL_SHAPE_DEFAULT
>>> cmfs = (
...     MSDS_CMFS['CIE 1931 2 Degree Standard Observer'].
...     copy().align(SPECTRAL_SHAPE_DEFAULT)
... )
>>> uv = np.array([0.1978, 0.3122])
>>> uv_to_CCT_Ohno2013(uv, cmfs)  
array([  6.50747...e+03,   3.22334...e-03])