colour.colorimetry.illuminants Module


Defines CIE illuminants computation related objects.

See also

Illuminants IPython Notebook colour.colorimetry.dataset.illuminants.d_illuminants_s_spds, colour.colorimetry.spectrum.SpectralPowerDistribution


Returns the relative spectral power distribution of given CIE Standard Illuminant D Series using given xy chromaticity coordinates.


[1]Wyszecki, G., & Stiles, W. S. (2000). CIE Method of Calculating D-Illuminants. In Color Science: Concepts and Methods, Quantitative Data and Formulae (pp. 145–146). Wiley. ISBN:978-0471399186
[2]Lindbloom, B. (2007). Spectral Power Distribution of a CIE D-Illuminant. Retrieved April 05, 2014, from
Parameters:xy (array_like) – xy chromaticity coordinates.
Returns:CIE Standard Illuminant D Series relative spectral power distribution.
Return type:SpectralPowerDistribution


>>> import numpy as np
>>> xy = np.array([0.34567, 0.35850])
>>> D_illuminant_relative_spd(xy)  
<colour.colorimetry.spectrum.SpectralPowerDistribution object at 0x...>