colour.UCS_uv_to_xy

colour.UCS_uv_to_xy(uv)[source]

Returns the xy chromaticity coordinates from given CIE UCS colourspace uv chromaticity coordinates.

Parameters:uv (array_like) – CIE UCS uv chromaticity coordinates.
Returns:xy chromaticity coordinates.
Return type:ndarray

Notes

  • Input uv chromaticity coordinates are in domain [0, 1].
  • Output xy chromaticity coordinates are in range [0, 1].

References

Examples

>>> import numpy as np
>>> uv = np.array([0.150853087327666, 0.323553137295440])
>>> UCS_uv_to_xy(uv)  
array([ 0.2641477...,  0.3777000...])