colour.temperature.uv_to_CCT_Planck1900#

colour.temperature.uv_to_CCT_Planck1900(uv: ArrayLike, cmfs: Optional[MultiSpectralDistributions] = None, optimisation_kwargs: Optional[Dict] = None) FloatingOrNDArray[source]#

Return the correlated colour temperature \(T_{cp}\) of a blackbody from given CIE UCS colourspace uv chromaticity coordinates and colour matching functions.

Parameters:
Returns:

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

Return type:

numpy.floating or numpy.ndarray

Warning

The current implementation relies on optimization using scipy.optimize.minimize() definition and thus has reduced precision and poor performance.

References

[CIET14804e]

Examples

>>> uv_to_CCT_Planck1900(np.array([0.20042808, 0.31033343]))
... 
6504.0000617...