-
Hello, First of all, kudos on the awesome package and great documentation, I'm super impressed on how well it worked and that I was able to figure out a simple routine in 10 minutes to answer one of my research questions. Thanks! I was following the beginning tutorial in readthedocs, and noticed that it still portrays some methods that are being deprecated, so they show warning. However, when updating to use those new methods, then the function sd_to_XYZ fails for me. I am completely noob to this software so I apologize if I'm doing wrong, but here is the documentation: Old method with warnings that works
Updated method that doesn't work
FYI Versions: Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
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 |
Beta Was this translation helpful? Give feedback.
Hi @shirubana,
I think it is because when you updated your code, you forgot to get the CMFS with the key:
should really be:
Cheers,
Thomas