colour.spectral_similarity_index

colour.spectral_similarity_index(sd_test, sd_reference)[source]

Returns the Academy Spectral Similarity Index (SSI) of given test spectral distribution with given reference spectral distribution.

Parameters
Returns

Academy Spectral Similarity Index (SSI).

Return type

numeric

References

[TheAoMPAaSciences19]

Examples

>>> from colour import SDS_ILLUMINANTS
>>> sd_test = SDS_ILLUMINANTS['C']
>>> sd_reference = SDS_ILLUMINANTS['D65']
>>> spectral_similarity_index(sd_test, sd_reference)
94.0