# colour.quality.ColourRendering_Specification_CQS#

class colour.quality.ColourRendering_Specification_CQS(name: str, Q_a: Floating, Q_f: Floating, Q_p: Optional[Floating], Q_g: Floating, Q_d: Optional[Floating], Q_as: Dict[Integer, VS_ColourQualityScaleData], colorimetry_data: Tuple[Tuple[VS_ColorimetryData, ...], Tuple[VS_ColorimetryData, ...]])[source]#

Define the Colour Quality Scale (CQS) colour rendering (quality) specification.

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

• Q_a (float) – Colour quality scale $$Q_a$$.

• Q_f (float) – Colour fidelity scale $$Q_f$$ intended to evaluate the fidelity of object colour appearances (compared to the reference illuminant of the same correlated colour temperature and illuminance).

• Q_p (Optional[float]) – Colour preference scale $$Q_p$$ similar to colour quality scale $$Q_a$$ but placing additional weight on preference of object colour appearance, set to None in NIST CQS 9.0 method. This metric is based on the notion that increases in chroma are generally preferred and should be rewarded.

• Q_g (float) – Gamut area scale $$Q_g$$ representing the relative gamut formed by the ($$a^*$$, $$b^*$$) coordinates of the 15 samples illuminated by the test light source in the CIE L*a*b* object colourspace.

• Q_d (Optional[float]) – Relative gamut area scale $$Q_d$$, set to None in NIST CQS 9.0 method.

• Q_as (Dict[int, colour.quality.cqs.VS_ColourQualityScaleData]) – Individual Colour Quality Scale (CQS) data for each sample.

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

Return type

None

References

[DO10], [OD08], [OD13]

__init__(name: str, Q_a: Floating, Q_f: Floating, Q_p: Optional[Floating], Q_g: Floating, Q_d: Optional[Floating], Q_as: Dict[Integer, VS_ColourQualityScaleData], colorimetry_data: Tuple[Tuple[VS_ColorimetryData, ...], Tuple[VS_ColorimetryData, ...]]) None#
Parameters
• name (str) –

• Q_a (Floating) –

• Q_f (Floating) –

• Q_p (Optional[Floating]) –

• Q_g (Floating) –

• Q_d (Optional[Floating]) –

• Q_as (Dict[Integer, VS_ColourQualityScaleData]) –

• colorimetry_data (Tuple[Tuple[VS_ColorimetryData, ...], Tuple[VS_ColorimetryData, ...]]) –

Return type

None

Methods

 __init__(name, Q_a, Q_f, Q_p, Q_g, Q_d, ...)

Attributes

 name Q_a Q_f Q_p Q_g Q_d Q_as colorimetry_data
{"ft_lang_label":"__label__en","ft_lang_prob":0.56075877,"math_prob":0.96853346,"size":2379,"snap":"2022-05-2022-21","text_gpt3_token_len":665,"char_repetition_ratio":0.16842106,"word_repetition_ratio":0.14184397,"special_character_ratio":0.26565784,"punctuation_ratio":0.26485148,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.97367907,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2022-05-24T03:35:44Z\",\"WARC-Record-ID\":\"<urn:uuid:d97bbf59-070d-490f-bff1-0badaef15676>\",\"Content-Length\":\"213579\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:a7310d70-3e45-4ab4-9aab-240b8f964ad2>\",\"WARC-Concurrent-To\":\"<urn:uuid:26f7b228-07a3-46ec-9165-d4cbebd0a9da>\",\"WARC-IP-Address\":\"104.17.33.82\",\"WARC-Target-URI\":\"https://colour.readthedocs.io/en/develop/generated/colour.quality.ColourRendering_Specification_CQS.html\",\"WARC-Payload-Digest\":\"sha1:HIQEJ7NXI2VHPA7LGWCDBRHR4RQ2RCAN\",\"WARC-Block-Digest\":\"sha1:7V6NBHDGMGCZANXB6CKPLDLKGI7AS6I6\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2022/CC-MAIN-2022-21/CC-MAIN-2022-21_segments_1652662562410.53_warc_CC-MAIN-20220524014636-20220524044636-00487.warc.gz\"}"}