colour.uv_to_UCS

colour.uv_to_UCS(uv: ArrayLike, V: float = 1) numpy.ndarray[source]

Return the CIE 1960 UCS colourspace array from given uv chromaticity coordinates.

Parameters
  • uv (ArrayLike) – uv chromaticity coordinates.

  • V (float) – Optional \(V\) luminance value used to construct the CIE 1960 UCS colourspace array, the default \(V\) luminance is set to 1.

Returns

CIE 1960 UCS colourspace array.

Return type

numpy.ndarray

References

[Wikipedia08d]

Examples

>>> import numpy as np
>>> uv = np.array([0.37720213, 0.33413508])
>>> uv_to_UCS(uv)  
array([ 1.1288911...,  1.        ,  0.8639104...])