Hello there!
I need to use the DKL color space.
My monitor is gamma-calibrated and I do have a spectrophotometer, although not the PR650.
I am trying to create a conversionMatrix with the function: makeDKL2RGB(nm, powerRGB)
However, I need a clarification on the input format. What should be the format of nm and powerRGB??
My measurements are the following:
nm = 580
powerR = 0.157 uM/cm2/nm
powerG = 0.229 uM/cm2/nm
powerB = 0.005 uM/cm2/nm
But when I try to use them e.g.
nm = np.asarray([580])
powerRGB = np.asarray([0.157, 0.229, 0.005])
or
nm = np.asarray([580])
powerRGB = np.asarray([[0.157],[0.229],[0.005]])
I either get a ValueError (ValueError: shapes (3,1) and (3,) not aligned: 1 (dim 1) != 3 (dim 0))
or a “LinAlgError: singular matrix”.
Can somebody help?
Thanks a lot, in advance.