Solved

ray coordinates of EXIT PUPIL

  • 21 November 2022
  • 1 reply
  • 42 views

Userlevel 1

Can I judge that the ray coordinates of EXIT PUPIL from the Ray Tracing command in Zemax have all three information: Lens DistorStion, Ralative Illumination, and PSF?

icon

Best answer by Ethan 30 December 2022, 02:41

View original

1 reply

Userlevel 2
Badge +2

Hi @kivahan75,

The RAYTRACE command is meant to trace a single ray through the current system. From that command, you can extract information about intercept coordinates and direction cosines, using RAYX, RAYY, RAYZ, RAYL, RAYM, RAYN, etc.

In order to extract information like PSF, Distortion, or Relative Illumination from your system, you can simply call the relevant merit function operands:

PSF - CEHX, CEHY, STRH, etc.
Distortion - DISC, DISG, etc.
Relative Illumination - RELI

I hope this helps with your ZPL macro!

Best,
Ethan

Reply