# determine normalized intensity distribution

Member Posts: 21

Hello,

in the metalens example (Metalens - Zemax Interoperability – Lumerical Support). I set the wavelength of the plane wave source of the full metalens to be at (start wavelength =400nm and stop wavelength=700nm) instead of (start wavelength=stop wavelength=660). Also, I set the field settings (min wavelength=400nm and max wavelength=700nm).

Now. after running the simulation ...... I want to determine the normalized intensity distribution at (x-y cross-section & and x-z cross-section), and the normalized intensity profile of the focal spot at the specific wavelengths in that region at (405nm, 532nm, and 660nm). How can I extract the normalized intensity distributions and normalized intensity profile of the focal spot at those wavelengths after running the simulation?

My first question: Can you give me clarification steps with photos or scripts???

My second question: How can I make the maximum value in the normalized intensity distribution equal to one. please note the last 3 photos.

I attached some photos for clarifications

I have sent these questions dozens of times and there is no clear answer!!

• Posts: 1Member

Hello,

i am interested in your question. I can NOT download the example from https://support.lumerical.com/hc/en-us/articles/360042097313. Could you send the example to me through email?

My email is phanhuulam.dtvt@gmail.com

Thank you so much!

• Posts: 1,376Ansys Employee

if you only want to get the result at 405nm, 532nm, and 660nm, you can modify the monitor to record those 3 wavelengths:

Please note that the default unit is frequency THz.

Once your monitor has the data for the specific wavelength, you can use

getelectric("monitor")

to get abs(E)^2, and pinch the 4th dimension for the specific wavelength.

after you get the intensity at each wavelength, just divide its max to normalize it.

I suggest that you write your script and post here if there is a problem. You may need to learn some basic script: https://support.lumerical.com/hc/en-us/categories/360001998954-Scripting-Language

• Posts: 1,376Ansys Employee

phanhuulam