Hello there again friends from the Zemax community,
I am using the Batch Ray Trace tool from python via the ZOS-API.
In general this works for me. However now, I want to model the propagation of a full vectorial field distribution.
When reading the documentation, it seems that I can do this using the Polarization option for the TraceNSCData case in the non-sequential mode or by using RayTraceNormPolData in the sequential mode case.
However, from the documentation, I see the following:
Note that the input intensity is always assumed to be equal to 1.0. So the e-field magnitude (if used) should also be 1.0.
What if my input field distribution does not correspond to the case of a source with uniform intensity (each ray with an intensity of one). I have been able to model such a angle varying source via a Source file, however I would like to do the same via the Batch Ray Trace tool by setting the field components (ex, ey and ez) directly from python.
Can this be done? Is this something achievable?