I have simulated real index of refraction as a function of energy for a waveguide. How can I obtain maximum real index of refraction using "extract" statement? I have examined some statements such as:
extract name="nmax" max(curve(energy, refr.real))
but it does not work. Does anyone know what is the correct statement?