colour.XYZ_to_UCS

colour.XYZ_to_UCS(XYZ)[source]

Converts from CIE XYZ tristimulus values to CIE 1960 UCS colourspace.

Parameters:XYZ (array_like) – CIE XYZ tristimulus values.
Returns:CIE 1960 UCS colourspace array.
Return type:ndarray

Notes

Domain Scale - Reference Scale - 1
XYZ [0, 1] [0, 1]
Range Scale - Reference Scale - 1
UVW [0, 1] [0, 1]

References

[Wikipedia2008c], [Wikipedia2008]

Examples

>>> XYZ = np.array([0.20654008, 0.12197225, 0.05136952])
>>> XYZ_to_UCS(XYZ)  # doctest: +ELLIPSIS
array([ 0.1376933...,  0.1219722...,  0.1053731...])