colour.colour_rendering_index

colour.colour_rendering_index(sd_test, additional_data=False)[source]

Returns the Colour Rendering Index (CRI) \(Q_a\) of given spectral distribution.

Parameters:
  • sd_test (SpectralDistribution) – Test spectral distribution.
  • additional_data (bool, optional) – Whether to output additional data.
Returns:

Colour Rendering Index (CRI).

Return type:

numeric or CRI_Specification

References

[Ohno2008a]

Examples

>>> from colour import ILLUMINANTS_SDS
>>> sd = ILLUMINANTS_SDS['FL2']
>>> colour_rendering_index(sd)  # doctest: +ELLIPSIS
64.1515202...