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.

Parameters:
  • name (str) – Name of the test spectral distribution.

  • Q_a (float) – Colour Rendering Index (CRI) \(Q_a\).

  • Q_as (Dict[int, colour.quality.cri.DataColourQualityScale_TCS]) – Individual colour rendering indexes data for each sample.

  • colorimetry_data (Tuple[Tuple[colour.quality.cri.DataColorimetry_TCS, ...], Tuple[colour.quality.cri.DataColorimetry_TCS, ...]]) – Colorimetry data for the test and reference 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#
Parameters:
  • name (str)

  • Q_a (float)

  • Q_as (Dict[int, DataColourQualityScale_TCS])

  • colorimetry_data (Tuple[Tuple[DataColorimetry_TCS, ...], Tuple[DataColorimetry_TCS, ...]])

Return type:

None

Methods

__init__(name, Q_a, Q_as, colorimetry_data)

Attributes

name

Q_a

Q_as

colorimetry_data