Skip to main content
Solved

ray coordinates of EXIT PUPIL

  • November 21, 2022
  • 1 reply
  • 215 views

kivahan75

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?

Best answer by Ethan

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

1 reply

Ethan
En-Lightened
Forum|alt.badge.img+2
  • En-Lightened
  • Answer
  • December 30, 2022

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