colour.quality.colour_fidelity_index_ANSIIESTM3018

colour.quality.colour_fidelity_index_ANSIIESTM3018(sd_test, additional_data=False)[source]

Returns the ANSI/IES TM-30-18 Colour Fidelity Index (CFI) \(R_f\) of given spectral distribution.

Parameters
  • sd_test (SpectralDistribution) – Test spectral distribution.

  • additional_data (bool, optional) – Whether to output additional data.

Returns

ANSI/IES TM-30-18 Colour Fidelity Index (CFI).

Return type

numeric or ColourQuality_Specification_ANSIIESTM3018

References

[ANSIIESCCommittee18]

Examples

>>> from colour import SDS_ILLUMINANTS
>>> sd = SDS_ILLUMINANTS['FL2']
>>> colour_fidelity_index_ANSIIESTM3018(sd)  
70.1208254...