colour.xy_to_Luv_uv#

colour.xy_to_Luv_uv(xy: ArrayLike) 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:

numpy.ndarray

References

[Wikipedia07e]

Examples

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