Preset spectrum¶
Description¶
The preset spectrum type accesses the spectra stored in the program, given a spectrum name.
Currently, the following spectra are supported:
- cie1931_xbar_2deg : The CIE 1931 standard observer xbar color matching function
- cie1931_ybar_2deg : The CIE 1931 standard observer ybar color matching function
- cie1931_zbar_2deg : The CIE 1931 standard observer zbar color matching function
- D65 : The D65 standard illuminant spectral radiance
- primaryR : The red primary for generating RGB spectra
- primaryG : The green primary for generating RGB spectra
- primaryB : The blue primary for generating RGB spectra
Unit¶
Variable
Parameters¶
name | type | description |
---|---|---|
value | real | The name of the built-in spectrum (see above for values) |
gain | real | An optional multiplier factor |
Ocean XML 3.0 example¶
<spectrum type="preset" name="spectrum" value="D65" gain="1e+006"/>