colour.colorimetry.illuminants Module

Illuminants

Defines CIE illuminants computation related objects.

See also

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

colour.colorimetry.illuminants.D_illuminant_relative_spd(xy)[source]

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

References

[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 http://www.brucelindbloom.com/Eqn_DIlluminant.html
Parameters:xy (array_like) – xy chromaticity coordinates.
Returns:CIE Standard Illuminant D Series relative spectral power distribution.
Return type:SpectralPowerDistribution

Examples

>>> D_illuminant_relative_spd((0.34567, 0.35850))  
<colour.colorimetry.spectrum.SpectralPowerDistribution object at 0x...>