Open maxnoe opened 5 years ago
I can see that XYZ100_to_CIECAM02
has a kwarg on_negative_A
, but cspace_convert
seems not to expose this.
Unfortunately I don't really have bandwidth to devote to this project currently. But if you're able to figure out what's going on and submit a plausible PR for what you need, I'll take a look.
On Wed, Aug 14, 2019, 08:26 Maximilian Nöthe notifications@github.com wrote:
I can see that XYZ100_to_CIECAM02 has a kwarg on_negative_A, but cspace_convert seems not to expose this.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/njsmith/colorspacious/issues/19?email_source=notifications&email_token=AAEU42ECVDDNUPBBK43AFUTQEQPZZA5CNFSM4ILWDWX2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4JFG4Q#issuecomment-521294706, or mute the thread https://github.com/notifications/unsubscribe-auth/AAEU42CDQT3LUMOOS356OFLQEQPZZANCNFSM4ILWDWXQ .
The problem is that RGB in l 183 is [nan nan nan]. Is that expected, so [nan nan nan] should also be returned here, or not?
I wanted to plot the xy gamut so I created a meshgrid from 0 to 1, but colorspacious raises an IndexError for [0, 0, 0.5]:
For rather small values, it raises a different, more telling error: