colour.temperature.uv_to_CCT_Krystek1985

colour.temperature.uv_to_CCT_Krystek1985(uv, optimisation_parameters=None)[source]

Returns the correlated colour temperature \(T_{cp}\) from given CIE UCS colourspace uv chromaticity coordinates using Krystek (1985) method.

Parameters:
  • uv (array_like) – CIE UCS colourspace uv chromaticity coordinates.
  • optimisation_parameters (dict_like, optional) – Parameters for scipy.optimize.minimize() definition.
Returns:

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

Return type:

ndarray

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 optimization 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

[Krystek1985b]

Examples

>>> uv_to_CCT_Krystek1985(np.array([0.18376696, 0.30934437]))
... # doctest: +ELLIPSIS
6504.3896615...