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

[Wikipedia2007b]

Examples

>>> xy = np.array([0.54369558, 0.32107944])
>>> xy_to_Luv_uv(xy)  # doctest: +ELLIPSIS
array([ 0.3772021...,  0.5012026...])