colour.xy_to_UCS_uv#

colour.xy_to_UCS_uv(xy: ArrayLike) NDArrayFloat[source]#

Return the CIE 1960 UCS \(UVW\) colourspace uv chromaticity coordinates from given CIE xy chromaticity coordinates.

Parameters:

xy (ArrayLike) – CIE xy chromaticity coordinates.

Returns:

CIE UCS uv chromaticity coordinates.

Return type:

numpy.ndarray

References

[Wikipedia08b]

Examples

>>> import numpy as np
>>> xy = np.array([0.54369555, 0.32107941])
>>> xy_to_UCS_uv(xy)  
array([ 0.3772021...,  0.3341350...])