colour.quality.ColourRendering_Specification_CRI#
- class colour.quality.ColourRendering_Specification_CRI(name: str, Q_a: float, Q_as: Dict[int, DataColourQualityScale_TCS], colorimetry_data: Tuple[Tuple[DataColorimetry_TCS, ...], Tuple[DataColorimetry_TCS, ...]])[source]#
Define the Colour Rendering Index (CRI) colour quality specification.
This dataclass represents the colour quality assessment results using the CRI method, which evaluates how accurately a light source renders colours compared to a reference illuminant.
- Parameters:
name (str) – Name of the test spectral distribution.
Q_a (float) – Colour Rendering Index (CRI) \(Q_a\) general index value.
Q_as (Dict[int, DataColourQualityScale_TCS]) – Individual colour rendering indexes data for each test colour sample.
colorimetry_data (Tuple[Tuple[DataColorimetry_TCS, ...], Tuple[DataColorimetry_TCS, ...]]) – Colorimetry data for the test and reference illuminant computations.
References
[OD08]
- __init__(name: str, Q_a: float, Q_as: Dict[int, DataColourQualityScale_TCS], colorimetry_data: Tuple[Tuple[DataColorimetry_TCS, ...], Tuple[DataColorimetry_TCS, ...]]) None#
Methods
__init__(name, Q_a, Q_as, colorimetry_data)Attributes
nameQ_aQ_ascolorimetry_data