colour.xy_to_Luv_uv

colour.xy_to_Luv_uv(xy)[source]

Returns the CIE L*u*v* colourspace \(uv^p\) chromaticity coordinates from given CIE xy chromaticity coordinates.

Parameters

xy (array_like) – CIE xy chromaticity coordinates.

Returns

CIE L*u*v* u”v” chromaticity coordinates.

Return type

ndarray

References

[Wikipedia07c]

Examples

>>> import numpy as np
>>> xy = np.array([0.54369558, 0.32107944])
>>> xy_to_Luv_uv(xy)  
array([ 0.3772021...,  0.5012026...])