Thank you very much for the reply, Sir!

I've learned how to optimize multiple parameters (w1, w2, and theta) to achieve either high or low transmission coefficients for our problem. Now, I'm working on creating a meta-atom library consisting of 9 meta-atoms with nearly same transmission coefficients and phase values ranging from 0 to 2*pi, varying with different values of w1, w2, and theta.

In the metalens examples provided on the Ansys Lumerical website, variations in phase shift are observed when the unit cell's dimension, such as radius, is varied. I used a particle swarm optimization algorithm to determine appropriate dimensions for achieving nearly identical transmission coefficients and phase values ranging from 0 to 2*pi. However, my situation is more complex as it involves varying multiple dimensions simultaneously.

My question is: How can I save the phase values corresponding to each set of dimensions? Is it possible to concatenate all 9 sweep results and have the phase values together?

Hope,I conveyed my question properly.

Looking forward to your reply! I really appreciate any help you can provide.