colour.colour_rendering_index¶
-
colour.
colour_rendering_index
(spd_test, additional_data=False)[source]¶ Returns the Colour Rendering Index (CRI) \(Q_a\) of given spectral power distribution.
Parameters: - spd_test (SpectralPowerDistribution) – Test spectral power distribution.
- additional_data (bool, optional) – Output additional data.
Returns: Colour Rendering Index (CRI).
Return type: numeric or CRI_Specification
References
Examples
>>> from colour import ILLUMINANTS_RELATIVE_SPDS >>> spd = ILLUMINANTS_RELATIVE_SPDS['F2'] >>> colour_rendering_index(spd) 64.1515202...