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 ColourRendering_Specification_CQS

References

[DO10], [OD08], [OD13]

Examples

>>> from colour import SDS_ILLUMINANTS
>>> sd = SDS_ILLUMINANTS['FL2']
>>> colour_quality_scale(sd)  
64.1117031...