Skip to main content
Solved

ray coordinates of EXIT PUPIL

  • Nov 21, 2022 10:17 AM UTC
  • 1 reply
  • 311 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

View original

1 reply

Ethan
En-Lightened
Forum|alt.badge.img+2
  • En-Lightened
  • Answer
  • Dec 30, 2022 1:41 AM UTC

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