Wolfram Data Repository
Immediate Computable Access to Curated Contributed Data
Standard illuminants, colorimetric observer curves, and daylight components for working with visible light spectra and illumination, from Publication CIE 15:2004
"CIE1964" | CIE 1964 Colorimetric Observer Functions (default) |
"CIE1931" | CIE 1931 Colorimetric Observer Functions |
"IlluminantA" | Standard Illuminant A |
"IlluminantD65" | Standard Illuminant D65 |
"DaylightS0S1S2" | D Series Spectral Power Distributions |
(81 elements)
Retrieve the default data, the CIE Color Matching Functions :
In[1]:= |
Out[2]= |
The standard illuminants are spectra for studying lighting. Illuminant A represents indoor, incandescent lighting, with the power spectrum of a black body at 2856° Kelvin. Illuminant D65 represents daylight at 6504° Kelvin. The relative spectral power distributions, S0, S1, and S2 of the Illuminant D series can be used to compose alternate illuminant variations.
In[3]:= |
In[4]:= |
Out[4]= |
In[5]:= |
Out[5]= |
In[6]:= |
Out[6]= |
Converting a visible spectrum to a color is a matter of integrating the spectrum with each of the three CIE observer functions to get the CIE XYZ coordinates. Mathematica can interpret these with XYZColor[]. It is important to normalize the integrals by the integrals of the observer functions. The resulting XYZ values will represent an irradiance that is probably very bright and would just look white, so we want to normalize the color itself by dividing by Y. As expected, the daylight is cool and the incandescent 'warm'.
In[7]:= |
Out[12]= |
In[13]:= |
Out[14]= |
Arnito Lappe, "Selected CIE Colorimetric Tables" from the Wolfram Data Repository (2021)