Skip to main content
Solved

Zemax non-sequential: Filter string to distinguish different grating orders


Joachim Z.

Hello,

I have to do straylight analysis of a grating spectrometer.

The grating diffracts into several diffraction orders.

All diffraction orders other than the nominal constitute straylight (i.e. unwanted light).

How can I apply a filter in the ray database that identifies paths for rays diffracted off the grating into a specific order?

Filter strings “Dn” or “En” (N: srf no of diffraction grating) don’t do the trick, since there is no distinction of diffraction order.

Thanks for your insights.

Best answer by Mark.Nicholson

Oooh, that’s a very good point Joachim! There is no direct way to do it. 

The only workarounds I can think of are:

  1. Look at the direction cosines of the diffracted ray:

    This shows the + and -1 diffracted rays

  2. Write a macro that traces rays one diffraction order at a time and look at them separately.

Neither is a great solution 😥

It would be good to implement this capability, as it would be very useful for stray light in diffractive systems, as you say. I don’t know how hard it is, but on the off-chance that a DN/O type filter could be implemented easily (diffracted at object N into order O) it would be a great addition.

  • Mark
View original
Did this topic help you find an answer to your question?

Mark.Nicholson
Luminary
Forum|alt.badge.img+3

Oooh, that’s a very good point Joachim! There is no direct way to do it. 

The only workarounds I can think of are:

  1. Look at the direction cosines of the diffracted ray:

    This shows the + and -1 diffracted rays

  2. Write a macro that traces rays one diffraction order at a time and look at them separately.

Neither is a great solution 😥

It would be good to implement this capability, as it would be very useful for stray light in diffractive systems, as you say. I don’t know how hard it is, but on the off-chance that a DN/O type filter could be implemented easily (diffracted at object N into order O) it would be a great addition.

  • Mark

Forum|alt.badge.img+2

Just as a comment, this is something that our product team is actually working on. 


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