Is the order of the input of the refractive index and the absorption length important? I.e., do they need to be put in with increasing energy or does an input with decreasing energy also work ?
I don’t know. The code doesn’t look like it assumes any ordering, but I’ve never tried to add values not in order of increasing energy. Try it and let us know.