ImagingPath.display

raytracing.ImagingPath.display(self, rays=None, raysList=None, removeBlocked=True, comments=None, onlyPrincipalAndAxialRays=None, limitObjectToFieldOfView=None, interactive=True, filePath=None)

Display the optical system and trace the rays.

Parameters:
  • rays (Rays instance)

  • raysList (list of Rays or list of list of Ray)

  • onlyPrincipalAndAxialRays (bool (Optional)) – If True, only the principal rays will appear on the plot (default=True)

  • 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)