We’re putting the final touches on our new badges platform. Badge issuance remains temporarily paused, but all completions are being recorded and will be fulfilled once the platform is live. Thank you for your patience.

Ansys Learning Forum Forums Discuss Simulation Photonics The wavelength values are different Reply To: The wavelength values are different

Afroditi Petropoulou
Ansys Employee

Hello,

Is the example that you are using the SWG_bandstructure.fsp and the associated SWG_analyze_bandstructure.lsf script file?

If yes, as you can see in line 31 of the script file, the w_high_res parameter is calculated using the polynomial fit calculated in line 25. The wavelength is then calculated using this w_high_res parameter.

Different results can give different fits and hence different w_high_res and wavelengths. 

Since you cannot avoid the polynomial fit, unless you create a new workflow, the easiest way to get effective index results at the same wavelengths would be probably by interpolating the data using the interp - script command. You can try to check if the data are interpolated properly.

 

Best Regards,

Afroditi