colour.CorrespondingColourDataset#
- class colour.CorrespondingColourDataset(name, XYZ_r, XYZ_t, XYZ_cr, XYZ_ct, Y_r, Y_t, B_r, B_t, metadata)[source]#
Define a corresponding colour dataset.
- Parameters:
name – Corresponding colour dataset name.
XYZ_r – CIE XYZ tristimulus values of the reference illuminant.
XYZ_t – CIE XYZ tristimulus values of the test illuminant.
XYZ_cr – Corresponding CIE XYZ tristimulus values under the reference illuminant.
XYZ_ct – Corresponding CIE XYZ tristimulus values under the test illuminant.
Y_r – Reference white luminance \(Y_r\) in \(cd/m^2\).
Y_t – Test white luminance \(Y_t\) in \(cd/m^2\).
B_r – Luminance factor \(B_r\) of reference achromatic background as percentage.
B_t – Luminance factor \(B_t\) of test achromatic background as percentage.
metadata – Dataset metadata.
Notes
This class is compatible with Luo and Rhodes (1999) Corresponding-Colour Datasets datasets.
References
[LR99]
Create new instance of CorrespondingColourDataset(name, XYZ_r, XYZ_t, XYZ_cr, XYZ_ct, Y_r, Y_t, B_r, B_t, metadata)
- __init__()#
Methods
__init__()count(value, /)Return number of occurrences of value.
index(value[, start, stop])Return first index of value.
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