ImagingPath.displayWithObject

raytracing.ImagingPath.displayWithObject(self, diameter, z=0, fanAngle=None, fanNumber=3, rayNumber=3, removeBlocked=True, comments=None)

Display the optical system and trace the rays.

Parameters:
  • diameter (float) – Diameter of the object.
  • removeBlocked (bool (Optional)) – If True, the blocked rays are removed (default=False)
  • comments (string) – If comments are included they will be displayed on a graph in the bottom half of the plot. (default=None)