[argyllcms] Re: How to create .sp files with an i1 Pro?

On 2007 Sep 3, at 5:04 PM, Graeme Gill wrote:

Ben Goren wrote:

>> I'd like to play with using my i1 to create an .sp file to feed
>> to profile as a  custom illumination spectrum. I'm guessing I'd
>> use spotread  -a to  make the measurement...but  how then  do I
>> translate that into the proper format?
>
> If you fit the i1's ambient "filter" and use:
>
>   spotread -s -a -H readings.txt
>
> You'll  find  that readings.txt  is  setup  reasonably well  for
> cutting  and  pasting  into  an  existing  .sp  file  (not  very
> automatic I know, but I didn't  want to deal with letting people
> choose which reading they wanted to use in spotread).

So,  I  finally  got  a  chance   to  play  around  with  it  this
evening. I  think I'm  pretty  close...but  I'm obviously  missing
something. Attached are both the .txt  output from spotread and my
attempt at  turning it  into a  .sp file. When I  try to  create a
profile with it, I get:

    profile: Error - Input file doesn't contain field SPEC_357

Sure  enough, it  doesn't  contain any  such  field. In fact,  the
string, ``357,'' is nowhere to be found in the file...which has me
quite puzzled.

So...what'm I missing?

Thanks,

b&

Reading X       Y       Z       L*      a*      b*      350.000000      
353.333333      356.666667      360.000000      363.333333      366.666667      
370.000000      373.333333      376.666667      380.000000      383.333333      
386.666667      390.000000      393.333333      396.666667      400.000000      
403.333333      406.666667      410.000000      413.333333      416.666667      
420.000000      423.333333      426.666667      430.000000      433.333333      
436.666667      440.000000      443.333333      446.666667      450.000000      
453.333333      456.666667      460.000000      463.333333      466.666667      
470.000000      473.333333      476.666667      480.000000      483.333333      
486.666667      490.000000      493.333333      496.666667      500.000000      
503.333333      506.666667      510.000000      513.333333      516.666667      
520.000000      523.333333      526.666667      530.000000      533.333333      
536.666667      540.000000      543.333333      546.666667      550.000000      
553.333333      556.666667      560.000000      563.333333      566.666667      
570.000000      573.333333      576.666667      580.000000      583.333333      
586.666667      590.000000      593.333333      596.666667      600.000000      
603.333333      606.666667      610.000000      613.333333      616.666667      
620.000000      623.333333      626.666667      630.000000      633.333333      
636.666667      640.000000      643.333333      646.666667      650.000000      
653.333333      656.666667      660.000000      663.333333      666.666667      
670.000000      673.333333      676.666667      680.000000      683.333333      
686.666667      690.000000      693.333333      696.666667      700.000000      
703.333333      706.666667      710.000000      713.333333      716.666667      
720.000000      723.333333      726.666667      730.000000      733.333333      
736.666667      740.000000      743.333333      746.666667      750.000000
1       156.867030      134.840195      26.396630       112.153689      
35.677759       84.156855         -1.790          -1.023          -1.082        
  -0.035           0.947           0.629          -0.202           0.013        
   1.631           0.429          -0.257           0.086          -0.152        
  -0.488           1.712          10.576          24.966          31.757        
  19.679           5.742           0.845           0.517           0.812        
   3.533          27.976          78.483         114.139          88.601        
  29.154           5.347           2.867           4.626           4.308        
   3.542           3.500           4.058           4.264           4.100        
   6.683          16.777          38.818          66.089          79.718        
  72.965          54.285          34.140          18.403           8.976        
   5.018           3.858           3.049           2.369           2.592        
   3.192           8.537          24.136          85.075         231.522        
 415.298         494.162         378.720         189.244          70.875        
  27.856          12.822           8.701          12.738          32.686        
  74.574         124.494         158.830         169.620         168.003        
 147.111         120.709         100.224         112.836         274.038        
 568.222         756.286         596.117         297.922         170.934        
 160.219         157.467         125.968          71.483          34.325        
  27.492          32.895          41.739          43.080          34.321        
  27.691          27.798          26.514          21.069          16.906        
  15.198          15.602          17.996          23.586          28.527        
  26.756          19.024          15.949          33.772          73.589        
 101.077          80.591          36.666           8.196           3.197        
   4.791           5.747          -0.511           4.549          11.192        
  13.739          12.795           4.566

Other related posts: