Imaginary refractive index to absorption converter

The attached FRED script file will retrieve the imaginary refractive index value for a sampled material type, create corresponding wavelength and absorption coefficient pairs for that material, and set the absorption flag active.  In this implementation the conversion between imaginary refractive index and absorption coefficient includes a scale factor assuming that the system units are in millimeters.  As of FRED v9.110 there is no script command for toggling the interpretation of the absorption values as either internal transmittance or absorption coefficients.  After running the script users should open the material definition and set the physical meaning of the values to be absorption coefficients.

Download the FRED script: convertToAbsorption.frs