colour.colour_rendering_index#
- colour.colour_rendering_index(sd_test: colour.colorimetry.spectrum.SpectralDistribution, additional_data: bool = False) float | colour.quality.cri.ColourRendering_Specification_CRI [source]#
Return the Colour Rendering Index (CRI) \(Q_a\) of given spectral distribution.
- Parameters
sd_test (colour.colorimetry.spectrum.SpectralDistribution) – Test spectral distribution.
additional_data (bool) – Whether to output additional data.
- Returns
Colour Rendering Index (CRI).
- Return type
References
[OD08]
Examples
>>> from colour import SDS_ILLUMINANTS >>> sd = SDS_ILLUMINANTS["FL2"] >>> colour_rendering_index(sd) 64.2337241...