colour.xy_to_XYZ#

colour.xy_to_XYZ(xy: ArrayLike) NDArrayFloat[source]#

Return the CIE XYZ tristimulus values from given CIE xy chromaticity coordinates.

Parameters:

xy (ArrayLike) – CIE xy chromaticity coordinates.

Returns:

CIE XYZ tristimulus values.

Return type:

numpy.ndarray

Notes

Domain

Scale - Reference

Scale - 1

xy

[0, 1]

[0, 1]

Range

Scale - Reference

Scale - 1

XYZ

[0, 1]

[0, 1]

References

[CIET14804f], [Wikipedia05d]

Examples

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