colour.xy_to_Luv_uv¶
- colour.xy_to_Luv_uv(xy: ArrayLike) numpy.ndarray [source]¶
Return the CIE L*u*v* colourspace \(uv^p\) chromaticity coordinates from given CIE xy chromaticity coordinates.
- Parameters
xy (ArrayLike) – CIE xy chromaticity coordinates.
- Returns
CIE L*u*v* u”v” chromaticity coordinates.
- Return type
References
Examples
>>> import numpy as np >>> xy = np.array([0.54369558, 0.32107944]) >>> xy_to_Luv_uv(xy) array([ 0.3772021..., 0.5012026...])