Skip to main content

A way to get the direction cosine of a diffracted ray in non-sequential mode

  • February 1, 2024
  • 1 reply
  • 73 views

yuan.chen
Zemax Staff
Forum|alt.badge.img+3

Below I demonstrate how it works for built-in RCWA dll but it could expand to other diffraction mode. The trick was shared by Yihua using NSRA with only one order observed in one configuration.

For built-in RCWA surface, the trick is to use the parameter "only these orders", this is explained in detail in the KBA. Simulating diffraction efficiency of surface-relief grating using the RCWA method – Knowledgebase (zemax.com)


We can check if the parameter has been set correctly in the 3D layout to see if there is only the order that we want to observe.
Then we are interested in the last segment of the ray, so we use the NSRA to see the direction cosine of the last segment. 
The direction cosine can be read by NSRA 4-6. 


 

Did this topic help you find an answer to your question?

1 reply

yuan.chen
Zemax Staff
Forum|alt.badge.img+3
  • Author
  • Zemax Staff
  • 275 replies
  • February 1, 2024

A sample file for your reference


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings