oasys-kit / ShadowOui

10 stars 8 forks source link

Transfocator cylindrical (1D) lenses show 2D masking #229

Open ja3168 opened 2 years ago

ja3168 commented 2 years ago

I have another issue with the transfocator, which I will post separately as I assume you like to keep one issue per post.

When setting Cylindrical=Yes and Cylinder Angle=0 (Meridional) for vertical-only focusing with the lenses in my CRLs, I expect to see a beam profile which is uniform along X. However, it looks like a circular mask is being applied to the rays in the CRL, regardless of whether the profile is cylindrical or 2D paraboloid. Please see comparison below:

transfocator - cylindrical

transfocator - paraboloid

The intensity distribution within the circle looks correct for the 1D vs. 2D cases, and I assume the circle represents an outer limit where transmission becomes ~0 in the thick edge of the 2D paraboloid lens, but I don't think the same circular cutoff should be applied in the cylindrical case.