colour.colour_quality_scale

colour.colour_quality_scale(sd_test, additional_data=False, method='NIST CQS 9.0')[source]

Returns the Colour Quality Scale (CQS) of given spectral distribution using given method.

Parameters:
  • sd_test (SpectralDistribution) – Test spectral distribution.
  • additional_data (bool, optional) – Whether to output additional data.
  • method (unicode, optional) – {‘NIST CQS 9.0’, ‘NIST CQS 7.4’}, Computation method.
Returns:

Color quality scale.

Return type:

numeric or CQS_Specification

References

[Davis2010a], [Ohno2008a], [Ohno2013]

Examples

>>> from colour import ILLUMINANTS_SDS
>>> sd = ILLUMINANTS_SDS['FL2']
>>> colour_quality_scale(sd)  # doctest: +ELLIPSIS
64.0172835...