colour.quality.colour_fidelity_index_ANSIIESTM3018#

colour.quality.colour_fidelity_index_ANSIIESTM3018(sd_test: SpectralDistribution, additional_data: bool = False) Union[float, ColourQuality_Specification_ANSIIESTM3018, ColourRendering_Specification_CIE2017][source]#

Return 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) – Whether to output additional data.

Returns:

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

Return type:

numpy.floating or colour.quality.ColourQuality_Specification_ANSIIESTM3018

References

[ANSIIESCCommittee18]

Examples

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