colour.CorrespondingColourDataset¶
-
class
colour.CorrespondingColourDataset[source]¶ Defines a corresponding colour dataset.
- Parameters
name (unicode) – Corresponding colour dataset name.
XYZ_r (array_like) – CIE XYZ tristimulus values of the reference illuminant.
XYZ_t (array_like) – CIE XYZ tristimulus values of the test illuminant.
XYZ_cr (array_like) – Corresponding CIE XYZ tristimulus values under the reference illuminant.
XYZ_ct (array_like) – Corresponding CIE XYZ tristimulus values under the test illuminant.
Y_r (numeric) – Reference white luminance \(Y_r\) in \(cd/m^2\).
Y_t (numeric) – Test white luminance \(Y_t\) in \(cd/m^2\).
B_r (numeric) – Luminance factor \(B_r\) of reference achromatic background as percentage.
B_t (numeric) – Luminance factor \(B_t\) of test achromatic background as percentage.
metadata (dict) – Dataset metadata.
Notes
This class is compatible with Luo and Rhodes (1999) Corresponding-Colour Datasets datasets.
References
Create new instance of CorrespondingColourDataset(name, XYZ_r, XYZ_t, XYZ_cr, XYZ_ct, Y_r, Y_t, B_r, B_t, metadata)
-
__init__()¶ Initialize self. See help(type(self)) for accurate signature.
Methods
Initialize self.
count(value)index(value, [start, [stop]])Raises ValueError if the value is not present.
Attributes
B_rAlias for field number 7
B_tAlias for field number 8
XYZ_crAlias for field number 3
XYZ_ctAlias for field number 4
XYZ_rAlias for field number 1
XYZ_tAlias for field number 2
Y_rAlias for field number 5
Y_tAlias for field number 6
metadataAlias for field number 9
nameAlias for field number 0