Skip to content

Why are the new object names used to prevent warnings causing "colour.sd_to_XYZ" to fail? #775

Answered by KelSolaar
shirubana asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @shirubana,

I think it is because when you updated your code, you forgot to get the CMFS with the key:

cmfs = colour.colorimetry.MSDS_CMFS_STANDARD_OBSERVER      # equivalent to 'CIE 1931 2 Degree Standard Observer'

should really be:

cmfs = colour.colorimetry.MSDS_CMFS_STANDARD_OBSERVER['CIE 1931 2 Degree Standard Observer']     # equivalent to 'CIE 1931 2 Degree Standard Observer'

Cheers,

Thomas

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by KelSolaar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #773 on February 04, 2021 03:52.