colour.xy_to_XYZ

colour.xy_to_XYZ(xy)[source]

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

Parameters

xy (array_like) – CIE xy chromaticity coordinates.

Returns

CIE XYZ tristimulus values.

Return type

ndarray

Notes

Domain

Scale - Reference

Scale - 1

xy

[0, 1]

[0, 1]

Range

Scale - Reference

Scale - 1

XYZ

[0, 1]

[0, 1]

References

[Wik05a]

Examples

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