colour.uv_to_UCS

colour.uv_to_UCS(uv, V=1)[source]

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

Parameters:
  • uv (array_like) – uv chromaticity coordinates.
  • V (numeric, optional) – 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:

ndarray

References

[Wikipedia2008c]

Examples

>>> uv = np.array([0.37720213, 0.33413508])
>>> uv_to_UCS(uv)  # doctest: +ELLIPSIS
array([ 1.1288911...,  1.        ,  0.8639104...])