colour.xyY_to_xy#
- colour.xyY_to_xy(xyY: Annotated[_Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | complex | bytes | str | _NestedSequence[complex | bytes | str], 1]) NDArrayFloat[source]#
Convert from CIE xyY colourspace to CIE xy chromaticity coordinates.
xyYargument with last dimension being equal to 2 will be assumed to be a CIE xy chromaticity coordinates argument and will be returned directly by the definition.- Parameters:
xyY (Annotated[_Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | complex | bytes | str | _NestedSequence[complex | bytes | str], 1]) – CIE xyY colourspace array or CIE xy chromaticity coordinates.
- Returns:
CIE xy chromaticity coordinates.
- Return type:
Notes
Domain
Scale - Reference
Scale - 1
xyY1
1
References
[CIET14804f], [Wikipedia05d]
Examples
>>> xyY = np.array([0.54369557, 0.32107944, 0.12197225]) >>> xyY_to_xy(xyY) array([ 0.54369557..., 0.32107944...]) >>> xy = np.array([0.54369557, 0.32107944]) >>> xyY_to_xy(xy) array([ 0.54369557..., 0.32107944...])