-
I am trying to calculate the CIE x and y values for 2° or 10° of a given illuminant (for example D65 or A). I am sure there is some easy way to do this. I have found I also tried: D65_illuminant = color.SDS_ILLUMINANTS["D65"]
two_degree_cmfs = color.MSDS_CMFS["CIE 1931 2 Degree Standard Observer"]
D65_XYZ = color.sd_to_XYZ(D65_illuminant, two_degree_cmfs, D65_illuminant)
D65_xy = color.XYZ_to_xy(D65_XYZ) which returns |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Nevermind, shortly after posting my question I found the solution by using color.CCS_ILLUMINANTS['CIE 1931 2 Degree Standard Observer']['D65'] which returns |
Beta Was this translation helpful? Give feedback.
Nevermind, shortly after posting my question I found the solution by using
colour.CCS_ILLUMINANTS
. For example:which returns
array([ 0.3127, 0.329 ])
.