colour.xyY_to_XYZ

colour.xyY_to_XYZ(xyY)[source]

Converts from CIE xyY colourspace to CIE XYZ tristimulus values.

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

Notes

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

References

[Lin09d], [Wik05a]

Examples

>>> xyY = np.array([0.54369557, 0.32107944, 0.12197225])
>>> xyY_to_XYZ(xyY)  # doctest: +ELLIPSIS
array([ 0.2065400...,  0.1219722...,  0.0513695...])