We have an exciting announcement about badges coming in May 2025. Until then, we will temporarily stop issuing new badges for course completions and certifications. However, all completions will be recorded and fulfilled after May 2025.

Ansys Learning Forum Forums Discuss Simulation Photonics Issue in 2D colour map data export in matlab Reply To: Issue in 2D colour map data export in matlab

Guilin Sun
Ansys Employee

Yes, obviously.

Lumerical monitor records actually the frequency, not the wavelength by default. So the wavelength is not equi-spaced if you did not specify equi-wavelength. Lumerical script can know it is frequency or wavelengh in plot. However the matlab does not know this. So it assumes the wavelength is equi-spaced. Please either

1: plot in frequency

2: interpolate the result with equi-wavelength spacing before exporting to Matlab, or set to record equi-wavelength in the monitor and redo the sweep. It is better to inteploate the result.