[argyllcms] Re: Logfile precision limited?

  • From: Graeme Gill <graeme@xxxxxxxxxxxxx>
  • To: argyllcms@xxxxxxxxxxxxx
  • Date: Thu, 11 Apr 2019 09:55:24 +1000

Christopher Birkett wrote:

I have one other question about the logging. The ambient spectrum files have 
whole numbers
for the wavelengths (e.g. SPEC_647), but the previous logfile option used to 
just evenly
divide the range by the number of measurements and give decimals (e.g. 
646.666667). It
doesn't really make any difference but I'm curious which one is actually 
correct.

Hi,
        the "SPEC_XXX" are just field identifiers, and XXX is the actual 
wavelength
rounded to an integer. The actual wavelength is computed from the 
SPECTRAL_BANDS,
SPECTRAL_START_NM and SPECTRAL_END_NM values. (I don't think any of this has 
changed
since the last release.)

Cheers,
        Graeme Gill.

Other related posts: