colour.xy_to_XYZ#

colour.xy_to_XYZ(xy: ArrayLike) Annotated[ndarray[tuple[Any, ...], dtype[float16 | float32 | float64]], 1][source]#

Convert from CIE xy chromaticity coordinates to CIE XYZ tristimulus values.

Parameters:

xy (ArrayLike) – CIE xy chromaticity coordinates.

Returns:

CIE XYZ tristimulus values.

Return type:

numpy.ndarray

Notes

Domain

Scale - Reference

Scale - 1

xy

1

1

Range

Scale - Reference

Scale - 1

XYZ

1

1

References

[CIET14804f], [Wikipedia05d]

Examples

>>> xy = np.array([0.54369557, 0.32107944])
>>> xy_to_XYZ(xy)
array([ 1.6933366...,  1.        ,  0.4211574...])