colour.xy_to_UCS_uv

colour.xy_to_UCS_uv(xy)[source]

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

Parameters:xy (array_like) – CIE xy chromaticity coordinates.
Returns:CIE UCS uv chromaticity coordinates.
Return type:ndarray

References

[Wikipedia2008c]

Examples

>>> xy = np.array([0.54369555, 0.32107941])
>>> xy_to_UCS_uv(xy)  # doctest: +ELLIPSIS
array([ 0.3772021...,  0.3341350...])