-
-
Notifications
You must be signed in to change notification settings - Fork 263
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PR: Implement "colour.chromatic_adaptation" convenient definition that transforms "CIE XYZ" tristimulus values from one viewing condition to another. #124
Conversation
…ansforms "CIE XYZ" tristimulus values from one viewing condition to another. Closes #123.
…ptation" definition signatures.
XYZ_wr : array_like, (3,) | ||
Target viewing condition *CIE XYZ* colourspace whitepoint matrix. | ||
method : unicode, optional | ||
('XYZ Scaling', 'Von Kries', 'Bradford', 'Sharp', 'Fairchild, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(Nitpicking level: extreme) This slightly deviates from the numpy documentation standard for parameters that only can assume fixed values. (Curly braces and default value first in sequence)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ouch! This one is nasty because it implies I'll have to fix all thoses in the API! :] Good catch!
Everything else looks fine to me. |
Great! I will merge the PR and fix the curly braces / default value issue in the v0.3.3 branch for the whole API. |
PR: Implement "colour.chromatic_adaptation" convenient definition that transforms "CIE XYZ" tristimulus values from one viewing condition to another.
References #123.