colour.quality.ColourQuality_Specification_ANSIIESTM3018

class colour.quality.ColourQuality_Specification_ANSIIESTM3018(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)[source]

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

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

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

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

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

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

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

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

  • colorimetry_data (tuple) – Colorimetry data for the test and reference computations.

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

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

  • averages_reference (ndarray, (16, 2)) – Averages for reference samples.

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

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

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

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

Create new instance of ColourQuality_Specification_ANSIIESTM3018(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)

__init__()

Initialize self. See help(type(self)) for accurate signature.

Methods

__init__()

Initialize self.

count(value, /)

Return number of occurrences of value.

index(value[, start, stop])

Return first index of value.

Attributes

CCT

Alias for field number 5

D_uv

Alias for field number 6

R_cs

Alias for field number 14

R_f

Alias for field number 3

R_fs

Alias for field number 13

R_g

Alias for field number 8

R_hs

Alias for field number 15

R_s

Alias for field number 4

average_norms

Alias for field number 12

averages_reference

Alias for field number 11

averages_test

Alias for field number 10

bins

Alias for field number 9

colorimetry_data

Alias for field number 7

name

Alias for field number 0

sd_reference

Alias for field number 2

sd_test

Alias for field number 1