Skip to main content
Solved

How to check standard deviation of results from detector viewer

  • November 29, 2021
  • 3 replies
  • 188 views

Hello! I am trying to find the uniformity of light (from the incoherent illumination) of the detector viewer. Is there a way to find it (i.e quick method to check standard deviation between all the points/pixels of the detector)?

Thank you very much!

Best answer by Ray

Hi Xin Soh,

Assuming your distribution is not affected by pixel noise (that is, you have traced enough rays), you can use NSDD operand in the merit function to return the standard deviation.

Look for “NSC Operands” page in the help. It contains a table of what values to use for the Pix# and Data#. In you case, Pix# should be -4, and Data# can be 0 or 1.

You can also access this data in ZPL scripts using NSDD function, and in extensions with NSCDetectorData command (use of extensions are deprecated).

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

3 replies

Forum|alt.badge.img
  • Ultraviolet
  • 99 replies
  • Answer
  • November 29, 2021

Hi Xin Soh,

Assuming your distribution is not affected by pixel noise (that is, you have traced enough rays), you can use NSDD operand in the merit function to return the standard deviation.

Look for “NSC Operands” page in the help. It contains a table of what values to use for the Pix# and Data#. In you case, Pix# should be -4, and Data# can be 0 or 1.

You can also access this data in ZPL scripts using NSDD function, and in extensions with NSCDetectorData command (use of extensions are deprecated).


Allie
Zemax Staff
Forum|alt.badge.img+2
  • Zemax Staff
  • 337 replies
  • December 1, 2021

Thanks Ray! 

@Kai Xin.Soh - to add on to what Ray said, you can see an example of uniformity analysis in the Knowledgebase article “Using the OpticStudio Non-Sequential Optimization Wizards”. The section Projector example builds a Merit Function around spatial uniformity on the detector. 


  • Author
  • Infrared
  • 6 replies
  • December 2, 2021

Hi Ray and Allie, Thanks for your help!

Sorry to bother you again @Ray, after I set up the merit function, I can’t run it since I don’t have a variable. So what must I do to get the Standard Deviation value? Am I suppose to run a Universal Plot?Sorry if it seems obvious, I am not very familiar with the software. 


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