colour.colorimetry.dataset.cmfs Module¶
Colour Matching Functions Spectral Power Distributions¶
Defines various colour matching functions involved in spectral computations.
The colour matching functions data is in the form of a dict of
colour.colorimetry.spectrum.TriSpectralPowerDistribution
classes as
follows:
{'name': TriSpectralPowerDistribution,
...,
'name': TriSpectralPowerDistribution}
The following colour matching functions are available:
- Stockman & Sharpe 2 Degree Cone Fundamentals [1]
- Stockman & Sharpe 10 Degree Cone Fundamentals [1]
- Wright & Guild 1931 2 Degree RGB CMFs [2]
- Stiles & Burch 1955 2 Degree RGB CMFs [3]
- Stiles & Burch 1959 10 Degree RGB CMFs [4]
- CIE 1931 2 Degree Standard Observer [5]
- CIE 1964 10 Degree Standard Observer [5]
- CIE 2012 10 Degree Standard Observer [6]
- CIE 2012 2 Degree Standard Observer [6]
Notes
- Stockman and Sharpe LMS colour matching functions are provided at 1 nm steps.
- Wright & Guild and Stiles & Burch CIE RGB colour matching functions are provided at 5 nm steps.
- CIE Standard Observers XYZ colour matching functions are provided at 5 nm steps.
References
[1] | (1, 2) CVRL. (n.d.). Cone Fundamentals. Retrieved June 23, 2014, from http://www.cvrl.org/cones.htm |
[2] | Broadbent, A. D. (2009). Calculation from the original experimental data of the CIE 1931 RGB standard observer spectral chromaticity co-ordinates and color matching functions. Retrieved June 12, 2014, from http://www.cis.rit.edu/mcsl/research/1931.php |
[3] | CVRL. (n.d.). Stiles & Burch individual 10-deg colour matching data. Retrieved February 24, 2014, from http://www.cvrl.org/stilesburch10_ind.htm |
[4] | CVRL. (n.d.). Stiles & Burch individual 2-deg colour matching data. Retrieved February 24, 2014, from http://www.cvrl.org/stilesburch2_ind.htm |
[5] | (1, 2) CVRL. (n.d.). Older CIE Standards. Retrieved February 24, 2014, from http://cvrl.ioo.ucl.ac.uk/cie.htm |
[6] | (1, 2) CVRL. (n.d.). New CIE XYZ functions transformed from the CIE (2006) LMS functions. Retrieved February 24, 2014, from http://cvrl.ioo.ucl.ac.uk/ciexyzpr.htm |
-
colour.colorimetry.dataset.cmfs.
LMS_CMFS
= CaseInsensitiveMapping({u'Stockman & Sharpe 2 Degree Cone Fundamentals': <colour.colorimetry.cmfs.LMS_ConeFundamentals object at 0x7fa03e5fdb10>, u'Stockman & Sharpe 10 Degree Cone Fundamentals': <colour.colorimetry.cmfs.LMS_ConeFundamentals object at 0x7fa03e5fdb90>})¶ LMS colour matching functions.
- LMS_CMFS : CaseInsensitiveMapping
- {‘Stockman & Sharpe 2 Degree Cone Fundamentals’, ‘Stockman & Sharpe 10 Degree Cone Fundamentals’}
-
colour.colorimetry.dataset.cmfs.
RGB_CMFS
= CaseInsensitiveMapping({u'Stiles & Burch 1959 10 Degree RGB CMFs': <colour.colorimetry.cmfs.RGB_ColourMatchingFunctions object at 0x7fa03e60a210>, u'Wright & Guild 1931 2 Degree RGB CMFs': <colour.colorimetry.cmfs.RGB_ColourMatchingFunctions object at 0x7fa03e5fdfd0>, u'Stiles & Burch 1955 2 Degree RGB CMFs': <colour.colorimetry.cmfs.RGB_ColourMatchingFunctions object at 0x7fa03e60a050>})¶ CIE RGB colour matching functions.
- RGB_CMFS : CaseInsensitiveMapping
- {‘Wright & Guild 1931 2 Degree RGB CMFs’, ‘Stiles & Burch 1955 2 Degree RGB CMFs’, ‘Stiles & Burch 1959 10 Degree RGB CMFs’}
-
colour.colorimetry.dataset.cmfs.
STANDARD_OBSERVERS_CMFS
= CaseInsensitiveMapping({u'CIE 1931 2 Degree Standard Observer': <colour.colorimetry.cmfs.XYZ_ColourMatchingFunctions object at 0x7fa03e60a590>, u'cie_10_1964': <colour.colorimetry.cmfs.XYZ_ColourMatchingFunctions object at 0x7fa03e60a5d0>, u'CIE 2012 10 Degree Standard Observer': <colour.colorimetry.cmfs.XYZ_ColourMatchingFunctions object at 0x7fa03e60a950>, u'CIE 2012 2 Degree Standard Observer': <colour.colorimetry.cmfs.XYZ_ColourMatchingFunctions object at 0x7fa03e60a790>, u'CIE 1964 10 Degree Standard Observer': <colour.colorimetry.cmfs.XYZ_ColourMatchingFunctions object at 0x7fa03e60a5d0>, u'cie_2_1931': <colour.colorimetry.cmfs.XYZ_ColourMatchingFunctions object at 0x7fa03e60a590>})¶ CIE Standard Observers XYZ colour matching functions.
- STANDARD_OBSERVERS_CMFS : CaseInsensitiveMapping
- {‘CIE 1931 2 Degree Standard Observer’, ‘CIE 1964 10 Degree Standard Observer’, ‘CIE 2012 2 Degree Standard Observer’, ‘CIE 2012 10 Degree Standard Observer’}
Aliases:
- ‘cie_2_1931’: ‘CIE 1931 2 Degree Standard Observer’
- ‘cie_10_1964’: ‘CIE 1964 10 Degree Standard Observer’
-
colour.colorimetry.dataset.cmfs.
CMFS
= CaseInsensitiveMapping({u'Stockman & Sharpe 2 Degree Cone Fundamentals': <colour.colorimetry.cmfs.LMS_ConeFundamentals object at 0x7fa03e5fdb10>, u'CIE 1931 2 Degree Standard Observer': <colour.colorimetry.cmfs.XYZ_ColourMatchingFunctions object at 0x7fa03e60a590>, u'CIE 2012 10 Degree Standard Observer': <colour.colorimetry.cmfs.XYZ_ColourMatchingFunctions object at 0x7fa03e60a950>, u'cie_10_1964': <colour.colorimetry.cmfs.XYZ_ColourMatchingFunctions object at 0x7fa03e60a5d0>, u'Stockman & Sharpe 10 Degree Cone Fundamentals': <colour.colorimetry.cmfs.LMS_ConeFundamentals object at 0x7fa03e5fdb90>, u'Wright & Guild 1931 2 Degree RGB CMFs': <colour.colorimetry.cmfs.RGB_ColourMatchingFunctions object at 0x7fa03e5fdfd0>, u'CIE 2012 2 Degree Standard Observer': <colour.colorimetry.cmfs.XYZ_ColourMatchingFunctions object at 0x7fa03e60a790>, u'Stiles & Burch 1959 10 Degree RGB CMFs': <colour.colorimetry.cmfs.RGB_ColourMatchingFunctions object at 0x7fa03e60a210>, u'cie_2_1931': <colour.colorimetry.cmfs.XYZ_ColourMatchingFunctions object at 0x7fa03e60a590>, u'CIE 1964 10 Degree Standard Observer': <colour.colorimetry.cmfs.XYZ_ColourMatchingFunctions object at 0x7fa03e60a5d0>, u'Stiles & Burch 1955 2 Degree RGB CMFs': <colour.colorimetry.cmfs.RGB_ColourMatchingFunctions object at 0x7fa03e60a050>})¶ Aggregated colour matching functions.
- CMFS : CaseInsensitiveMapping
- {‘Stockman & Sharpe 10 Degree Cone Fundamentals’, ‘Stockman & Sharpe 2 Degree Cone Fundamentals’, ‘Wright & Guild 1931 2 Degree RGB CMFs’, ‘Stiles & Burch 1955 2 Degree RGB CMFs’, ‘Stiles & Burch 1959 10 Degree RGB CMFs’, ‘CIE 1931 2 Degree Standard Observer’, ‘CIE 1964 10 Degree Standard Observer’, ‘CIE 2012 2 Degree Standard Observer’, ‘CIE 2012 10 Degree Standard Observer’}