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

[Wikipedia08d]

Examples

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