Solved

How to check standard deviation of results from detector viewer

  • 29 November 2021
  • 3 replies
  • 156 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!

icon

Best answer by Ray 29 November 2021, 10:30

View original

3 replies

Userlevel 4
Badge

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).

Userlevel 6
Badge +2

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. 

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