ZMXReader.surfaceInfoΒΆ
-
raytracing.ZMXReader.surfaceInfo(self, index) Make sense of rawSurfaceInfo from the Zemax file to put it together into a Surface-namedtuple that makes more sense.
- We figure out the material and replace it with Raytracing Material subclass.
- We convert CURV into a radius.
- We use DIAM as the diameter of the element. For some reason DIAM is half the diameter.
- The distance to the next interface is read as well.
Returns: Return type: A Surface Named-tuple.