colour.temperature.uv_to_CCT_Krystek1985#
- colour.temperature.uv_to_CCT_Krystek1985(uv: ArrayLike, optimisation_kwargs: dict | None = None) NDArrayFloat[source]#
Compute the correlated colour temperature \(T_{cp}\) from the specified 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 provide an analytical inverse transformation to compute the correlated colour temperature \(T_{cp}\) from the specified 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...