ImagingPath.displayWithObject
- raytracing.ImagingPath.displayWithObject(self, diameter, 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.
fanAngle (float (default=None)) – the half angle for the rays. If None, it will be chosen optimally
fanNumber (float (default=3)) – the number of rays originating from a point
rayNumber (float (default=3)) – the number of points on the object from which rays will emerge
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)