colour.temperature.uv_to_CCT_Krystek1985#
- colour.temperature.uv_to_CCT_Krystek1985(uv: ArrayLike, optimisation_kwargs: dict | None = None) NDArrayFloat [source]#
Return the correlated colour temperature \(T_{cp}\) from given CIE UCS colourspace uv chromaticity coordinates using Krystek (1985) method.
- Parameters:
uv (ArrayLike) – CIE UCS colourspace uv chromaticity coordinates.
optimisation_kwargs (dict | None) – Parameters for
scipy.optimize.minimize()
definition.
- Returns:
Correlated colour temperature \(T_{cp}\).
- Return type:
Warning
Krystek (1985) does not give an analytical inverse transformation to compute the correlated colour temperature \(T_{cp}\) from given CIE UCS colourspace uv chromaticity coordinates, the current implementation relies on optimisation using
scipy.optimize.minimize()
definition and thus has reduced precision and poor performance.Notes
Krystek (1985) method computations are valid for correlated colour temperature \(T_{cp}\) normalised to domain [1000, 15000].
References
[Kry85]
Examples
>>> uv_to_CCT_Krystek1985(np.array([0.20047203, 0.31029290])) ... 6504.3894290...