colour.xyY_to_XYZ#

colour.xyY_to_XYZ(xyY: Annotated[_Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | complex | bytes | str | _NestedSequence[complex | bytes | str], 1]) Annotated[ndarray[tuple[Any, ...], dtype[float16 | float32 | float64]], 1][source]#

Convert from CIE xyY colourspace to CIE XYZ tristimulus values.

Parameters:

xyY (Annotated[_Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | complex | bytes | str | _NestedSequence[complex | bytes | str], 1]) – CIE xyY colourspace array with chromaticity coordinates \(x, y\) and luminance \(Y\).

Returns:

CIE XYZ tristimulus values.

Return type:

numpy.ndarray

Notes

Domain

Scale - Reference

Scale - 1

xyY

1

1

Range

Scale - Reference

Scale - 1

XYZ

1

1

References

[CIET14804f], [Wikipedia05d]

Examples

>>> xyY = np.array([0.54369557, 0.32107944, 0.12197225])
>>> xyY_to_XYZ(xyY)
array([ 0.2065400...,  0.1219722...,  0.0513695...])