I am optimizing a system for minimum far-field angular divergence.
In Sequential mode, I can use Afocal mode and set the merit function to optimize for minimum rms (angular) spot radius. After doing so, (or possibly as an optimization operand during optimization, but this is much slower), I am using various Encircled Energy features to report how well I have succeeded, e.g. whether I got 99% of the rays into a certain geometric radius.
(In a related discussion, I participated in a very detailed discussion comparing the various encircled energy plots and how they differ in this previous thread, 'extended source encircled energy,' a few months ago:
)
I would like to check the system I am working on in Non-Sequential mode, but have run into a couple of snags:
(1) There does not appear to be a Non-Sequential Components equivalent to any of the Encircled Energy analysis features that are available in Sequential mode. Or are there? Any DLLs or something somebody could share?
(2) I found a couple of ways to read out an *rms* ANGULAR spot radius using the Detector Rectangle or Detector Polar. Cool. But I would really like to have a '*Geometric* Spot Radius' reported, too, like in the Sequential Spot Diagram analysis windows (which report both), because I'd like to compare to Sequential results in which 'all' (OK, say 99%) the rays are within a certain radial angular range...and compare with an Encircled Energy calculation.
Is there a way to report something like 'Geometric Spot Radius' (especially angular, for my immediate needs) in Non-Sequential mode? I feel like this shouldn't be too hard to calculate...
Thanks in advance, everybody!
-- Greg