colour.temperature.xy_to_CCT_Hernandez1999#

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

Return the correlated colour temperature \(T_{cp}\) from given CIE xy chromaticity coordinates using Hernandez-Andres et al. (1999) method.

Parameters:

xy (ArrayLike) – CIE xy chromaticity coordinates.

Returns:

Correlated colour temperature \(T_{cp}\).

Return type:

numpy.ndarray

References

[HernandezAndresLR99]

Examples

>>> xy = np.array([0.31270, 0.32900])
>>> xy_to_CCT_Hernandez1999(xy)  
6500.7420431...