colour.xyY_to_xy¶
-
colour.
xyY_to_xy
(xyY)[source]¶ Converts from CIE xyY colourspace to xy chromaticity coordinates.
xyY
argument with last dimension being equal to 2 will be assumed to be a xy chromaticity coordinates argument and will be returned directly by the definition.Parameters: xyY (array_like) – CIE xyY colourspace array or xy chromaticity coordinates. Returns: xy chromaticity coordinates. Return type: ndarray Notes
Domain Scale - Reference Scale - 1 xyY
[0, 1] [0, 1] References
Examples
>>> xyY = np.array([0.54369557, 0.32107944, 0.12197225]) >>> xyY_to_xy(xyY) # doctest: +ELLIPSIS array([ 0.54369557..., 0.32107944...]) >>> xy = np.array([0.54369557, 0.32107944]) >>> xyY_to_xy(xy) # doctest: +ELLIPSIS array([ 0.54369557..., 0.32107944...])