colour.temperature.uv_to_CCT_Krystek1985

colour.temperature.uv_to_CCT_Krystek1985(uv, optimisation_kwargs=None, **kwargs)[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_kwargs (dict_like, optional) – Parameters for scipy.optimize.minimize() definition.

Other Parameters

**kwargs (dict, optional) – Keywords arguments for deprecation management.

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

[Kry85]

Examples

>>> uv_to_CCT_Krystek1985(np.array([0.20047203, 0.31029290]))
... 
6504.3894290...