I have generated a csv file for baboon spectral sensitivities that matches the format of the “Human 400-700.csv” file. I uploaded it to plugins > Cone Mapping > Receptors , and the new option (Papio 400-700) does show up as a Receptors option when I select micaToolbox > Camera Calibration > Generate Cone Mapping Model from Spectral Sensitivities.
However, I am getting an error message when I try to run this with the following selections:
Sony A7 28 to 70mm 400-700; D65 400-700; Papio 400-700; D65 400-700; Nautral Spectra 400-700; Interaction Levels = 3; Polynomial Level =1
The error message it returns is: Index (302) out of 0-301 range in line 187: cameraSensitivity [ ( j * sBins ) + i ] = parseFloat ( taa [ i + 1 <]> ) ;
I am not sure how to fix this error. Any ideas of where I’m going wrong here? Thank you for your help!
First, is the file format correct? It needs to be a comma-delineated .CSV file (not tab-delineated, as Excel sometimes makes the default). If in doubt, try opening the .csv files in a simple text editor and check the formats all look the same between your file and the existing files.
This error message might mean the rows are of different lengths – make sure the wavelength range and sensitivities are all exactly the same length.
Also try using the default settings for creating the polynomial model first.