Ansys Learning Forum Forums Discuss Simulation Photonics How to convert energy in terms of wavelength Reply To: How to convert energy in terms of wavelength

Guilin Sun
Ansys Employee

You want to know how to convert wavelength to energy? it is inside the analysis group:

sigma.addparameter("lambda",c/f,"f",f, "energy", h*f/e);

where e and h are reserved constants in Lumerical:

e is the charge;

h is the Plank constant.

 

energy=f*h/e=(c/lambda)*h/e