colour.quality.ColourQuality_Specification_ANSIIESTM3018#

class colour.quality.ColourQuality_Specification_ANSIIESTM3018(name: str, sd_test: SpectralDistribution, sd_reference: SpectralDistribution, R_f: float, R_s: ndarray, CCT: float, D_uv: float, colorimetry_data: Tuple[Tuple[TCS_ColorimetryData_CIE2017, ...], Tuple[TCS_ColorimetryData_CIE2017, ...]], R_g: float, bins: List[List[int]], averages_test: ndarray, averages_reference: ndarray, average_norms: ndarray, R_fs: ndarray, R_cs: ndarray, R_hs: ndarray)[source]#

Define the ANSI/IES TM-30-18 Colour Fidelity Index (CFI) colour quality specification.

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

  • sd_test (colour.colorimetry.spectrum.SpectralDistribution) – Spectral distribution of the tested illuminant.

  • sd_reference (colour.colorimetry.spectrum.SpectralDistribution) – Spectral distribution of the reference illuminant.

  • R_f (float) – Colour Fidelity Index (CFI) \(R_f\).

  • R_s (numpy.ndarray) – Individual colour fidelity indexes data for each sample.

  • CCT (float) – Correlated colour temperature \(T_{cp}\).

  • D_uv (float) – Distance from the Planckian locus \(\Delta_{uv}\).

  • colorimetry_data (Tuple[Tuple[colour.quality.cfi2017.TCS_ColorimetryData_CIE2017, ...], Tuple[colour.quality.cfi2017.TCS_ColorimetryData_CIE2017, ...]]) – Colorimetry data for the test and reference computations.

  • R_g (float) – Gamut index \(R_g\).

  • bins (List[List[int]]) – List of 16 lists, each containing the indexes of colour samples that lie in the respective hue bin.

  • averages_test (numpy.ndarray) – Averages of CAM02-UCS a’, b’ coordinates for each hue bin for test samples.

  • averages_reference (numpy.ndarray) – Averages for reference samples.

  • average_norms (numpy.ndarray) – Distance of averages for reference samples from the origin.

  • R_fs (numpy.ndarray) – Local colour fidelities for each hue bin.

  • R_cs (numpy.ndarray) – Local chromaticity shifts for each hue bin, in percents.

  • R_hs (numpy.ndarray) – Local hue shifts for each hue bin.

__init__(name: str, sd_test: SpectralDistribution, sd_reference: SpectralDistribution, R_f: float, R_s: ndarray, CCT: float, D_uv: float, colorimetry_data: Tuple[Tuple[TCS_ColorimetryData_CIE2017, ...], Tuple[TCS_ColorimetryData_CIE2017, ...]], R_g: float, bins: List[List[int]], averages_test: ndarray, averages_reference: ndarray, average_norms: ndarray, R_fs: ndarray, R_cs: ndarray, R_hs: ndarray) None#
Parameters:
Return type:

None

Methods

__init__(name, sd_test, sd_reference, R_f, ...)

Attributes

name

sd_test

sd_reference

R_f

R_s

CCT

D_uv

colorimetry_data

R_g

bins

averages_test

averages_reference

average_norms

R_fs

R_cs

R_hs